- Home
- Text tools
- Case Converter
Case Converter
Switch text between upper, lower, title, sentence, camel, snake, and kebab case.
Change text case
Never uploadedYour file is processed in this tab and never sent anywhere.
The ads come from Google. Your files stay on your device.
How to change text case
- Paste your text. Any length.
- Pick a case. Every option previews immediately.
- Copy the result. Or download it as a .txt file.
About Case Converter
Two quite different groups of people need this. Writers have text in the wrong case: a heading typed in caps lock, a title that needs proper capitalisation, a paragraph pasted from a source that shouted. Developers need to move an identifier between the conventions of different languages, where the same name is written camelCase in JavaScript, snake_case in Python, kebab-case in CSS, and PascalCase for a class.
Title case is the option with genuine ambiguity, and it is worth knowing which convention you are getting. Different style guides disagree about which small words stay lowercase, and whether that changes at the start or end of a title. This tool capitalises each word except common articles, conjunctions, and short prepositions, and always capitalises the first and last word, which follows the most widely used convention and is what most people mean by title case.
Sentence case is the one people underestimate. It lowercases everything and then capitalises the first letter of each sentence, which is exactly what you need after pasting a heading that arrived in full caps. It handles abbreviations imperfectly, because distinguishing an abbreviation from a sentence ending is genuinely ambiguous: "e.g." will occasionally trigger a capital where you did not want one.
For the programming cases, word boundaries are detected from spaces, underscores, hyphens, and existing capitalisation, so an identifier in any of the supported conventions converts cleanly into any other. Everything runs in this browser tab, which is worth noting if the text you are reformatting came from somewhere you would rather not paste into a random website.
The conversions
| Case | Example | Typically used for |
|---|---|---|
| UPPERCASE | HELLO WORLD | Emphasis, constants |
| lowercase | hello world | Normalising input |
| Title Case | Hello World | Headings and titles |
| Sentence case | Hello world | Body text and prose |
| camelCase | helloWorld | JavaScript, Java variables |
| PascalCase | HelloWorld | Class names, C# and Go |
| snake_case | hello_world | Python, Ruby, SQL columns |
| kebab-case | hello-world | CSS classes, URLs, filenames |
Case Converter FAQ
Which title case convention does it use?
Each word is capitalised except common articles, conjunctions, and short prepositions, with the first and last word always capitalised. That matches the most widely used style guides.
What is the difference between title case and sentence case?
Title case capitalises most words in a heading. Sentence case capitalises only the first word of each sentence, like ordinary prose.
Can it convert camelCase to snake_case?
Yes. Word boundaries are detected from capitalisation, underscores, hyphens, and spaces, so any supported case converts into any other.
Does it handle abbreviations correctly?
Not perfectly. Distinguishing an abbreviation from the end of a sentence is genuinely ambiguous, so sentence case occasionally capitalises after something like "e.g."
Is there a length limit?
No fixed limit. Very long text may slow the live preview slightly since it runs on your device.
Is my text uploaded?
No. Conversion happens in this browser tab.
Related tools
- Word counter Words, characters, and reading time.
- Find and replace Bulk replace, with regex if you need it.
- Remove duplicates Deduplicate a list, and sort it too.
- Diff checker Compare two texts and see what changed.
- JSON formatter Format, minify, and validate JSON.
- PDF to Text Pull the words out as plain .txt.
