Case Converter
Paste your text and see it in twelve case formats at once. Copy the one you need, or apply it in place and keep converting. Title and sentence case follow proper rules rather than capitalising blindly.
Nothing is uploaded — conversion runs on your device.
Text cases
Programming cases
Other
How to use the case converter
- Paste or type your text into the box above. Every format updates as you type.
- Find the format you need. The cards are grouped into text cases for writing, programming cases for code, and two novelty formats.
- Copy or apply. Clicking a card copies that version to your clipboard. The Apply button in its corner replaces the text in the box instead, so you can chain conversions.
- Undo if needed. Applying a case is never destructive — Undo restores what was there before.
Nothing is uploaded. All twelve conversions happen in your browser.
When you would need this
Fixing text that arrived in the wrong case. A headline pasted in from a document that was typed in all caps. A spreadsheet column where half the entries are capitalised and half are not. Retyping is slow and introduces typos; converting takes a second.
Writing headlines and titles. Publications specify title case or sentence case in their style guide, and the rules are fiddly enough that people apply them inconsistently. Converting gives you a correct starting point.
Renaming code between conventions. Moving a variable from JavaScript to Python means camelCase to snake_case. Turning a component name into a CSS class means PascalCase to kebab-case. Generating an environment variable means anything to CONSTANT_CASE.
Creating slugs and filenames. URLs, file names and CSS classes conventionally use kebab-case or snake_case. Converting a title directly avoids the manual find-and-replace.
Undoing caps lock. The classic case: half a paragraph typed with caps lock on. Convert to lowercase, then to sentence case, and it is fixed.
Tips for getting the result you want
Chain conversions for messy input. Text with random capitalisation — tHe QUICK brown FOX — does not convert cleanly to Title Case in one step, because the converter preserves nothing it cannot interpret. Apply lowercase first to normalise everything, then apply the case you actually want. Two clicks, reliably correct.
Use Title Case when your text has names in it. Sentence case has to lowercase the text before rebuilding it, which destroys proper nouns. If your headline is "the paris review interviews david foster wallace", sentence case gives you a lowercase Paris and a lowercase David. Title Case capitalises every significant word, which is closer to correct and leaves less to fix.
Know which minor words stay lowercase. Title Case here leaves articles, short conjunctions and short prepositions lowercase — a, an, the, and, but, or, for, in, on, at, to, of, by, with and similar — unless the word is first, last, or follows a colon. This matches the common editorial convention. Some style guides differ, most notably on prepositions of four letters or more, so check your house style if it matters.
Programming cases discard your punctuation. Converting to camelCase or snake_case strips spaces and punctuation by design, since those formats cannot contain them. Use them on short strings — a variable name, a title becoming a slug — not on whole paragraphs.
Acronyms convert correctly, but check them. getHTMLElement correctly becomes get-html-element because the converter detects the acronym boundary. Going the other way it cannot know that html should be HTML, so get-html-element becomes getHtmlElement. That is usually what you want in JavaScript, but not always.
Limits and requirements
Sentence case cannot recover proper nouns. This is inherent rather than a shortcoming of this implementation. Converting to sentence case lowercases everything, and there is no reliable way to know which lowercase words should be capitalised. Names, places, brands and days of the week will need fixing by hand. The converter restores the pronoun "I" and recognised title abbreviations, which covers the most common cases.
Abbreviation detection covers common cases, not all of them. Titles (Dr., Mrs., Prof.), business suffixes (Inc., Ltd., Corp.), months, days and common Latin abbreviations are recognised and will not be treated as sentence endings. An unusual or domain-specific abbreviation may still be misread as the end of a sentence.
Title Case follows one convention. Style guides genuinely disagree — Chicago, AP and MLA each treat prepositions slightly differently. This converter uses the widely applicable version described above. If you are writing to a specific style guide, check its rules on longer prepositions.
Non-Latin scripts. Case conversion works for any script that has upper and lower case forms, including Cyrillic and Greek. Scripts without case distinction — Chinese, Japanese, Arabic, Hebrew, Devanagari — pass through unchanged, which is correct behaviour rather than an error.
Browser support. Any modern browser from roughly the last five years, on desktop or mobile. JavaScript must be enabled. Copying uses the clipboard API, which requires a secure connection — on this site that is always the case.
Privacy: how this tool handles your text
Everything happens on your device. When you type or paste, the text is held in your browser's memory and converted by JavaScript running locally. It is never transmitted to our servers, never written to a database, never logged.
This matters because text people convert is often not public. A draft headline for an unannounced product. A list of customer names being reformatted. Variable names from a private codebase. Pasting any of those into a tool that posts to a server hands a copy to a third party whose retention policy you have not read.
You can check this rather than trusting it. Open your browser's developer tools, switch to the Network tab, and type into the box. No request carries your text, because there is nowhere for it to go. Close the tab and it is gone.
Frequently asked questions
How is this different from other case converters?
Two conversions that most online tools get wrong. Sentence case here does not capitalise after every full stop — it recognises that 'Dr. Smith arrived' is one sentence, not two, and that the period in '3.5kg' is a decimal. Title Case leaves minor words like 'of', 'the' and 'a' lowercase unless they are the first or last word, which is what editorial style guides actually specify. Most converters capitalise every word and break on every period.
Why does sentence case lowercase names and places?
Because it has to lowercase everything before rebuilding capitalisation, and no rule can tell that 'paris' should be 'Paris' while 'parking' should not. Proper nouns are unrecoverable once lost. The converter restores what it can identify reliably — the pronoun 'I', and title abbreviations like Dr., Mrs. and St. — but you will need to fix names by hand. If your text is mostly proper nouns, Title Case is usually the better starting point.
Can I convert camelCase to snake_case and back?
Yes, in any direction. The converter detects word boundaries from whatever convention your text arrives in — capital letters, underscores, hyphens, dots or spaces — so pasting getUserName gives you get_user_name, get-user-name or GET_USER_NAME as needed. It also handles acronyms correctly: getHTMLElement becomes get-html-element rather than one unbroken token.
What is the difference between camelCase and PascalCase?
Only the first letter. camelCase starts lowercase (userName) and PascalCase starts uppercase (UserName). By convention camelCase is used for variables and functions in JavaScript, Java and similar languages, while PascalCase is used for classes, types and React components. Some languages invert this, so follow your project's style guide over any general rule.
Does converting change my text in any other way?
No. Case conversion only changes which letters are uppercase or lowercase. Line breaks, punctuation, spacing and numbers are preserved exactly. The one exception is the programming formats — camelCase, snake_case, kebab-case, dot.case and CONSTANT_CASE — which by definition replace spaces with their own separator.
Is my text uploaded anywhere?
No. All twelve conversions run in your browser using JavaScript on your own device. Nothing you paste is transmitted, logged or stored. You can verify this by opening your browser's developer tools, switching to the Network tab, and typing — no request carries your text. Closing the tab discards it.
Is there a limit on how much text I can convert?
No limit imposed by us, since nothing is being uploaded. The practical ceiling is your device's memory, which handles very long documents without difficulty. All twelve conversions are recalculated as you type, so extremely large pastes may feel slightly less responsive on older devices.
What does the Apply button do?
Copy puts that version on your clipboard. Apply replaces the text in the box with it, so you can chain conversions — for example lowercase first to strip inconsistent capitals, then Title Case for a clean result. Undo reverses the last Apply if you change your mind.