1. Home
  2. Writing & text tools
  3. Case Converter

Case Converter

Fix text typed with caps lock, format headlines in title case or convert names between programming conventions.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Case Converter

  1. Paste your text.
  2. Click the case you want.
  3. Copy the result.

Features

  • Sentence, Title, UPPER and lower case
  • camelCase, PascalCase, snake_case, kebab-case
  • Alternating and inverse case
  • Keeps line breaks

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Case Converter is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Title Case keeps short words such as “a”, “of”, “the” and “with” in lower case unless they start the text. Check names and acronyms afterwards.

Guide

Fixing capitalization for headlines, documents and code

Capitalization problems come in two flavors. Writers deal with text typed in caps lock, headlines that need consistent title case, or a pasted paragraph in all capitals. Developers need the same name in different conventions: userName in JavaScript, user_name in Python, USER_NAME for a constant, user-name in a URL. Both are one click here, plus a quick check of the words no converter can know about.

For writing: four everyday cases

Case Example Use it for
Sentence case The quarterly report is ready. Body text, headings in many modern style guides, fixing caps lock
Title Case The Lord of the Rings Book and article titles, headlines in traditional style guides
UPPER CASE IMPORTANT NOTICE Short labels, signs, legal headings
lower case email addresses, tags Normalizing lists, tags and usernames

Paste or type your text and click a case. The text changes in place, and Undo brings back the previous version (up to 30 steps), so you can try several.

How title case decides

Title Case capitalizes every word except short articles, conjunctions and prepositions: a, an, the, and, but, or, nor, for, so, yet, of, on, in, at, to, by, up, off, per, via, vs, with, from, into, over, plus as, if, is, en. Those stay lowercase unless they’re the first word, or come right after a colon, period, question mark or exclamation mark. So “a guide to the stars: an introduction” becomes “A Guide to the Stars: An Introduction”.

Style guides disagree on details. Some capitalize is, some capitalize longer prepositions, and APA and Chicago differ. If you follow a specific guide, check the small words against it.

The one thing to check by hand

Title case and sentence case start by making everything lowercase. That makes conversions predictable, but it means names, acronyms and brands lose their capitals:

  • NASA becomes Nasa, iPhone becomes Iphone.
  • In sentence case, place names and people’s names mid-sentence become lowercase, and so does a lone i.

After converting, scan for proper nouns and acronyms and fix them. It usually takes seconds, far less than retyping the paragraph.

For code: naming conventions

Convention Example Typical use
camelCase invoiceTotal JavaScript and Java variables, JSON keys
PascalCase InvoiceTotal Class and component names, C# methods
snake_case invoice_total Python, Ruby, database columns
CONSTANT_CASE INVOICE_TOTAL Constants and environment variables
kebab-case invoice-total URLs, CSS classes, file names
dot.case invoice.total Config keys, translation keys

The converter splits words at spaces, punctuation and existing camelCase boundaries, so invoice total, invoiceTotal, invoice_total and Invoice-Total all convert correctly. Put one name per line to convert a whole list. Letters with accents are kept as they are; for URL slugs that need plain ASCII, use the Slug Generator, which transliterates them.

Just for fun

aLtErNaTiNg and iNVERSE cASE exist mostly for memes and jokes. For eye-catching styled text in social bios, see the Fancy Text Generator.

Your text is converted in the browser and remembered there between visits; it’s never uploaded. To count words or characters afterwards, use the Word Counter.

Who converts text case

  • Office workers fix text that was typed with Caps Lock on, or pasted in all capitals from old systems.
  • Bloggers and editors turn headlines into title case consistently.
  • Developers convert names between camelCase, snake_case, kebab-case and CONSTANT_CASE.
  • Students format references and headings to a required style.
  • Data workers normalize names and categories before removing duplicates or importing data.

A complete example: cleaning a product list for import

A supplier’s list arrives as ORGANIC GREEN TEA 50 BAGS, organic black tea, and so on:

  1. Paste the list and choose Title Case: Organic Green Tea 50 Bags.
  2. Check acronyms and brand names that need special capitals, such as “UK” or “iPhone”, and fix them by hand.
  3. Copy the result into your spreadsheet, or remove repeats first with Remove Duplicate Lines, which can ignore case.

A complete example: naming in code

A field called Customer Billing Address becomes:

Convention Result Typical use
camelCase customerBillingAddress JavaScript variables
PascalCase CustomerBillingAddress Classes, React components
snake_case customer_billing_address Python, database columns
kebab-case customer-billing-address URLs, CSS classes
CONSTANT_CASE CUSTOMER_BILLING_ADDRESS Constants, environment variables

Tips

  • Sentence case and title case lowercase everything first, so check acronyms and proper names afterwards.
  • Undo goes back up to 30 versions if you try several cases in a row.

Checked against the current version of the Case Converter on .

Frequently asked questions

Why did "NASA" become "Nasa"?

Title case and sentence case first make everything lowercase, then capitalize where needed, so acronyms and brand names like iPhone lose their special capitals. Fix those few words by hand after converting. The Undo button brings back the previous version if you need to compare.

Which words stay lowercase in title case?

Short articles, conjunctions and prepositions such as a, an, the, and, but, or, for, of, on, in, to, with and from, unless they're the first word or follow a colon, period, question mark or exclamation mark. Style guides differ slightly, so check yours for words like "is" and "from".

How do I fix text typed with Caps Lock on?

Click Sentence case. It lowercases the text and capitalizes the start of each sentence and line. Then capitalize names, places and the word "I" where needed.

Can I convert a list of variable names at once?

Yes. Put one name per line. The programming cases work line by line, so a column of names in any style becomes a column in the style you choose.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.