How to convert text case
- Type or paste your text into the box. It can be a single phrase, a headline or several paragraphs.
- All nine styles appear immediately below the box and refresh on every keystroke — there is no Convert button to press.
- Click Copy beside the style you need. Only that one version goes to your clipboard; the text in the box stays untouched, so you can copy a second style straight afterwards.
The case styles explained
- UPPERCASE / lowercase — every letter capital or every letter small. Line breaks and punctuation are kept exactly as typed.
- Title Case — the first letter of every word is capitalised and the rest lowercased.
- Sentence case — everything is lowercased, then the first letter of the text and the first letter after each full stop, question mark or exclamation mark is capitalised.
- camelCase / PascalCase — spaces and punctuation removed; camelCase keeps the first word lowercase, PascalCase capitalises every word.
- snake_case / kebab-case / CONSTANT_CASE — words joined by underscores or hyphens, in lowercase (snake, kebab) or capitals (constant).
A worked example
Typing the quick brown fox produces The Quick Brown Fox (Title Case), theQuickBrownFox (camelCase), TheQuickBrownFox (PascalCase), the_quick_brown_fox (snake_case), the-quick-brown-fox (kebab-case) and THE_QUICK_BROWN_FOX (CONSTANT_CASE). The code styles also work as translators between conventions: paste user_first-name and camelCase returns userFirstName, because underscores, hyphens and spaces are all treated as word boundaries.
Where each style is actually used
- camelCase for variables and functions in JavaScript, Java and Swift; PascalCase for class and component names (React components, C# types).
- snake_case for Python variables, Ruby methods and many database column names; CONSTANT_CASE for environment variables and fixed constants such as
MAX_RETRIES. - kebab-case for CSS class names, URL slugs and file names, since hyphens are safe in addresses and are read by search engines as word separators.
- Sentence case for body text, UI labels and many modern style guides' headings; Title Case for book titles, article headlines and slide titles.
Limits you should know about
Being specific about what this tool does and does not do will save you time on edge cases.
- Title Case is mechanical. It capitalises every word, including small words.
war and peace of the eastbecomesWar And Peace Of The East, whereas many style guides (AP, Chicago) keep short articles, conjunctions and prepositions lowercase. Lowercase those by hand after copying if your guide requires it. - Sentence case lowercases everything first. Proper nouns, acronyms and the pronoun “I” are lowercased too, so
I met NASA in Pariscomes out asI met nasa in paris. Fix names after converting. - Code styles only keep English letters and digits. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE treat any other character as a separator and drop it, so an accented letter or non-Latin script disappears:
café menubecomescaf_menu. The apostrophe is a separator as well, which turnsuser's nameintouserSName. - Existing camel humps are not split. Text is lowercased before being split into words, so
XMLHttpRequestbecomesxmlhttprequestin snake_case. Insert spaces before converting if you needxml_http_request. - Line breaks collapse in the code styles. Multi-line input is joined into a single identifier, so convert one name at a time. UPPERCASE, lowercase and Title Case preserve line breaks.
- Uppercasing follows Unicode rules. The German ß becomes
SSin UPPERCASE, which cannot be reversed by lowercasing.
Practical tips
If you received a message typed in ALL CAPS, paste it and copy the Sentence case version, then restore names and acronyms. When preparing a list of CSS class names or file names from plain descriptions, convert each line separately to kebab-case. For URL slugs specifically, the slug generator also strips accents and special characters rather than dropping them, which suits accented titles better.
Is it private and safe?
Yes. The conversion is plain JavaScript running inside your browser tab, on your own device. Your text is never uploaded or stored, which makes it safe for unpublished headlines, internal variable names or confidential drafts.
Related tools: clean up the converted text with the slug generator, remove duplicate lines, sort lines or word counter.
Frequently asked questions
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariableName), while PascalCase capitalises the first letter as well (MyVariableName). Many languages use camelCase for variables and functions and PascalCase for classes and components, so it is worth following the convention of the language you are writing in.
Can I fix text that was typed in ALL CAPS?
Yes. Paste it and copy the Sentence case version, which lowercases everything and then capitalises the start of each sentence. Because it lowercases proper nouns and acronyms too, check names such as cities, brands and abbreviations afterwards.
Why does Title Case capitalise small words like 'and' and 'of'?
The converter capitalises the first letter of every word without a list of exceptions. Style guides such as AP and Chicago keep short articles, conjunctions and prepositions lowercase, so edit those words manually if you are following one of them.
Why did accented or non-English letters disappear from my camelCase or snake_case result?
The code styles keep only the English letters A to Z and the digits 0 to 9, and treat everything else as a separator. A word like cafe with an accented e loses that letter. UPPERCASE, lowercase, Title Case and Sentence case are not affected this way.
Does it split words that are already in camelCase?
No. The text is lowercased before being split, so XMLHttpRequest is treated as one word and becomes xmlhttprequest in snake_case. Add spaces between the words first if you want them separated.
Which case should I use for URLs and file names?
kebab-case, with lowercase words joined by hyphens, is the usual choice because hyphens are safe in URLs and search engines read them as word separators. Underscores are not treated the same way, so avoid snake_case for public page addresses.
Is my text uploaded?
No. Everything runs on your device inside the browser, and nothing is sent to a server or stored.
Is it free?
Yes. It is completely free, with no sign-up and no limit on how often you use it.