Free tool

Case converter

Convert text to UPPER, lower, Title, Sentence, camelCase, snake_case and more.

Loading tool…

How to use the case converter

01

Paste text

Any length.

02

Pick a case

Eight case styles.

03

Copy

One click to copy.

What does each case style do?

StyleExampleTypical use
UPPER CASEHELLO WORLDHeadings, acronyms, emphasis
lower casehello worldNormalising text, email addresses
Title CaseHello WorldTitles and headlines
Sentence caseHello world.Normal writing
camelCasehelloWorldJavaScript variables
snake_casehello_worldPython variables, database columns
kebab-casehello-worldURLs and CSS class names
aLtErNaTiNghElLo WoRlDJokes and memes

A note on title case

This tool capitalises the first letter of every word. Style guides such as AP and Chicago keep short words like “a”, “the” and “of” in lowercase, so you may want to tidy those by hand for a formal headline.

When is case conversion useful?

  • Fixing text that was typed with caps lock on
  • Turning a title into a URL slug with kebab-case
  • Converting column names between snake_case and camelCase
  • Cleaning up lists copied from spreadsheets

Examples

InputStyleResult
the quick brown foxTitle CaseThe Quick Brown Fox
the quick brown foxcamelCasetheQuickBrownFox
the quick brown foxsnake_casethe_quick_brown_fox
the quick brown foxkebab-casethe-quick-brown-fox
don't stopTitle CaseDon't Stop

Which case should I use where?

  • Headlines: Title Case or Sentence case, depending on your style guide
  • Buttons and interface text: Sentence case reads most naturally
  • JavaScript variables: camelCase
  • Python variables and database columns: snake_case
  • File names, URLs and CSS classes: kebab-case, because it avoids spaces
FAQ

Case Converter FAQ

Free, private and browser-based. Your data never leaves your device.

What is title case?

Every major word starts with a capital letter, like a book title.

What is camelCase?

Words joined without spaces, each after the first starting with a capital: myVariableName.

Does the converter keep my line breaks?

UPPER, lower, Title and Sentence case keep your line breaks. camelCase, snake_case and kebab-case treat the whole text as one phrase and join the words, so line breaks are removed.

Does it work with accented letters?

Yes. Accented and non-English letters are handled correctly in every case style, so “café au lait” becomes “caféAuLait” in camelCase.

Can I undo a conversion?

Edit the text or click a different case button. Converting to lower case first, then to the style you want, is the cleanest way to reset messy capitalisation.

Which case is best for URLs?

Use lowercase kebab-case, such as /free-invoice-generator/. Search engines treat hyphens as word separators, while underscores are treated as part of a word.

Can I convert a whole document at once?

Yes. Paste text of any length. Very long documents may take a moment because the conversion runs in your browser.

Related

More text & writing