Skip to content

Case Converter

Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case and more

One click to switch between 11 text cases

Got a variable name in camelCase that needs to be snake_case? Or maybe you accidentally left caps lock on for an entire paragraph? This tool converts text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, and path/case. That covers pretty much every naming convention you’ll run into.

The best part? It’s smart about word boundaries. It’ll detect camelCase transitions, underscores, hyphens, and spaces, so converting myVariableName to my_variable_name just works.

What you get

  • 11 case formats in one place, both programming conventions and standard writing formats
  • Click a button, get your result. Paste, click, copy, done.
  • camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE for developers
  • UPPERCASE, lowercase, Title Case, Sentence case for everyone else
  • One-click clipboard copy
  • Instant results, no loading, no waiting
  • Your text never leaves your browser

Quick walkthrough

Paste your text into the input area. Click whichever format you need. The output shows up immediately below.

So if you type “hello world example” and hit PascalCase, you get HelloWorldExample. Hit snake_case, you get hello_world_example. UPPERCASE gives you HELLO WORLD EXAMPLE. Simple as that.

Where this comes in handy

Look, if you’re switching between JavaScript (camelCase) and Python (snake_case) regularly, you’ll use this more than you’d expect. Same goes for converting JSON field names between frontend and backend conventions.

Title formatting is another big one. Paste your blog post title, click Title Case, and it’s properly capitalized for publication.

Need to create environment variables? Convert your readable setting name to CONSTANT_CASE. Building a URL? Kebab-case. Writing SQL columns? Snake_case.

And honestly, fixing accidental caps lock is probably the most common reason people end up here. Paste the ALL CAPS text, click Sentence case, move on with your day.

Pair this with the Text to Slug tool if you’re generating URL-friendly versions of titles.

FAQ

camelCase vs PascalCase, what’s the difference?

camelCase starts lowercase: myVariableName. It’s the standard in JavaScript and Java. PascalCase starts uppercase: MyVariableName. You’ll see it for class names in C#, TypeScript, and Go struct types.

snake_case or kebab-case?

Depends on where you’re using it. snake_case (underscores) is the Python/Ruby/SQL standard. kebab-case (hyphens) shows up in URLs, CSS class names, and HTML attributes. Just match whatever convention your project uses.

What happens to special characters?

For programming formats like snake_case and kebab-case, special characters get stripped or replaced with the separator. For text formats like UPPERCASE and Title Case, punctuation stays untouched.

Privacy?

All processing happens in your browser. Nothing gets sent anywhere.

case-converter uppercase lowercase camelcase snake-case transform

Related Tools

More in Text Tools