Free Case Converter Online – camelCase, snake_case, kebab-case & Title Case | TrenTyx
Convert text between camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, dot.case and eight other formats. Every format is computed at once as you type, line by line if you need it. Nothing leaves your browser.
Naming Conventions and Why They Differ
Almost every language and data format picks its own convention for multi-word identifiers.
JavaScript and Java use camelCase for variables and PascalCase for classes,
Python and Ruby prefer snake_case, CSS and URLs use kebab-case, environment
variables use SCREAMING_SNAKE_CASE, and HTTP headers use Train-Case.
Converting between them by hand is slow and easy to get wrong, especially with acronyms such as
parseHTTPResponse or trailing digits such as utf8Encoder.
This tool splits your text into words first — detecting camel humps, underscores, hyphens, dots, slashes and spaces — then rebuilds it in fourteen conventions at once. You control how acronyms and digit boundaries are treated, and you can convert an entire list line by line in a single pass. Everything runs in JavaScript inside your tab; no text is uploaded.
Common Use Cases
- Porting code between languages — turn a block of Python
snake_casefield names into JavaScriptcamelCasein one paste. - Database and API mapping — convert SQL column names into JSON keys, or the reverse, without hand-editing each row.
- Environment variables — turn a config key such as
apiBaseUrlintoAPI_BASE_URLfor a.envfile or Docker Compose. - Slugs and file names — convert an article title into a clean
kebab-caseURL slug with symbols stripped out. - Copy and headings — fix a heading typed in caps lock with Title Case or Sentence case.
Supported Formats
camelCase,PascalCase,snake_case,SCREAMING_SNAKE_CASE,camel_Snake_Casekebab-case,COBOL-CASE,Train-Case,dot.case,path/caseTitle Case,Sentence case,lowercase,UPPERCASE,aLtErNaTiNg cAsE,iNVERSE cASE
Frequently Asked Questions
How are acronyms like HTTPServer handled?
By default the splitter treats a run of capitals followed by a capital-plus-lowercase as a boundary, so parseHTTPResponse becomes parse http response. Switch acronym handling to "keep intact" and the acronym is preserved as HTTP, giving parse HTTP response in the spaced formats.
Can I convert a whole list at once?
Yes. Leave "Convert each line separately" enabled and paste as many lines as you like — each line is tokenised and rebuilt independently, and the line structure is preserved in the output.
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every word, which suits headings and button labels. Sentence case capitalises only the first word of each line and lowercases the rest, which suits body copy and error messages.
Is my text sent to a server?
No. All tokenising and conversion happens in JavaScript in your browser. There is no upload, no logging and no storage — closing the tab discards everything.