Text Case Converter

Convert any text into eight formats: UPPERCASE, lowercase, Title Case, sentence case, camelCase, PascalCase, snake_case and kebab-case.

All calculations happen locally in your browser. Nothing leaves your device.

Results

How It Works

Naming styles matter: a Python function, a CSS class and a JavaScript variable each expect a different shape. This tool takes whatever you paste — plain prose, an existing identifier, or a mixed-up string — and rewrites it in all eight common shapes at once, so you can pick the right one for your context without counting underscores by hand.

Word splitting
The input is broken into words on spaces, punctuation and case boundaries: 'helloWorld' becomes hello and world, 'my_snake_case' becomes my, snake, case, and 'A Quick Brown Fox' becomes four words. Each format re-joins those words with its own rules.
The text formats
UPPERCASE and lowercase are pure case changes with no other edits. Title Case capitalizes every word, the style used for titles and headings; sentence case capitalizes only the first word, the style used for normal sentences.
The identifier formats
camelCase starts lowercase and joins later words with capitals (myVariableName). PascalCase is the same but every word is capitalized (MyVariableName). snake_case and kebab-case join lowercase words with underscores or hyphens, the conventions of Python file names and URLs/CSS respectively.

Frequently Asked Questions

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

Title Case capitalizes the first letter of every word ('Every Word Starts Uppercase'), which is common in book titles and headlines. Sentence case capitalizes only the first word and proper nouns ('Only the first word starts uppercase'), the standard for normal writing and many style guides.

When should I use snake_case or kebab-case?

snake_case (lowercase words joined by underscores) is common in Python, Ruby and file names in some ecosystems; kebab-case (lowercase words joined by hyphens) is the convention for URLs, CSS class names and many design systems. Pick the style your language or framework already uses for consistency.

How does the converter split words?

It breaks the input into words on spaces, punctuation and case boundaries, so 'helloWorld' becomes hello and world and 'my_snake_case' becomes my, snake, case. Each format then re-joins the words with its own separator and capitalization rules.

Does it change anything other than letter case?

For the simple formats (UPPERCASE, lowercase, Title Case, sentence case) only case changes — your text is untouched otherwise. The identifier formats (camelCase, PascalCase, snake_case, kebab-case) also normalize separators: every non-letter character becomes the style's separator.

Is my text uploaded anywhere?

No. The conversion happens entirely in your browser with a few lines of JavaScript. Nothing is sent to a server, stored or logged — you can safely paste text that would be sensitive to lose.