JiffyGadgets
All tools / CH 02 · Case Converter

02Case converter

Ten ways to re-case the same text. Pick one and the result appears underneath, ready to copy.

How it works

Straight case changes — upper, lower, title, sentence and alternating — work on the characters as they are. The programming styles work differently: the text is first broken into words, splitting on spaces, punctuation and the boundary inside an existing camelCase word, then rejoined in the chosen style. That means myVariableName, my-variable-name and My Variable Name all convert cleanly into each other.

Common questions

What is the difference between title case and sentence case?

Title case capitalizes the first letter of every word. Sentence case capitalizes only the first letter after each full stop, question mark or exclamation mark, the way ordinary prose is written.

Does title case follow style-guide rules about small words?

No — every word gets a capital, including “and”, “of” and “the”. Publication style guides differ on which small words stay lowercase, so that judgement is left to you.

Will it handle accented characters?

Upper, lower, title and sentence case handle accents correctly. The programming styles strip anything that is not a letter or digit, since identifiers and file names rarely accept accents.

Can I convert a whole document at once?

Yes. Paste as much text as you like — it is all processed locally, so size is limited only by your browser.