Text & dev

Case Converter

Paste text and convert it to any case with one click: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case or aLtErNaTiNg. Copy the result and go. This is a quick fix for a headline you accidentally typed in all caps, a spreadsheet column that needs consistent capitalization, a blog title that should be Title Case, or variable and file names that need camelCase, snake_case or kebab-case for code. Everything runs in your browser — nothing leaves the page — so you can paste sensitive text safely and reformat it in a tap.

Your text

Convert to
Result RABIXAI
Your converted text will appear here. Type something, then pick a case.
Characters0
Words0
Copied ✓

Counts reflect the converted output. camelCase, snake_case and kebab-case strip punctuation between words.

How the case converter works

Each button applies a transformation to your text. The simple cases (upper, lower, alternating) work character-by-character. Title and Sentence case capitalize at word or sentence boundaries. The programr cases — camelCase, snake_case and kebab-case — first split the text into words (on spaces, punctuation and case changes), then rejoin them with the right separator.

What each case does

Title Case → Capitalizes The First Letter Of Each Word camelCase → firstWordLowerRestCapitalizedNoSpaces snake_case → words_joined_with_underscores kebab-case → words-joined-with-hyphens

Programr cases ignore existing separators and rebuild from detected words.

Notes & assumptions

Worked example: cleaning up CSV headers for a Python script

Say you export contacts from a CRM and the spreadsheet headers read "First Name", "Sign Up Date" and "Last Purchase Amount". Your Python script expects snake_case keys. Paste the headers into the box, click snake_case, and you get first_name, sign_up_date and last_purchase_amount, ready to drop into your code. No retyping, no missed underscores, and the word detection handles the spaces for you.

The same one-click flow builds URL slugs. You publish a post titled "How to Write a Cold Email in 2026" and your CMS wants a slug. Paste the title, click kebab-case, and the result is how-to-write-a-cold-email-in-2026. Punctuation that is not allowed in clean URLs gets stripped automatically, so a stray comma or colon in the title never sneaks into the address bar.

Case styles at a glance

Every convention below writes the same three words, "user profile page", a different way. Use the table to pick the right style without second-guessing which community expects what.

The same phrase in seven case styles
StyleExampleWhere it is used
camelCaseuserProfilePageJavaScript and Java variables and functions, JSON keys
PascalCaseUserProfilePageClass names in most languages, React components
snake_caseuser_profile_pagePython variables and functions, Ruby, database columns
kebab-caseuser-profile-pageURL slugs, CSS classes, file names, HTML attributes
SCREAMING_SNAKEUSER_PROFILE_PAGEConstants and environment variables (MAX_RETRIES, API_KEY)
Title CaseUser Profile PageHeadlines, book and article titles, navigation labels
Sentence caseUser profile pageBody text, UI buttons and labels, most non-US headline styles

PascalCase and SCREAMING_SNAKE do not have their own buttons here, but both are one step away: convert to camelCase and capitalize the first letter yourself for PascalCase, or convert to snake_case, paste the result back into the box, and click UPPERCASE for SCREAMING_SNAKE.

Title case rules: which words stay lowercase

Professional title case is not "capitalize everything". Articles (a, an, the), coordinating conjunctions (and, but, or, for, nor) and short prepositions (at, by, in, of, on, to, up) stay lowercase unless they are the first or last word of the title. A copy editor writes "A Guide to Wine and Cheese", not "A Guide To Wine And Cheese".

The two big American style guides disagree on prepositions. AP style capitalizes every word of four or more letters, so "with", "from" and "over" become "With", "From" and "Over" in a headline. Chicago style keeps prepositions lowercase regardless of length, so "between" and "through" stay lowercase even though they are long words. The Title Case button on this page capitalizes every word, the simplest and most common web convention; if you are writing to AP or Chicago, lowercase the small words by hand afterward.

Frequently asked questions

What's the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word, the style used for many U.S. headlines and book titles, such as "The Quick Brown Fox." Sentence case capitalizes only the first letter of each sentence and any proper nouns, like normal prose: "The quick brown fox." Pick Title Case for headings and Sentence case for body text, captions or UI labels.

What are camelCase, snake_case and kebab-case used for?

They're naming conventions common in programming. camelCase ("userName") is typical for JavaScript variables, snake_case ("user_name") for Python and database columns, and kebab-case ("user-name") for URLs, CSS classes and file names. This tool detects the words in your text — even across spaces, punctuation and existing camelCase boundaries — and rejoins them in the format you choose.

How do I fix text I accidentally typed in all caps?

Paste the all-caps text into the box and click lowercase to flatten it, or Sentence case to restore normal capitalization with each sentence starting with a capital letter. Title Case is handy if the text is actually a heading. Then use Copy result to grab the fixed version — no need to retype anything.

Does converting case change my spacing or punctuation?

For UPPERCASE, lowercase, Title Case, Sentence case and aLtErNaTiNg, your original spacing, line breaks and punctuation are preserved — only letter casing changes. The programmer cases (camelCase, snake_case and kebab-case) intentionally strip spaces and punctuation between words because those formats don't allow them, rebuilding the text from the detected words.

Is my text uploaded anywhere?

No. The converter runs entirely in your browser with JavaScript, so your text is never sent to a server or stored. You can safely paste confidential notes, draft copy or code, convert it, copy the result, and close the tab — nothing is retained.

How do I get PascalCase or SCREAMING_SNAKE_CASE?

Two quick steps. For PascalCase, convert to camelCase and capitalize the first letter of the result (userProfilePage becomes UserProfilePage). For SCREAMING_SNAKE_CASE, convert to snake_case, paste the result back into the box, and click UPPERCASE to get USER_PROFILE_PAGE. Both styles use the same word detection as the other programmer cases.