Skip to content
Case Converter

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

  1. Paste or type your text into the input panel, or use the Paste, Sample, and Clear buttons above it.
  2. 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.
  3. 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:

CaseResult
UPPERCASEORDER ID V2
lowercaseorder id v2
Title CaseOrder Id V2
Sentence caseOrder id v2
camelCaseorderIdV2
PascalCaseOrderIdV2
snake_caseorder_id_v2
kebab-caseorder-id-v2
CONSTANT_CASEORDER_ID_V2
aLtErNaTiNgoRdEr Id V2
iNVERT cASEoRDER 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.valueuser, 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é menucafeMenu), 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.

Search tools

Search all Textbench tools