Case Converter

Set your text in any case. Pull a drawer label and the sorts slide out of the type case onto the composing stick: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.

Pull a drawer label to set the line.
Plain copy (select all)

Upper case and lower case are drawers

The names come from this object. A hand compositor kept two shallow drawers of metal type on a slanted rack: the capitals in the upper case, the small letters, spaces and punctuation in the lower case, nearer to hand because they were needed more. The California job case, drawn above, folded both into one drawer of 89 boxes, sized by how often each letter is used (the e box is the biggest) and arranged so the common letters sit in a rough circle under the compositor's right hand. Each letter is picked out of its box and set on a composing stick, one line at a time.

What each drawer label sets

UPPERCASE and lowercase change every letter. Title Case capitalises the first letter of every word; Sentence case capitalises the first letter of each sentence and lowercases the rest. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE are the programmer's cases: the words are split apart (spaces, punctuation and existing camel humps all count as breaks) and joined back with the chosen seam. aLtErNaTiNg flips every other letter and iNVERSE swaps each letter's case. Line breaks are kept; the programmer's cases are applied line by line so a pasted list stays a list.

Title Case or Sentence case?

Title Case is for headings and names: Every Word Capitalised. Sentence case is ordinary prose: a capital at the start of each sentence and after each full stop, question mark or exclamation mark, plus the pronoun I.

How do camelCase and snake_case split words?

On anything that is not a letter or digit, and also inside an existing identifier: helloWorld becomes hello and world, HTMLParser becomes html and parser. Digits stay attached to the word they follow.

Does it keep my punctuation and line breaks?

The plain cases (UPPER, lower, Title, Sentence, aLtErNaTiNg, iNVERSE) keep every character and only change letters. The programmer's cases drop punctuation by design, but keep each line separate.

Is anything uploaded?

No. The whole page runs in your browser and nothing you type leaves it.

California job case · 89 boxesAll tools
Suggest an improvement