Boneyard Tools

Case Converter

Paste your text and switch it between nine cases in one click: UPPERCASE, lowercase, Title Case, Sentence case and the programmer favorites camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.

How to change text case

  1. Paste or type your text into the box.
  2. Pick a case such as Title Case, camelCase or snake_case.
  3. Copy the converted text from the result box.

Examples

One phrase, every case

hello world
UPPERCASE: HELLO WORLD, Title: Hello World, camel: helloWorld, snake: hello_world, kebab: hello-world

Frequently asked questions

What does each case mean?

UPPERCASE makes every letter capital and lowercase makes them all small. Title Case capitalizes the first letter of every word. Sentence case capitalizes only the first letter of each sentence. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE join words for code, using capitals, underscores or hyphens to mark word breaks.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word, like a headline: 'The Quick Brown Fox'. Sentence case capitalizes only the first letter of each sentence and leaves the rest lowercase: 'The quick brown fox'.

When should I use camelCase versus snake_case?

Both join words without spaces for identifiers in code. camelCase (firstName) is common in JavaScript and Java, while snake_case (first_name) is common in Python, Ruby and SQL column names. Use whatever your language or team style guide prefers.

Can it convert text that is already in camelCase or snake_case?

Yes. The tool splits words on spaces, hyphens, underscores and capital-letter boundaries, so 'fooBar' or 'background-color' is read as separate words and re-joined in the case you choose.

Does it handle acronyms and numbers?

Yes. Runs of capitals like HTTP are kept together, so 'HTTPServer' becomes 'http_server', and numbers are treated as their own token so they survive the conversion.

Is my text private?

Yes. Conversion runs entirely in your browser and nothing you type is uploaded or stored.

Related tools