Case Converter
Convert text to UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case and more. Instant, free and fully offline.
Writing
Programming (applied line by line)
Fun
What is the Case Converter?
The Case Converter changes the capitalization of any text in one click. Writing cases include Sentence case, lower case, UPPER CASE, Capitalized Case and a smart Title Case; programming cases include camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and Train-Case; and there are playful aLtErNaTiNg, iNVERSE and reversed text modes. A live panel previews your text in every format at once, and you can copy any of them without touching the original.
Conversions are Unicode-aware, so accented, Cyrillic, Greek and other non-English letters are handled correctly, and reversing text keeps emoji and accented characters intact. Programming cases split words on spaces, punctuation and camelCase humps (XMLHttpRequest → xml_http_request) and are applied line by line, which lets you convert a whole list of variable or column names at once. Title Case keeps articles, short conjunctions and prepositions (a, an, the, and, of, in, to…) lowercase except as the first or last word or after a colon, capitalizes both parts of hyphenated words, and preserves intentional casing such as NASA or iPhone.
Every conversion can be undone step by step, and the result can be copied or downloaded as a .txt file. All processing happens locally in your browser.
Frequently asked questions
- What is the difference between Title Case and Capitalized Case?
- Capitalized Case simply capitalizes the first letter of every word. Title Case follows headline style rules: it lowercases articles, coordinating conjunctions and prepositions of up to three letters (a, an, the, and, but, or, of, in, on, to, for, by…) unless they are the first or last word or follow a colon, as in “The Lord of the Rings”.
- Which naming convention should I use in code?
- It depends on the language: JavaScript and Java use camelCase for variables and PascalCase for classes and React components; Python and Ruby use snake_case; constants are usually CONSTANT_CASE; CSS classes, URLs and file names often use kebab-case; HTTP headers use Train-Case (Content-Type).
- How does it split words for camelCase or snake_case?
- Words are split at spaces, punctuation, underscores and hyphens, and at case changes inside a word, including acronyms — so “getHTMLParser”, “get html parser” and “get-html-parser” all become get_html_parser. Apostrophes are removed rather than splitting words.
- What does Sentence case do?
- It lowercases the text and capitalizes the first letter of each sentence. A sentence ends at . ! ? or … followed by a space, or at a line break; decimals like 3.14 and common abbreviations such as e.g., i.e. and Dr. do not start a new sentence. The English pronoun “I” is capitalized.
- Does it work with non-English text?
- Yes. Upper and lower case conversions use Unicode rules, so É, Ж, Ω and other letters convert correctly. Title Case's small-word list is English, so other languages get every word capitalized except those English words.
- Is my text sent anywhere?
- No. The conversion is plain JavaScript running in your browser; nothing is uploaded or stored.
Related tools
- Word & Char CounterCount words, characters, sentences and paragraphs, estimate reading and speaking time, check platform limits and analyze keyword density — all in your browser.
- Lorem IpsumGenerate lorem ipsum placeholder text by paragraphs, sentences or words for mockups, wireframes and UI prototypes. Copy as plain text or HTML.
- Text CleanerClean messy copy-pasted text: strip extra whitespace, empty lines, HTML tags, invisible characters and duplicate lines in one click.
- Text DiffCompare two texts side by side or as a unified diff and highlight differences by line, word or character. Handles thousands of lines, privately and offline.
- Slug GeneratorTurn titles and headlines into clean, SEO-friendly URL slugs with transliteration, custom separators and bulk mode.
- HTML EntitiesEncode special characters to HTML entities (named, decimal or hex) and decode entities back to text. Escape HTML safely, entirely offline.