Text Case Converter
UPPERCASE, lowercase, Title Case, camelCase and more
This Text Case Converter switches any text between eight formats with one click: UPPERCASE, lowercase, Title Case, Sentence case for writing — and camelCase, PascalCase, snake_case, kebab-case for code. Once you pick a case, the result updates live as you keep typing.
The classic rescue mission: a paragraph typed WITH CAPS LOCK ON. Click Sentence case and it's fixed — first letter of each sentence capitalised, everything else lowered. The Title Case mode is smart about it: minor words (a, of, the, and…) stay lowercase mid-title, the way style guides actually want headlines written.
The developer cases
- camelCase — JavaScript variables:
userFirstName - PascalCase — class and component names:
UserProfile - snake_case — Python variables, database columns:
user_first_name - kebab-case — URLs, CSS classes, file names:
user-first-name
The converter detects word boundaries in any of these formats, so it converts between them too — paste userFirstName and click snake_case to get user_first_name.
Example
Paste "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" and click Title Case:
Result: "The Quick Brown Fox Jumps Over the Lazy Dog" — note "the" stays lowercase mid-sentence but is capitalised as the first word, following standard headline style.
Frequently Asked Questions
How do I fix text typed in all caps?
Paste it and click Sentence case — every letter is lowered, then the first letter of each sentence is re-capitalised. It's the fastest fix for the caps-lock paragraph. For headlines, use Title Case instead.
What is the difference between Title Case and Sentence case?
Title Case capitalises the main words of a headline ('The Art of Being Right'); Sentence case capitalises only the first word and proper nouns ('The art of being right'). News headlines and book titles traditionally use Title Case; most modern web UIs and European styles prefer sentence case.
Which words stay lowercase in Title Case?
Minor words: articles (a, an, the), short conjunctions (and, but, or), and short prepositions (of, in, on, to, by, at). The first and last words are always capitalised regardless. Style guides differ on details (AP vs Chicago), but this converter follows the common convention.
What is camelCase and where is it used?
Words joined without spaces, first word lowercase, each following word capitalised: userFirstName. It's the standard for variable and function names in JavaScript, Java, and Swift. The name comes from the capital letters looking like camel humps.
What is the difference between camelCase and PascalCase?
Only the first letter: camelCase starts lowercase (userProfile), PascalCase starts uppercase (UserProfile). Convention assigns them different jobs — camelCase for variables and functions, PascalCase for classes, types, and components (React components must be PascalCase).
When should I use snake_case vs kebab-case?
snake_case (underscores) is standard in Python, Ruby, and SQL database columns. kebab-case (hyphens) rules URLs, CSS class names, and file names for the web — hyphens are treated as word separators by search engines, underscores are not. That's why blog slugs are kebab-case.
Why does Google prefer hyphens over underscores in URLs?
Google treats a hyphen as a word separator but historically treated an underscore as a word joiner: blue-widgets reads as 'blue widgets', blue_widgets risked reading as 'bluewidgets'. For URL slugs, kebab-case is the safe SEO choice — one of the reasons this converter exists.
Can this convert between programming cases, like camelCase to snake_case?
Yes — the converter recognises word boundaries from capital letters, underscores, hyphens, and spaces. Paste getUserById and click snake_case to get get_user_by_id, or paste api_base_url and click PascalCase to get ApiBaseUrl.
Does the converter handle accented and non-English letters?
Yes — upper/lower conversion uses Unicode-aware JavaScript methods, so é↔É and ά↔Ά work. Note that case rules vary by language (the Turkish dotless ı is the famous edge case); the converter applies the default Unicode mappings.
Is my text uploaded anywhere when I convert it?
No — conversion runs entirely in your browser with JavaScript string methods. Nothing is transmitted, logged, or stored, so it's safe for confidential drafts, code, and documents.
What is 'aLtErNaTiNg CaSe' and why isn't it here?
The mocking-text meme format from social media. We kept the converter to the eight cases people use for actual work; if you need the meme, alternate manually or ask us to add it.
How do I capitalise every word in Excel or Google Sheets?
Use =PROPER(A1) — that's Excel's version of Title Case, though it capitalises every word including 'the' and 'of'. UPPER() and LOWER() cover the basic cases. For a smarter title case that respects minor words, convert here and paste back.