🔤 Text Case Converter
Convert text between multiple case formats instantly, all processing happens in your browser
Converted Text
Overview
Our Free Case Converter is a free online text transformation utility that instantly converts your text between multiple case formats. Format text for programming (camelCase, PascalCase, snake_case, kebab-case), for writing (UPPERCASE, lowercase, Title Case, Sentence case) or for styling (aLtErNaTiNg case, Capitalized Words), all with a single click. Simply paste your text, select the desired case format, and the converted result appears immediately. The tool preserves numbers, punctuation, and special characters while transforming letter cases according to your chosen format. Developers use it daily for renaming variables and generating URL slugs. Writers use it for formatting headlines and correcting accidental caps lock. Marketers use it for creating consistent social media captions. All processing happens entirely in your browser. Your text never leaves your device. Perfect for programmers, content creators, students, and anyone who works with text formatting. No downloads, no sign-up, no data collection. Just instant case conversion on any device.How the case converter works
The converter tokenizes your text into words, applies the rules of the target format and joins them back: camelCase and PascalCase capitalize word boundaries for code, snake_case and kebab-case replace spaces with separators for identifiers and URL slugs, Title Case and Sentence case follow editorial rules, and alternating case flips each character. Punctuation and numbers are preserved, and accented letters are handled correctly so "café" becomes "Café", not a broken byte sequence. Everything updates as you paste.
How it works and what it supports
| Property | Text case converter behavior |
|---|---|
| Code formats | camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE |
| Editorial formats | UPPERCASE, lowercase, Title Case, Sentence case |
| Styling | aLtErNaTiNg case, Capitalized Words |
| Unicode | Accents, emoji and non-Latin scripts preserved |
| Processing | 100% client-side; text never uploaded |
| Cost | Free, no account, no ads, no character limit |
Privacy: drafts stay in the browser
Copy often contains client names, unpublished content or internal identifiers. Conversion runs locally: nothing is transmitted, stored or logged, and the page works offline after loading.
Case conversion tips
- Use kebab-case for URL slugs and snake_case for database columns.
- Check acronyms after camelCase conversion: "userID" rules vary by language.
- Do not uppercase CSS selectors that must match class names exactly.
- Verify Title Case against your style guide, rules differ for small words.
- Trim trailing spaces before converting to avoid double separators.
Related: browse the text tools for counters, diffs, Markdown and fancy text.
Case styles used in code and editorial work
Programming and publishing each have their own naming conventions, and converting between them is a daily task when refactoring code, renaming files or cleaning up imported data. camelCase starts lowercase and capitalises each following word; it is standard for variables and functions in Java and JavaScript. PascalCase capitalises every word and names classes, types and React components. snake_case joins words with underscores and dominates Python, Ruby and database columns. kebab-case uses hyphens and is the convention for CSS class names, package names and URL slugs, where spaces are invalid and underscores can be read as invisible. CONSTANT_CASE is snake_case in capitals and marks values that never change. Title Case and sentence case are editorial styles: the first capitalises major words and suits headlines, while the second capitalises only the first word and is easier to read in long text. Two pitfalls are worth knowing. Acronyms need a decision, API, URL and ID are usually kept uppercase in snake case but treated as words in camel case, giving apiUrl rather than aPIURL. And case conversion cannot recover word boundaries that were never marked: an all-lowercase string such as myfile name must be split by a separator or by a dictionary, so provide the original casing where you can. The conversion happens in the browser, so code and content never leave your machine.
Frequently asked questions
What text case conversions are available? +
This tool supports UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more.
Can I convert text with special characters and accents? +
Yes. The tool preserves accented characters, special symbols, and non-Latin scripts during all case conversions.
Can I convert large amounts of text at once? +
There is no character limit. Paste any amount of text and the tool converts it instantly in your browser.
Does it handle programming naming conventions? +
Yes. The tool supports camelCase, PascalCase, snake_case, kebab-case, and SCREAMING_SNAKE_CASE for programming variable names.