Case Converter

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case.

UPPERCASE

Nothing to convert yet.

lowercase

Nothing to convert yet.

Title Case

Nothing to convert yet.

Sentence case

Nothing to convert yet.

camelCase

Nothing to convert yet.

PascalCase

Nothing to convert yet.

snake_case

Nothing to convert yet.

kebab-case

Nothing to convert yet.

How these conversions work

UPPERCASE, lowercase, Title Case, and Sentence case rewrite letters in place with a find-and-replace pass, so every space, line break, and punctuation mark in your original text stays exactly where it was. camelCase, PascalCase, snake_case, and kebab-case work differently: the text is first tokenized into individual words — splitting on whitespace, hyphens, underscores, and casing boundaries — and the words are then rejoined in the target style. That two-step approach is what lets something like some-Input_text convert sensibly instead of producing mangled output.

Frequently asked questions

Why does snake_case or kebab-case look wrong for my input?

Those two conversions first break your text into words — splitting on spaces, hyphens, underscores, and casing boundaries like the transition from "some" to "Input" in "someInput" — then rejoin the words with underscores or hyphens. If the result looks off, it's usually because punctuation you didn't think of as a word boundary (an apostrophe, a slash) got treated as one. Try simplifying the input to see exactly which boundary produced the split you didn't expect.

What's the difference between Title Case and Sentence case?

Title Case capitalizes every word: "the quick brown fox" becomes "The Quick Brown Fox". Sentence case capitalizes only the first letter of each sentence and lowercases the rest: the same input becomes "The quick brown fox." Title Case is for headings and titles; Sentence case is for normal prose.

Does this work on multiple paragraphs at once?

Yes — paste as much text as you like and every conversion runs across the whole thing at once. UPPERCASE, lowercase, Title Case, and Sentence case all preserve your line breaks and paragraph spacing exactly as typed; only the camelCase-style conversions flatten everything into one continuous identifier, since that's what those formats are for.

Is this useful for anything besides code?

Yes — beyond variable and file naming, Title Case and Sentence case are handy for cleaning up headings pasted from somewhere with inconsistent capitalization, and UPPERCASE/lowercase are useful for normalizing data before comparing it. If you specifically need a full URL slug (lowercase, accents stripped, punctuation replaced, optional stopword removal), this site's dedicated URL Slug Generator tool is the better fit than kebab-case here, since it handles accented and non-Latin characters that this tool doesn't attempt to transliterate.

Related tools

Command Palette

Search for a command to run...