Text Case Converter
Type or paste your text and every case is converted at the same time, each ready to copy.
- Input
- Text
- Output
- 8 cases
- Processing
- In your browser
- Cost
- Free · no sign-up
Text
The first four keep your text as written. The last four rewrite it into an identifier.
Title Case
LiveSentence formats — your text is preserved exactly.
Identifier formats — punctuation is dropped and the words are rejoined.
Your data is processed locally in your browser and is never sent to Nekhen.
About this tool
Two different kinds of conversion live in this tool, and they behave differently on purpose.
The sentence formats — lowercase, UPPERCASE, Title Case and Sentence case — change letters and nothing else. Every space, line break and punctuation mark survives, because the input is prose and you want your prose back.
The identifier formats — camelCase, PascalCase, snake_case and kebab-case — rewrite the text into a single token. Punctuation is dropped and the words are rejoined by that format’s own separator, because that is what an identifier is. The tool warns you the first time this would discard something.
Steps
How to use it
- Paste your textAll eight conversions run as you type.
- Pick the one you wantIt is shown large at the top, with an explanation of what it does.
- Copy itOr copy any of the other seven straight from the table.
- Chain conversions if you need toUse to input replaces your text with the result, so you can convert again.
Real situations
Common uses
- Turning a page title into a URL slug or a CSS class name
- Renaming a database column to match the naming style a codebase uses
- Fixing a heading that was typed with caps lock on
- Converting a list of labels into variable names for code
Privacy
Files are processed locally in your browser and are never uploaded to Nekhen. Every calculation runs on your own device, so we never receive the contents of your file, never store it and never log it. Closing the tab clears everything from memory. More detail on the privacy page.
Common questions
Frequently asked
Why does Title Case leave some words lowercase?
Because that is what a title looks like. Short joining words — of, the, and, in, to — stay lowercase unless they are the first or last word. Capitalising every word produces a label, not a title.
Where did my punctuation go?
The four identifier formats remove it by definition: a variable name cannot contain a comma or a question mark. The four sentence formats at the top keep your text exactly as written.
How does it split words that are already in another case?
It reads the boundaries the existing format uses, including inside acronyms — so `HTTPServer` becomes `http_server` rather than `https_erver`, and `user_profile_image` becomes `userProfileImage`.
Does it work with accented and non-Latin text?
Yes. Case changes use the browser’s Unicode rules, which know that ß uppercases to SS and that non-cased scripts such as Japanese are left alone. Emoji pass through the sentence formats untouched, and are dropped by the identifier formats along with other punctuation.
Is my text sent anywhere?
No. Every conversion runs in your browser as you type. Nothing is uploaded to Nekhen, and nothing you paste is logged.
More tools