Text

Case Converter

Convert text between letter cases

Loading interactive tool…

Embed this tool on your site

About this tool

Text case inconsistencies are surprisingly common — a headline pasted from one source arrives in ALL CAPS, a variable name needs to be in camelCase for JavaScript but snake_case for Python, or a heading needs every word capitalized. Case Converter handles these in a paste-and-click workflow. Type or paste your text, then pick one of ten styles: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE and aLtErNaTiNg. The converted text appears in the output panel and keeps updating as you type; click another style to switch, Copy to grab the result, or 'Use result as input' to chain conversions. Title Case capitalizes the first letter of every word, including short words like 'to' and 'the'. The identifier styles split on whitespace only, so punctuation is kept as typed. Your input stays in the editor while you switch styles, and everything runs in your browser.

Why use it

  • 10 Case Styles: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE and aLtErNaTiNg from one row of buttons.

  • One-Click Copy: A single Copy button grabs the converted text without manual selection.

  • Developer-Friendly Identifier Formats: camelCase, PascalCase, snake_case, and kebab-case cover all common variable and file naming conventions across programming languages.

  • Sentence Case: Lowercases the text and capitalizes the first letter at the start and after each '.', '!' or '?' followed by a space.

  • Live Output: After you pick a style, the output updates on every keystroke — no convert button.

  • Works on Any Text Length: From a single word to a multi-paragraph document — all formats handle the full input without truncation.

How to use

  1. Paste or type your source text into the Text box on the left.
  2. Click a style button such as Title Case, camelCase or snake_case; the converted text appears in the output panel.
  3. Keep editing the input — the output updates live in the selected style.
  4. Click another style button to switch formats without re-pasting.
  5. Click Copy to copy the converted text to your clipboard.
  6. Click 'Use result as input' to chain another conversion, or Clear to start over.

When it helps

  • When renaming database columns and needing to toggle between snake_case and camelCase.
  • When formatting blog post titles and checking how they look in Title Case vs Sentence case.
  • When cleaning up pasted ALL CAPS text from legacy documents or PDFs.
  • When generating variable names for multiple programming languages at the same time.
  • When standardizing a list of product names or categories to a consistent case.
  • When turning a short phrase into kebab-case for a CSS class name or file name.

Examples

Variable naming across languages

Input

user profile data

Expected result

camelCase: userProfileData | PascalCase: UserProfileData | snake_case: user_profile_data | kebab-case: user-profile-data

Cleaning up ALL CAPS paste

Input

THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG

Expected result

lower: the quick brown fox jumps over the lazy dog | Title: The Quick Brown Fox Jumps Over The Lazy Dog | Sentence: The quick brown fox jumps over the lazy dog

Blog headline formatting

Input

how to improve your writing speed

Expected result

Title Case: How To Improve Your Writing Speed | Sentence case: How to improve your writing speed | UPPER: HOW TO IMPROVE YOUR WRITING SPEED

Tips

  • Use snake_case output when naming Python variables or SQL columns, and kebab-case when generating CSS class names or URL paths.
  • To title-case a list of names, paste them one per line — each line is processed independently.
  • If you need to preserve specific acronyms like 'API' or 'HTML', convert using Title Case then manually adjust those tokens.
  • PascalCase is the standard for class names in C#, Java, TypeScript, and PHP — use it when naming new classes.
  • Run newsletter subject lines through both Title Case and Sentence case to compare which style fits your brand voice.

Frequently Asked Questions

What is the difference between Title Case and Sentence case?
In this tool, Title Case capitalizes the first letter of every word, including short words like 'to' and 'the', and lowercases the rest. Sentence case lowercases everything, then capitalizes the first letter of the text and the first letter after each period, exclamation mark or question mark followed by a space. Proper nouns are not detected.
Does camelCase remove spaces between words?
Yes. camelCase joins all words, lowercases the first word, and capitalizes the first letter of each subsequent word. 'hello world example' becomes 'helloWorldExample'.
What is the difference between camelCase and PascalCase?
PascalCase (also called UpperCamelCase) capitalizes the very first word as well, giving 'HelloWorldExample'. camelCase leaves the first word lowercase: 'helloWorldExample'.
Does kebab-case replace spaces with hyphens?
Yes. kebab-case lowercases the text and replaces each run of whitespace with a single hyphen. 'My Blog Post' becomes 'my-blog-post'. Underscores and punctuation are left as they are.
Does it handle punctuation in camelCase or snake_case conversions?
No. The identifier styles only split on whitespace, so commas, periods and apostrophes stay in the output: 'Hello, world!' becomes 'hello,World!' in camelCase and 'hello,_world!' in snake_case. Remove punctuation first if you need valid identifiers.
Can I convert a multi-paragraph block of text?
Yes. Sentence case detects sentence boundaries, and UPPER, lower and Title Case keep your line breaks. camelCase and PascalCase join every word of the whole input into one string, while snake_case, kebab-case and SCREAMING_SNAKE also turn line breaks into an underscore or hyphen.
Does it preserve acronyms in Title Case?
No. Title Case lowercases everything after the first letter of each word, so 'API' becomes 'Api'. UPPER CASE keeps acronyms in capitals, and Sentence case lowercases them.
Is there a way to convert just one word while leaving the rest unchanged?
Currently the tool applies the selected case to the entire input. For selective conversion, use the Find & Replace tool with a regex pattern to target specific words.

Explore the category

Glossary

camelCase
A naming convention where words are joined without spaces and each word after the first begins with a capital letter. Common in JavaScript and Java variable names.
PascalCase
Like camelCase but the first word is also capitalized. Used for class names in most object-oriented languages including C#, Java, and TypeScript.
snake_case
Words joined by underscores, all lowercase. The dominant convention in Python identifiers and SQL column names.
kebab-case
Words joined by hyphens, all lowercase. Used in CSS class names, HTML attributes, and URL slugs.
Title Case
A capitalization style where the first letter of each major word is uppercase. Common in English headings and book titles.
Sentence case
Capitalizes only the first letter of the first word in a sentence and proper nouns. Standard for body text and email subjects.
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.

Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.

✓ Free to use✓ No sign-up✓ 500+ possibilities