PixConvert

Free Case Converter

This free case converter changes text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case as you type. Copy any result with one click.

Type or paste text above to see conversions.

UPPERCASE
—
lowercase
—
Title Case
—
Sentence case
—
camelCase
—
PascalCase
—
snake_case
—
kebab-case
—

How to Convert Text Case

1

Paste or type your text.

Use the box at the top. All eight results appear in the cards below and change with every edit, with no button to press.

2

Find the case you need.

Each card is labeled with its format, such as Title Case for a headline or snake_case for a database column name.

3

Copy the result.

Click Copy on that card to put the converted text on your clipboard, then click Clear to empty the box and start over.

Frequently Asked Questions

Answers about each case, title case rules, numbers, accents and line breaks.

What is camelCase?

camelCase joins words with no spaces, keeps the first word lowercase and starts each later word with a capital. Type background color here and the camelCase card shows backgroundColor. It's the usual style for variable and function names in JavaScript, Java and Swift.

What is the difference between camelCase and PascalCase?

Only the first letter differs. camelCase starts lowercase, as in backgroundColor, and PascalCase starts with a capital, as in BackgroundColor. PascalCase is common for class and component names, and this tool shows both cards side by side so you can copy either one.

When should I use snake_case or kebab-case?

Use snake_case, with underscores, for Python names, Ruby and SQL columns. Use kebab-case, with hyphens, for CSS classes, file names and URL slugs. The converter lowercases every word for both, so background color becomes background_color or background-color.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word, as in The Quick Brown Fox. Sentence case capitalizes only the first word of each sentence, as in The quick brown fox, which matches normal prose. Headlines often use Title Case; app labels and body text use Sentence case.

How do I change uppercase to lowercase without retyping?

Paste the text into the box and copy the lowercase card. For text typed in caps lock, the Sentence case card is often better, since it also capitalizes the start of each sentence. Then fix any names or acronyms by hand.

Does Title Case follow AP or Chicago style?

No. This Title Case capitalizes every word, including short ones like a, of and the, so you get The Lord Of The Rings. It also lowercases the rest of each word, turning NASA into Nasa. Adjust small words and acronyms by hand for AP or Chicago style.

Can I convert camelCase to snake_case?

Not directly. Existing camelCase isn't split at capital letters, so backgroundColor becomes backgroundcolor in snake_case. Add a space or underscore between the words first, as in background Color, and the snake_case card shows background_color. snake_case and kebab-case input do convert.

How does it handle numbers, symbols and accents?

Digits stay in every case, so version 2.0 release becomes version_2_0_release. Symbols and punctuation are dropped from the four code cases. UPPERCASE and lowercase handle accents, but Title Case misses a word that starts with one (élan becomes éLan) and the code cases keep only a to z, so café crème becomes caf_cr_me.

Why are line breaks missing in the result?

The result cards show text as one flowing paragraph, so line breaks and extra spaces look merged on screen. The copied text from UPPERCASE, lowercase, Title Case and Sentence case keeps them. The four code cases always join everything into a single name.

How do I make a URL slug from a title?

Paste the title and copy the kebab-case card. My First Blog Post! becomes my-first-blog-post, with spaces turned into hyphens, letters lowercased and the punctuation removed. An accented letter splits a word, so café becomes caf. Check slugs with accents before you publish.

Does the case converter store my text?

No. Conversion runs in your browser and the text isn't saved, so it's gone when you close the page. On the live site, Google Analytics counts edits and Copy clicks, never the text or which case you picked.

Case Converter: Eight Text Cases in One View

Writing cases and code naming styles side by side, each with its own Copy button, all updated on every edit of your text.

Case converter turning user profile id into eight cases, from USER PROFILE ID to userProfileId and user_profile_id

Convert Text to Eight Cases at Once

Type or paste text and the case converter fills eight cards: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case. Each card has its own Copy button.

  • Eight cases shown side by side
  • One Copy button per result
  • Results refresh on every edit
Try now
Case converter turning background color into backgroundColor, BackgroundColor, background_color and background-color

Turn Phrases Into camelCase and snake_case

Type background color to get backgroundColor, BackgroundColor, background_color and background-color. Spaces, punctuation, underscores and hyphens all mark a word break and are dropped from the result.

  • Converts snake_case and kebab-case input too
  • Digits kept, as in version_2_0_release
  • Symbols and punctuation removed
Try now

Title Case and Sentence Case

Title Case capitalizes the first letter of every word, short words like of and the included. Sentence case capitalizes only the first word of the text and after each period, question mark or exclamation mark.

Fix Text Typed in Caps Lock

Turn ALL CAPS into lowercase or Sentence case, or make a heading all caps. UPPERCASE and lowercase also handle accented letters, so café becomes CAFÉ.

Check Names and Acronyms

Title Case and Sentence case lowercase the rest of each word, so NASA becomes Nasa and iPhone becomes Iphone. Fix names and acronyms by hand after you copy.

Free, Private, No Sign-Up

Convert as much text as you like with no account and no size cap. Your text is converted right in your browser and isn't stored anywhere.

When You Need a Case Converter

Text case matters in code, in content and in data you import.

Software Development

Name variables, functions, classes, CSS classes and database columns in the style your language expects. Type the words with spaces and copy the format you need.

  • camelCase for JavaScript variables and function names
  • snake_case for Python names and SQL column names
  • kebab-case for CSS class names and URL slugs

Content and Copywriting

Put headlines, subheads and button labels into the right case before you publish, without retyping. Paste the line once and copy the version your style guide wants.

  • Title Case for blog headlines and email subjects
  • Sentence case for app labels and help text
  • UPPERCASE for short labels, tags and call-to-action buttons

Data and Spreadsheets

Clean up messy text exports before you import them into a database or spreadsheet. Paste a column, convert it and paste the result back in one go.

  • Turn ALL CAPS legacy exports into readable lowercase
  • Make column headers into snake_case field names
  • Prepare category labels as kebab-case slugs for import