Convert text between every common case format: camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, sentence case, and more. Handles multi-word identifiers, acronyms, mixed-case inputs, and preserves numbers correctly. Useful for renaming variables, normalising config keys, or generating CSS classnames from copy.
Common use cases
- Renaming variables across languages. Convert a JavaScript identifier (camelCase) to Python style (snake_case) when porting code. Or vice versa when integrating with a Python API from JS.
- Generating CSS classnames from design copy. Designer hands you a list of section names — convert each to kebab-case for use as classnames or component keys.
- Normalising database column names. Convert a list of camelCase JS object keys to snake_case before generating SQL DDL. Catches the inconsistencies SQL generators often miss.
- URL slug generation. Convert article titles or section headings into lowercase kebab-case slugs ready for routing.
Frequently asked
How are acronyms handled?
Configurably. By default, multi-letter acronyms (URL, HTTP, ID) are treated as a single token — `userID` → `user_id`, not `user_i_d`. Toggle the acronym handling option to get the alternative.
What about numbers?
Numbers are treated as part of the adjacent token: `version2Beta` → `version_2_beta`, `userID42` → `user_id_42`. The exact behaviour depends on the target case.
Can I batch-convert a list?
Yes — paste a multi-line list and each line is converted independently. Useful for renaming a column list or a set of identifiers in bulk.
What's the difference between PascalCase and camelCase?
PascalCase capitalises the first letter (`UserName`), camelCase keeps it lowercase (`userName`). Both join words by capitalisation. PascalCase is conventional for types / classes; camelCase for variables / functions.
Why is `SCREAMING_SNAKE_CASE` an option?
It's the conventional case for constants in many languages (C, Python, JavaScript). Converting a config key list to SCREAMING_SNAKE makes them obviously immutable.
Does my text leave the page?
No. Conversion is pure client-side. Safe for proprietary identifier lists, internal API names, and sensitive payloads.