Case Converter

Case Converter

Convert text to UPPER CASE, lower case, camelCase, PascalCase, snake_case, kebab-case and more — instantly in your browser.

Updated March 2026

Input Text
0 characters
Shift + Enter to Copy · Shift + for formats
Converted Result
words
0
characters
0
Format
Sentence case

How to Convert Text Case

Convert to any format in one click

1. Paste or type your text

Into the input box — works with multiple lines.

2. Click a format

UPPERCASE, camelCase, snake_case, or any of the 10 supported case styles.

3. Copy the result

Click Copy or press `Shift+Enter`. Use `Shift+←/→` to cycle through formats without the mouse.

What This Case Converter Does

10 case styles, automatic input detection

camelCase and PascalCase

Standard in JavaScript, TypeScript, Java, and C# — variables/functions vs. classes/components.

snake_case and CONSTANT_CASE

Convention in Python, Ruby, and databases; CONSTANT_CASE for environment variables.

kebab-case

Standard for HTML attributes, CSS classes, URL slugs, and command-line flags.

dot.case

Config keys, Java packages, and logging frameworks.

Automatic detection

helloWorld is already recognized as camelCase — no need to split words manually first.

100% in your browser

No text is ever sent to a server during conversion.

Examples

Input
Format → Output
user_first_name
camelCase → userFirstName
How To Use React Hooks
kebab-case → how-to-use-react-hooks
database connection string
CONSTANT_CASE → DATABASE_CONNECTION_STRING
helloWorld
snake_case → hello_world

When You'll Need This

The most common scenarios among people who use this tool

Renaming variables across languages

Porting Python to JavaScript: convert user_first_name to userFirstName in bulk.

Generating URL slugs

Convert a post title to kebab-case for a clean, readable URL.

Creating environment variables

Turn plain descriptions into ready-to-use CONSTANT_CASE for .env files or a secrets manager.

Fixing capitalization in documents

Text typed in ALL CAPS by mistake, or applying Title Case consistently across headings.

Common Mistakes

Confusing camelCase with PascalCase

The only difference is the first letter: lowercase in camelCase, uppercase in PascalCase.

Expecting editorial rules from Title Case

It capitalizes every word without skipping short prepositions — manual review is still needed for strict style-guide title case.

Expecting special characters in programmatic formats

!, @, # are stripped when converting to camelCase or snake_case, since identifiers can't contain them.

Why Use This Case Converter

It automatically detects and splits input that's already in camelCase, PascalCase, snake_case, kebab-case, or dot.case before converting — no need to separate the words manually first.

10 formats cover nearly every programming ecosystem, running entirely in your browser with no code ever sent to a server.

Frequently Asked Questions

Yes. It automatically detects and splits input written in camelCase, PascalCase, snake_case, kebab-case, and dot.case into individual words before applying the target format.

References

Related Tools