Case Converter
Convert text between UPPERCASE, Title Case, camelCase, snake_case and more — instantly in your browser.
Privacy: your files never leave your device. All processing happens locally in your browser.
How to use
- 1.Type or paste your text into the input box.
- 2.See all ten case and naming-convention variants generated instantly below.
- 3.Click Copy next to any result to put that version on your clipboard.
About Case Converter
Case Converter turns any block of text into every common capitalization and naming style at once. Paste a sentence, a heading, or a variable name and you instantly see ten variants side by side, each with its own copy button. Everything is computed locally in your browser, so nothing is ever uploaded — it works offline and handles large pastes without a round trip to a server.
The writing styles cover everyday text. Title Case capitalizes the first letter of every word for headlines and article titles. Sentence case capitalizes only the first letter of each sentence — split on periods, question marks, and exclamation points — which is the correct style for body copy and UI labels. UPPERCASE and lowercase are the quick fixes for text that arrived shouting or stuck on caps lock.
The naming styles cover programming conventions, where capitalization is not cosmetic but syntactic. camelCase (helloWorld) is standard for JavaScript and Java variables and functions. PascalCase (HelloWorld) names classes, React components, and types. snake_case (hello_world) is the Python and SQL convention for variables and column names. kebab-case (hello-world) is used for URLs, CSS classes, and file names. CONSTANT_CASE (HELLO_WORLD) marks environment variables and compile-time constants. Converting between them by hand is error-prone; a single wrong letter breaks the code.
What makes the naming conversions reliable is the word-boundary detection. The tool doesn't just swap spaces for underscores — it re-tokenizes the input first. It splits on spaces, underscores, hyphens, and punctuation, and it also detects camelCase and PascalCase boundaries, so fooBar_baz-qux is correctly understood as four words (foo, Bar, baz, qux) no matter which style it arrived in. That means you can paste a snake_case name and get clean camelCase back, or paste a messy mix of separators and still get a consistent result. Digits stay attached to their word, so order66 is treated as a single token rather than being split.
A subtle detail is how each style treats letters that were already capitalized. The naming conversions normalize every word to a single canonical form, so a shouting SNAKE_CASE constant pasted in becomes clean camelCase rather than a broken hybrid, and an acronym-heavy PascalCase identifier like HTMLParser is tokenized at the acronym boundary into HTML and Parser before being re-cased. The alternating style, by contrast, flips letters position by position and skips over spaces and punctuation so the visual zig-zag lands only on the letters. Because the rules are explicit and deterministic, the same input always produces the same output, which matters when you are scripting names or reformatting a column of data.
Common uses: fixing headline capitalization, renaming variables to match a team's style guide, converting API field names between JSON (camelCase) and a database (snake_case), turning a title into a URL slug (kebab-case), normalizing environment variable names to CONSTANT_CASE, and generating aLtErNaTiNg text for a bit of fun. Type once and every style is ready to copy — no sign-up, no upload, no waiting.
Frequently asked questions
- What is the difference between Title Case and Sentence case?
- Title Case capitalizes the first letter of every word (Hello World), which suits headlines. Sentence case capitalizes only the first letter of each sentence and lowercases the rest (Hello world), which is correct for body copy. This tool splits sentences on periods, question marks, and exclamation points.
- How does it convert snake_case to camelCase and other naming styles?
- The tool first re-tokenizes your input into words, splitting on spaces, underscores, hyphens, punctuation, and camelCase boundaries. It then re-joins those words in the target style. So fooBar_baz-qux becomes fooBarBazQux (camelCase) or foo_bar_baz_qux (snake_case) reliably, regardless of the input format.
- Is my text uploaded anywhere?
- No. All conversions run entirely in your browser using JavaScript. Your text never leaves your device and is never sent to a server, so it works offline and is safe for private or sensitive content.
Related tools
- Bold Text GeneratorTurn plain text into 𝐛𝐨𝐥𝐝 Unicode you can paste into Instagram, X and LinkedIn bios.
- Strikethrough TextCross out any text with Unicode overlays — paste it into chats, bios, and posts, no formatting needed.
- Word CounterCount words, characters, sentences and reading time live as you type — nothing uploaded.
- Add Line Numbers to TextNumber every line of pasted text from a chosen starting value with a custom separator and optional zero padding.
- Add Prefix and Suffix to LinesAdd literal prefix and suffix text to every pasted line, with an option to leave blank lines untouched.
- Add Quotes to Each LineTurn a pasted list into a paste-ready JSON array, SQL IN clause or CSV row in one click, with the escaping each format actually requires.
Text Tools guides
View all- How to Convert Case in Python: Methods Compared
- How to Change Case in Word: 10 Output Styles
- Change Text Case in Google Sheets Without Formulas
- How to Change Case in Google Docs and Beyond
- How to Change Case in an Excel Sheet Without Formulas
- Change Text Case in Excel Without Formulas or Add-ins
- How to Change Case Fan Speed Labels in Text Files
- Change Case Fan Speed Labels in Seconds Without BIOS Tweaks
- Special Characters Copy Paste: A Code-Point Alternative
- How to Reverse Word Order Without Reversing Letters
- How to Remove Duplicate Words From Text
- How to Remove Duplicate Lines in Illustrator
- How to Remove Accents from Text in Google Sheets
- Check Readability Score Online Free: Six Formulas
- Convert PowerPoint to Text: Build a Slide-by-Slide Draft
- How to Remove Text Formatting in Notepad++
- Google Translate to Pig Latin: A Local Browser Tool
- Check for Palindrome in JavaScript: Methods and Verify
- NATO Phonetic Alphabet Online Translator and Decoder
- MLA Citation Generator: Authors, Titles, and Dates