Case Converter
Paste your text, pick a style and get it back in the case you need, from headline capitals to developer naming formats.
- Free
- No sign-up
- Runs in your browser
Convert to
How to use Case Converter
Paste or type your text
Put your text in the top box. It can be a single heading, a paragraph or a whole list of variable names, one per line.
Choose a case style
Tap one of the style buttons. The result below changes straight away, and you can switch styles as often as you like without pasting again.
Copy the result
Press Copy result and paste the converted text where you need it. Your original text stays in the top box if you want to try another style.
Example
Converting one phrase into several styles
Input
the quick brown fox
Result
- Title Case: The Quick Brown Fox
- camelCase: theQuickBrownFox
- snake_case: the_quick_brown_fox
- kebab-case: the-quick-brown-fox
Common uses
Headings and titles
Turn a lowercase draft headline into proper Title Case, where short words like “of” and “the” stay small in the middle of the title.
Fixing text typed with Caps Lock on
If a paragraph came out in capitals by accident, Sentence case brings back normal capitals at the start of each sentence.
Naming things in code
Convert a plain phrase into camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE for variables, file names, CSS classes and URLs.
Cleaning up spreadsheet data
Names and product codes from different sources often use mixed capitals. Converting them to one style makes sorting and matching easier.
Tips for better results
- Title Case follows a common rule of thumb: short joining words stay lowercase unless they come first or last. Style guides differ, so check your publisher's rules for formal work.
- The developer styles split your text at spaces, punctuation and capital letters, so “userProfileName” becomes the words user, profile and name before it is rebuilt.
- Sentence case starts every sentence with a capital but does not know proper names, so names such as London or Tuesday will need a quick manual fix afterwards.
- Convert one line at a time when you need a list of names changed separately, because the developer styles join all words in the box into a single value.
Frequently asked questions
What is the difference between Title Case and Sentence case?
Title Case capitalizes the main words of a heading, while Sentence case capitalizes only the first word of each sentence, the way you would normally write a paragraph.
Which style should I use for variable names?
That depends on the language and the team. JavaScript usually uses camelCase for variables, Python prefers snake_case, CSS uses kebab-case and constants are often written in CONSTANT_CASE.
Does the tool keep my accented letters?
Yes. Letters with accents and characters from other alphabets are converted using the standard rules of your browser, so café becomes CAFÉ in uppercase.
Can I convert a very long text?
Yes, up to 500,000 characters at a time, which is more than enough for long articles. The conversion runs on your own device and your text is not uploaded.
Last updated:
More free tools
- Word CounterCount words, characters, sentences and paragraphs as you type, with an estimated reading time.
- Lorem Ipsum GeneratorGenerate placeholder paragraphs, sentences or words for mockups and page layouts.
- Text Diff CheckerCompare two texts line by line and see exactly what was added, removed or left unchanged.