Skip to content
Toolore

Text Tools

Case Converter

Convert text between eleven case styles — from simply fixing a sentence typed in caps lock to reformatting a phrase as camelCase or snake_case for code. Existing camelCase is split apart correctly before reformatting.

Note

Everything happens in your browser. Nothing you paste is uploaded or stored.

How to use this tool

  1. Paste the text you want to reformat.
  2. Choose the case style from the dropdown.
  3. The result updates immediately. Copy it with the copy button.

Worked examples

Fixing text typed with caps lock on

  1. Paste 'THIS WAS AN ACCIDENT. SO WAS THIS.'
  2. Choose Sentence case

This was an accident. So was this.

Turning a label into a variable name

  1. Paste 'User Email Address'
  2. Choose camelCase

userEmailAddress

Notes and limitations

  • Title case here follows Chicago style: short joining words such as 'of', 'the' and 'with' stay lowercase unless they are the first or last word. AP style would capitalise four-letter prepositions, so results differ from some other tools by design.
  • Sentence case lowercases everything first, so proper nouns lose their capitals and need restoring by hand. There is no reliable way to identify names without a dictionary.
  • Case conversion respects the rules of your language. Turkish dotted and dotless i, for example, are handled by the browser rather than by a naive letter swap.
  • The programming cases split existing camelCase and PascalCase apart first, so converting camelCase to snake_case works as expected.
  • Everything runs in your browser. Your text is never uploaded to a server, which matters when what you are working on is a draft, a client list or anything else you would rather not send anywhere.

Frequently asked questions

What is title case?

A style where most words start with a capital but short joining words do not. This tool follows Chicago style, which keeps prepositions lowercase regardless of length — 'A Room with a View' rather than 'With'.

Why did sentence case remove my capitals from names?

Because it lowercases everything before capitalising each sentence opening, and it has no way to know 'paris' is a place rather than a word. Restore proper nouns by hand afterwards.

What is the difference between camelCase and PascalCase?

Only the first letter. camelCase starts lowercase (userName), PascalCase starts uppercase (UserName). The first is common for variables, the second for class names.

What is kebab-case used for?

URLs, CSS class names and file names. Hyphens are safe in URLs and readable, which is why slugs use them.