Case Converter
Paste any text and see it in nine common cases at once — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. The converter splits your input into words on spaces, underscores, hyphens, and lowercase-to-uppercase transitions, so it round-trips cleanly between naming styles: `user_id`, `userId`, and `user-id` all produce the same nine variants. Everything runs as plain JavaScript in your browser; nothing is sent to a server. Each style has a home: camelCase is the convention for variables and functions in JavaScript and Java, PascalCase for classes, types, and React components, snake_case for Python, Ruby, and SQL identifiers, kebab-case for URL slugs, CSS classes, and CLI flags, and CONSTANT_CASE for environment variables and constants. Typical jobs: renaming an identifier while porting code between languages, slugifying a headline for a URL, or normalizing inconsistent column names in a dataset.
How to use
- Type or paste your text into the input — a sentence, an identifier, or a whole list all work.
- All nine case variations update live as you type.
- Pick the variant you need; the programmer cases (camelCase, snake_case, …) strip punctuation and rejoin the detected words.
- Copy any result with its Copy button.
Frequently asked questions
- How are word boundaries detected?
- Spaces, underscores, hyphens, and camelCase transitions (a lowercase letter or digit followed by an uppercase letter) all count as word boundaries. Other punctuation is dropped, so `hello, world!` becomes `hello_world` in snake_case. Title Case and the programmer cases keep only ASCII letters and digits, while UPPER, lower, and Sentence case transform the full Unicode text.
- What's the difference between Title Case and Sentence case?
- Title Case capitalizes the first letter of every word; Sentence case lowercases everything, then capitalizes only the first word of each sentence (after `.`, `!`, or `?`). Note this is the simple every-word Title Case — editorial styles like AP or Chicago also keep short words such as 'of' and 'the' lowercase.
- When should I use camelCase, snake_case, or kebab-case?
- Follow the ecosystem: camelCase for JavaScript/Java variables and JSON keys, PascalCase for class and component names, snake_case for Python, Ruby, and SQL, kebab-case for URL slugs, CSS classes, and CLI flags, and CONSTANT_CASE for environment variables. Whichever you pick, consistency within one codebase matters more than the choice itself.
- How are acronyms and all-caps words handled?
- Words are only split on lowercase-to-uppercase transitions, so a run of capitals like `HTMLParser` stays one token (`htmlparser` in snake_case), while `parseHTML` splits into `parse_html`. If you need an acronym separated out, lowercase it or insert a space or hyphen before converting.
- Is my text uploaded or stored anywhere?
- It never leaves your device — conversion happens entirely in your browser. The input is saved to your browser's local storage so it survives a reload; clear the field and it's gone. Nothing is transmitted, logged, or shared.
Guides on this topic
Related tools
URL Slug Generator
Turn any text into a clean URL slug — strip accents, choose a separator, set a max length.
Social / SEO Character Limit Checker
Type once and see how your text measures against 28+ platform limits — Twitter, Instagram, SEO titles, ad copy, app stores.
Leetspeak (1337) Converter
Translate text into leetspeak and decode 1337 back to letters, in your browser.
Braille Translator (Text ↔ Braille)
Translate text to Unicode Braille (Grade 1) and decode Braille back to text, with capital and number signs, in your browser.
HTML to Plain Text
Strip HTML tags from a snippet and get just the text — keeps block-level newlines, drops `<script>` and `<style>`, decodes entities.
Fullwidth Text Generator (Vaporwave / Aesthetic)
Convert text to fullwidth ムムラ for that vaporwave aesthetic look, and back again, in your browser.