Case converter
Convert text between upper, lower, title, sentence, camel, snake, kebab and other cases.
How it works
Converts text between the cases people actually need: UPPER, lower, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and aLtErNaTiNg.
Title case is the one with genuine disagreement behind it. The style guides differ on which short words stay lowercase — AP capitalises words of four letters or more, Chicago capitalises everything except articles, coordinating conjunctions and prepositions regardless of length. The version here follows the common convention of lowercasing articles, short conjunctions and short prepositions unless they begin or end the title.
The programming cases matter because different ecosystems settled on different conventions: snake_case in Python and Rust, camelCase in JavaScript and Java, PascalCase for types in most languages, kebab-case in CSS and URLs.
This tool runs entirely in your browser. Nothing you enter is sent to a server, logged or stored, and the page keeps working with the network disconnected.
Common questions
- What is the difference between title case and sentence case?
- Title case capitalises most words in a heading; sentence case capitalises only the first word and any proper nouns, as in an ordinary sentence.
- What is camelCase?
- A naming convention with no spaces where each word after the first begins with a capital, as in userName. PascalCase is the same but capitalises the first word too.
Related pages
- Word and character counter Words, characters, sentences, paragraphs and reading time, counted as you type.
- Typing speed test Measure words per minute and accuracy on a one, two or five minute test.
- Remove duplicate lines Strip repeated lines from a list, keeping the first occurrence of each.
- Sort lines alphabetically Sort a list of lines A–Z, Z–A, by length, or numerically.
- JSON formatter and validator Pretty-print, minify and validate JSON, with the exact position of any error.
- Text compare Compare two blocks of text and see which lines were added, removed or changed.
- Regex tester Test a regular expression against sample text, with matches and capture groups shown.
- Remove empty lines Delete blank lines from a block of text, optionally collapsing runs to one.
- Find and replace Replace every occurrence of a string in pasted text, with optional regex.
- Readability checker Flesch Reading Ease and grade level, with sentence length and passive voice flagged.