Case Converter
Case Converter changes the capitalisation of any text you paste in. Alongside the basics โ UPPERCASE, lowercase, capitalising each word โ it also shows programming naming styles such as camelCase and snake_case, all at the same time.
All ten conversions appear at once as you type. Multi-line text works too.
Results
Nothing to convert yet โ type in the box above and each row fills in.
- UPPERCASE
- lowercase
- Title Case
- Sentence case
- iNVERTED cASE
- camelCase
- PascalCase
- snake_case
- kebab-case
- CONSTANT_CASE
What is Case Converter?
Type or paste text into the box and ten converted versions appear underneath at once.
You do not pick a conversion first โ you see them all, then choose.
Press Copy next to the one you want and it goes straight to your clipboard!
When a case converter helps
- ๐ Fixing a sentence you typed with Caps Lock on
- ๐ Making headings in a document or slide deck consistent
- ๐ป Rewriting a variable or function name as camelCase or snake_case
- ๐ Building a URL slug in kebab-case
- ๐ Cleaning up inconsistent capitalisation in a list or CSV
- ๐งพ Turning a name into a CONSTANT_CASE identifier
โจ What makes this converter different
- All ten styles at once, with nothing to selectThere is no mode switch. Every conversion is rendered as you type, so you can compare Title Case against Sentence case, or see what a string looks like in snake_case, without clicking back and forth.
- It finds the word boundaries for youWord splitting goes beyond spaces and hyphens: it also picks up the capital letters in camelCase, runs of capitals such as `XMLHttpRequest`, and the point where letters meet digits in `utf8Encoder`. Text already written in one naming style can be pasted straight in and moved to another.
- Multi-line text keeps its shapeText containing line breaks is converted line by line, so the number of lines and the position of every break survive the round trip. Paste a list and the rows still line up.
- Japanese and other scripts pass through intactCharacters with no upper or lower case are left exactly as they are, and only the Latin letters change. Mixed-script headings do not lose or split their non-Latin parts.
- Your text never leaves the browserEvery conversion runs locally in your browser. Nothing you type is sent to our servers or stored on your device, so closing the page leaves nothing behind.
๐ How to use it
- Type into the "Text to convert" box, or paste the text you want to change.
- Ten converted versions appear underneath and update as you type.
- Press the Copy button next to the version you want to put it on your clipboard.
- Press "Clear input" to empty the box and start again.
- Multi-line text is converted line by line, keeping the number of lines and the position of each break.
- For naming styles such as camelCase, words are split on spaces, underscores, hyphens, changes to a capital letter, and boundaries between letters and digits.
- Characters without upper and lower case โ Japanese, for example โ are left unchanged.
- Up to 2,000 characters can be converted at a time.
- Nothing you type is saved; it disappears when you leave the page.
- For the full conditions of use, please see our Terms of Service.
โ Frequently asked questions
- Is the case converter free?
- Yes. There is no account to create and nothing to install. Open the page, type, and the conversions appear immediately.
- Which conversions are available?
- Ten in total: UPPERCASE, lowercase, Title Case, Sentence case and inverted case, plus the naming styles camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. All ten are shown at the same time.
- What is the difference between Title Case and Sentence case?
- Title Case capitalises the first letter of every word (Hello World Example). Sentence case capitalises only the first letter of each line and lowercases the rest (Hello world example). Title Case suits headings; Sentence case suits prose.
- Can I convert several lines at once?
- Yes. Paste text containing line breaks and each line is converted separately, so the line count and the breaks stay exactly where they were.
- Is my text sent anywhere?
- No. The conversion happens entirely in your browser. Nothing is uploaded to our servers and nothing is stored on your device.
- Does it work with Japanese or other non-Latin text?
- Yes. Scripts that have no upper and lower case are passed through unchanged, and only the Latin letters around them are converted.
