Case converter

Transform any string between common letter-case styles in one click. Fix accidental CAPS LOCK, format headings in title case, or turn a phrase into camelCase for JavaScript variables and snake_case for Python. Results appear instantly and stay on your device.

How to convert text case

1. Paste or type the text you want to convert.
2. Choose a target case: uppercase, lowercase, title case, sentence case, camelCase, snake_case, or kebab-case.
3. Copy the converted output from the result area.
4. Try another style on the same input without retyping.

Conversion examples

Fix accidental CAPS LOCK

"HELLO WORLD" → lowercase → "hello world". Useful when you typed an email subject with Caps Lock on.

JavaScript variable name

"user profile page" → camelCase → "userProfilePage". Standard for JS/TS identifiers.

URL slug prep

"My Blog Post Title" → kebab-case → "my-blog-post-title". Pair with the slug generator for final URL-safe slugs.

When to use the case converter

• When you need consistent heading capitalization for a document or CMS.
• When you rename variables or database columns to match code conventions.
• When you fix pasted text that arrived in the wrong case.

Naming conventions in code and APIs

JavaScript and Java favor camelCase for variables and methods (getUserName). Python and Ruby use snake_case (get_user_name). CSS classes and URL paths often use kebab-case (nav-bar-item). Constants in many languages are SCREAMING_SNAKE_CASE (MAX_RETRIES). Matching the convention of your stack prevents review comments and linter warnings.

Frequently asked questions

What is title case?

Title case capitalizes the first letter of major words. Minor words like "a", "the", and "of" often stay lowercase unless they start the string.

How does camelCase handle spaces and punctuation?

Spaces and most punctuation are removed; each word after the first is capitalized. "hello-world test" becomes "helloWorldTest".

What is the difference between snake_case and kebab-case?

snake_case uses underscores (my_variable); kebab-case uses hyphens (my-variable). Kebab-case is common in URLs; snake_case in Python and SQL.

Does it change non-English characters?

Uppercase and lowercase apply to Unicode letters where defined. Characters without a case variant stay unchanged.

Can I convert a whole CSV column?

Paste one value or many lines. Each line is converted independently — useful for batch-renaming list items.