Case converter

Change text to Title Case, sentence case, UPPERCASE, camelCase and more.

Convert to

What it does

Fix text typed with caps lock on, turn a heading into proper Title Case, or rename variables between naming styles. Title Case follows the usual style-guide rule: short words such as “of”, “the” and “and” stay lowercase unless they start the title, follow a colon or end it. Words you capitalised on purpose, like iPhone, NASA or McDonald, are kept as they are in Title and Sentence case, and a lone “i” becomes “I”. For code, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE split words at spaces, punctuation and case changes, so XMLHttpRequest becomes xml_http_request. Each line is converted separately, which lets you rename a whole list of fields at once. Arabic and other scripts without capital letters pass through unchanged.

How to use it

How it works
  1. Type or paste your text into the box.
  2. Pick a style: Sentence case, Title Case, UPPERCASE and lowercase for writing, or camelCase, snake_case, kebab-case and the others for code.
  3. The converted text appears below straight away. Pick another style to compare; your original stays in the box.
  4. Copy the result, download it, or click “Edit this” to keep working on it.

Common uses

  • Rescuing a paragraph that was typed with caps lock on, without retyping it
  • Formatting article headlines, book titles and email subject lines in Title Case
  • Turning database column names into JavaScript property names, or CSS class names into constants
  • Making a list of product names consistent before importing it into a spreadsheet or a shop

Tips

  • Title Case styles differ on words like “with” and “from”. This tool follows AP style: articles, conjunctions and prepositions of three letters or fewer stay lowercase, so “with” and “from” get a capital. Chicago style would lowercase them too.
  • Sentence case can’t know every proper noun. Names already capitalised are kept, but check names that were typed in lowercase.
  • In Turkish and Azerbaijani, i and ı are different letters. Browsers use the general rules here, so check dotted and dotless i after converting Turkish text.

Questions

What’s the difference between Title Case and Capitalize Each Word?

Title Case keeps short words such as “a”, “of” and “the” lowercase in the middle of a title, as newspapers and publishers do. Capitalize Each Word puts a capital on every word, which some product names and labels use.

Will it change my acronyms to lowercase?

Not in Sentence case or Title Case: words like NASA, PDF or iPhone keep their capitals. If a line is mostly capitals, it’s treated as caps lock and lowercased first, since there’s no way to tell its acronyms apart.

How does it split words for camelCase and snake_case?

At spaces, punctuation, underscores and hyphens, and where lowercase meets uppercase. A run of capitals stays together, so getHTMLPage becomes get_html_page and userID becomes user_id.

Is my text sent anywhere?

No. The conversion runs in your browser as you type, and nothing is uploaded or stored.

Related tools

  • Word and character counter

    Count words, characters, sentences and paragraphs as you type, with reading time and limits for X, SMS and meta tags. Counts Arabic correctly.

  • Remove duplicate lines

    Remove duplicate lines from a list or text and keep the original order, or sort it. Ignore case and spaces if you like. Free and private.

  • Compress images

    Shrink image file size without visible quality loss. Private, fast, free.

  • Convert HEIC to JPG

    Convert iPhone HEIC photos to JPG instantly. Files never leave your device.

  • Resize images

    Resize JPG, PNG and WebP images to exact pixel dimensions or by percentage. Keep the aspect ratio, resize in bulk, no upload.

  • Passport & ID photo maker

    Make a passport or ID photo at the right size for the US, UK, Canada and more, plus a 4×6 inch print sheet. Free, private, no upload.