Case Converter

Change text to upper, lower, title, sentence, camel or snake case in one click.

  • Free
  • Runs in your browser
  • No sign up

Private: this tool runs in your browser. Your data is never uploaded.

What is the Case Converter tool?

A case converter is a tool that changes the capitalisation of text, for example from UPPERCASE to lowercase or Title Case. Accidentally typed with Caps Lock on, or need a heading in Title Case? Paste your text and click a button to convert it instantly. Developers can also switch between camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.

How to use the Case Converter tool

  1. Type or paste your text into the Your text box.
  2. Click the case you want, for example Title Case, lowercase or snake_case.
  3. Check the result in the same box; the highlighted button shows the last case you applied.
  4. Click another button to convert again, or edit the text by hand.
  5. Click Copy, or Download .txt to save the text as converted-text.txt.
  6. Click Clear to empty the box and start over.
Case Converter tool on ILoveMyTools

Features

  • UPPERCASE, lowercase, Title Case and Sentence case
  • camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE
  • aLtErNaTiNg and InVeRsE case for fun posts
  • Smart Title Case that keeps small words like "and" and "of" lowercase
  • Copy or download the result

Title Case or Sentence case: what's the difference?

Title Case capitalises the main words of a heading ("The Quick Guide to Writing"), while short words such as a, and, of and the stay lowercase unless they start or end the line. Sentence case only capitalises the first letter of each sentence ("The quick guide to writing"), which many modern websites prefer for readability. In this tool a new sentence starts after a full stop, question mark, exclamation mark or line break, and a standalone "i" is always written as "I". Hyphenated words get a capital on each part in Title Case, so "well-known" becomes "Well-Known".

What are the programming case styles?

camelCase is common for JavaScript variables, PascalCase for class names, snake_case for Python and database columns, kebab-case for URLs and CSS classes, and CONSTANT_CASE for constants and environment variables. Starting from "user first name", the five buttons give userFirstName, UserFirstName, user_first_name, user-first-name and USER_FIRST_NAME.

How the programming cases split words

Before joining words, the converter breaks the text into words at spaces, punctuation and symbols, and also where a lowercase letter or digit is followed by a capital. That means you can convert between styles directly: "XMLHttpRequest" becomes xml_http_request in snake_case, and "order-total" becomes orderTotal in camelCase. Punctuation is dropped, letters and digits are kept, and each line is converted on its own, so you can paste a whole list of field names and turn every line into a separate identifier.

Acronyms and names in Title Case and Sentence case

Title Case and Sentence case lower every letter first and then add capitals where the rule needs them. That fixes text typed in all caps, but it also changes words that should keep their capitals: "NASA" becomes "Nasa" in Title Case, and in Sentence case names such as "Paris" or "SEO" in the middle of a sentence become lowercase. Read the result once and restore acronyms and proper nouns by hand before you publish it.

aLtErNaTiNg and InVeRsE case

aLtErNaTiNg switches between lowercase and uppercase on each letter, starting with lowercase and skipping spaces, digits and punctuation, so the pattern stays even across words. It is mostly used for jokes and social posts. InVeRsE flips every letter: capitals become lowercase and lowercase letters become capitals. That makes it the quickest fix for text typed with Caps Lock on by mistake, because "hELLO wORLD" turns straight back into "Hello World".

Use cases

A few everyday jobs the converter speeds up:

  • Fix an email or document that was typed with Caps Lock on, without retyping it.
  • Turn a list of article titles into consistent Title Case or Sentence case before publishing.
  • Rename spreadsheet headings into snake_case column names for a database import.
  • Turn a page title into a kebab-case URL slug or CSS class name.
  • Convert JSON keys or variable names between camelCase and snake_case when moving code between languages.

Limits and privacy

The conversion runs in your browser with JavaScript, and your text is not sent to a server. Each button replaces the text in the box, so a conversion that lowers capitals cannot be reversed by the tool; keep a copy of the original if you may need it. Text is not saved, so reloading the page empties the box. Title Case uses English small-word rules, so in other languages check which words should stay lowercase. Upper and lower case follow your browser's language settings, which matters for a few letters such as the Turkish dotted and dotless i.

Frequently asked questions

How do I convert uppercase to lowercase?

Paste your text and click "lowercase". Every letter is converted instantly, and you can copy the result with one click.

Does Title Case capitalise every word?

No. It keeps short words lowercase unless they are the first or last word of a line: a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, per, to, up, via and vs.

Why did my acronym lose its capitals?

Title Case and Sentence case lower all letters before capitalising, so acronyms such as NASA or SEO become Nasa or nasa. Fix them by hand after converting.

How do I fix text typed with Caps Lock on?

Click InVeRsE to flip every letter back, or click Sentence case if the whole text was typed in capitals.

Is there a limit on text length?

No practical limit. Conversion happens in your browser, so even long documents convert instantly.

Does it work with accented letters?

Yes. Accented and non-English letters such as é, ü and ñ are converted correctly, and they count as letters when words are split for camelCase or snake_case.

Sources

Read the guide