Convert between text cases
Convert text to camelCase, PascalCase, snake_case, kebab-case, Title Case and more, all at once. Runs in your browser.
- Free, no account
- Nothing is uploaded
- Runs in your browser
How it works
- 1 What goes in A phrase or an identifier
- 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
- 3 What comes back It in eight cases at once
What it does
Every case at once, so you copy the one you want instead of converting and checking. The hard part is splitting words correctly — XMLHttpRequest is three words, user_id is two, and don't is one.
This page does the work itself. Your text is handled by the browser and never sent anywhere — there is no server here to send it to.
Questions
How are words detected?
On case boundaries, digits and separators, with an apostrophe kept inside a word. That is what turns XMLHttpRequest into xml, http, request rather than x, m, l, http and leaves don't as one word instead of don and t.
Which words stay lowercase in Title Case?
Articles, conjunctions and short prepositions — a, an, the, and, or, of, in, on, to and so on — unless they are the first or last word. That is the convention most style guides share; a headline capitalising Of and The reads as machine output.
When would I use CONSTANT_CASE or dot.case?
CONSTANT_CASE for compile-time constants and environment variables. dot.case for nested configuration keys and feature flags. path/case is there because slugs and route fragments come up often enough to be worth a copy button.
More text tools
-
Text
Markdown → HTML
Convert Markdown to clean HTML in your browser, with a live preview.
-
Text
Word counter
Live word, character, sentence and paragraph counts with reading time, plus the platform limits your text fits or busts.
-
Text
Text diff
Compare two blocks of text and see exactly which lines were added, removed or changed.
-
Text
Invisible characters
Find and strip zero-width spaces, bidi controls, soft hyphens and odd whitespace hiding in text, with every one located by position and code point.
-
Text
Fix text encoding
Turn José back into José, and read a file under every encoding at once.