Text Case Converter
This tool converts identifiers or phrases into common casing formats used in programming and writing.
It supports multiple outputs at once (camelCase, PascalCase, snake_case, kebab-case, Title Case, Sentence case,
uppercase, and lowercase).
Main idea: The converter works in two phases:
(1) it tokenizes your input into “words”, then (2) it reassembles those tokens using the rules of the selected case formats.
1) Tokenization: how the input is split into words
Tokenization means detecting the words inside an identifier or phrase.
The tool can split on selected separator characters and also detect camel-case boundaries.
-
Separators: You can choose which characters act as word boundaries:
space, -, _, and ..
-
Camel boundaries: The tool also splits between:
lowercase → Uppercase (example: myURL → my + URL)
and ACRONYM → Word (example: HTTPServer → HTTP + Server).
-
Trim extra separators: If enabled, repeated separators (like
__ or multiple spaces)
do not create empty tokens.
-
Keep numbers: If disabled, digits are removed before tokenization.
Example
myHTTPServerURL.v2__user_name
1 my
2 HTTP
3 Server
4 URL
5 v2
6 user
7 name
The calculator’s “Tokenization ribbon” visualization shows these tokens as animated chips and updates when options change.
2) Reassembly: how each case format is built
After tokenization, each output format applies a deterministic set of capitalization and joining rules.
For multi-line input (default), each line is converted independently.
Acronym preservation
When Preserve acronyms is enabled, tokens that look like acronyms (all uppercase letters, typically 2+ letters)
stay uppercase in camel, Pascal, and Title Case outputs.
APIClient instead of ApiClient
myURLParser instead of myUrlParser
Turn this option off if you want everything treated as normal words.
Multi-line vs “whole input” conversion
-
Convert each line separately (default): useful for lists of identifiers (one per line).
-
Treat whole input as one phrase: useful if your text is wrapped across lines but should behave like one string.
Outputs and copy behavior
For every selected case, the calculator creates an output block containing:
- The converted text (per line, matching the selected multi-line behavior).
- A Copy button that copies the entire block’s output to your clipboard.
The tool runs entirely in the browser and does not send your text to a server.