Free tool

Case converter

Fix text typed with caps lock on, turn notes into proper headlines, or convert names for code. Paste your text and choose a case: sentence, title, upper, lower, camelCase, snake_case and more.

  • Writing and code cases
  • Smart title case
  • Undo with one key

Changed your mind? Use undo (Ctrl or Cmd + Z) in the text box to step back. Programming cases convert each line separately.

Free, with no sign-up. The tool runs entirely in your browser: nothing you enter is uploaded or stored on our servers.

How to use it

How it works

  1. 01

    Paste your text

    Anything from a single heading to a long list.

  2. 02

    Choose a case

    Press a button; the text changes in place.

  3. 03

    Copy the result

    Copy it, or undo and try another case.

Which case to use where

  • Sentence case capitalises only the first word and proper nouns. Many style guides now prefer it for headings and interface text because it reads naturally.
  • Title Case capitalises the main words of a heading. It suits book titles, article headlines and formal documents.
  • UPPER CASE works for short labels and acronyms, but long passages in capitals are harder to read.
  • lower case is useful for cleaning up text before applying another case.

How the title case works

The converter capitalises every word except short articles, conjunctions and prepositions such as "a", "and", "of", "on" and "the", unless they are the first or last word of the title or follow a colon. Style guides differ in the details, so check headlines against the guide your organisation uses.

Cases for developers

Case Example Common use
camelCase orderTotal JavaScript variables and functions
PascalCase OrderTotal Classes and components
snake_case order_total Python variables and database columns
kebab-case order-total URLs, file names and CSS classes
CONSTANT_CASE ORDER_TOTAL Constants and environment variables

Code cases are applied line by line, so you can convert a whole list of names at once.

Check names and acronyms

A converter cannot know that "iPhone", "NASA" or "McDonald" have special capitals. After converting, read the text once and fix brand names, acronyms and people's names by hand.

Questions, answered

Yes. Press Ctrl or Cmd + Z in the text box to step back, as many times as you need.

Yes, for alphabets that have upper and lower case, including accented Latin, Greek and Cyrillic letters.

Short words such as and, of and the stay lowercase in the middle of a title, following common style guides.

By the Stegnor team · Updated