Free Case Converter - Transform Text to Camel, Snake & Pascal Case

Transform text across multiple case conventions, clean up excess whitespace, and slugify URLs in one click.

Case Converter & Formatter

Transform case formats, strip whitespace, or clean duplicate lines

Change Text Case
Clean & Format
Words: 16Characters: 96Lines: 1

How to change text case

  1. Paste your text.
  2. Click the case you want. Everything in the box converts.
  3. Copy.

Fix capitalization in one click

Somebody sent you a heading in ALL CAPS. Or you've got a list of field names like "user first name" and the code wants userFirstName. Retyping that is tedious, so paste it here and click a button.

Covers the normal stuff (upper, lower, Title Case, Sentence case) plus camelCase, PascalCase, kebab-case and CONSTANT_CASE for code. There's a whitespace cleanup and a remove-duplicate-lines button too, which is handy when you've pasted a list from a spreadsheet.

Frequently asked questions

Heads up about Title Case

It capitalizes every single word, "and", "of" and "the" included. AP and Chicago style both keep those small words lowercase, so for a proper headline you'll want to fix a couple by hand.

camelCase or PascalCase?

The only difference is the first letter: userName vs UserName. In JavaScript the usual habit is camelCase for variables and functions, PascalCase for classes and React components.

Where would I use kebab-case?

URLs mostly (my-blog-post). Also CSS class names and file names.

Related tools