Case Converter
Convert between 11 cases: UPPER, lower, Title, camelCase, snake_case, aLtErNaTiNg, and more.
This case converter changes the capitalisation of any text in your browser, so nothing is uploaded. It handles both prose cases (UPPERCASE, lowercase, Title Case, Sentence case) and the programmer cases used for identifiers (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE), plus aLtErNaTiNg and iNVERT cASE for when you need them. The input label shows a live character and word count as you type, and your last selected case is remembered between visits.
How to use
- Paste or type your text into the input panel, or use the Paste, Sample, and Clear buttons above it.
- Pick a target case from the chips: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, aLtErNaTiNg, or iNVERT cASE.
- The result updates as you type. Copy it to the clipboard or download it as a .txt file from the buttons next to the output panel.
Every case at a glance
Here is the same input, Order ID v2, converted
to all eleven forms:
| Case | Result |
|---|---|
| UPPERCASE | ORDER ID V2 |
| lowercase | order id v2 |
| Title Case | Order Id V2 |
| Sentence case | Order id v2 |
| camelCase | orderIdV2 |
| PascalCase | OrderIdV2 |
| snake_case | order_id_v2 |
| kebab-case | order-id-v2 |
| CONSTANT_CASE | ORDER_ID_V2 |
| aLtErNaTiNg | oRdEr Id V2 |
| iNVERT cASE | oRDER id V2 |
How programmer cases split words
The programmer cases (camel, pascal, snake, kebab, constant)
first break your input into word tokens, then re-join them.
Tokens are split on whitespace, on any punctuation
(user-id.value → user,
id, value), and on existing
lowercase-to-uppercase boundaries, so already-camelCased
input like orderIdV2 converts cleanly to
order_id_v2. Accented characters are normalised
(café menu → cafeMenu), and digits
stick to the word they follow. A few quirks worth knowing:
Title Case lowercases the rest of each word, so an acronym
like ID becomes Id; aLtErNaTiNg
only toggles letters, so digits and punctuation pass through
without breaking the lower-upper rhythm; and Sentence case
detects sentence starts after ., !,
and ?.
FAQ
More questions? Browse the full FAQ.
Need to clean text up before converting it? Strip or swap substrings with the find & replace tool, or get full character, word, and sentence statistics from the word counter.