String Case Converter
Converts identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, dot.case, path/case, lower case and UPPER CASE. Every style is computed at once so you can compare them and take the one you want.
Each line is converted independently, so you can paste a whole column of field names and convert them in a single step.
How to use it
- Paste one or more identifiers, one per line.
- Read every case style at once in the grid below.
- Copy whichever result you need with its own copy button.
How words are detected
Splitting handles camelCase humps, runs of capitals, digits and any separator punctuation. HTTPServerError correctly becomes HTTP, Server and Error rather than being split at every capital, and user_id-2 becomes user, id and 2.
That means conversion between styles is genuinely lossless in both directions: userFirstName becomes user_first_name and back again without drift.
Frequently asked questions
Does it handle acronyms correctly?
- Yes. A run of capitals followed by a capitalised word is treated as one acronym plus one word, so HTTPServer becomes http_server rather than h_t_t_p_server.
Can I convert several identifiers at once?
- Yes. Every line is converted separately, so pasting a list of database columns or API fields converts the whole list in place.
What is CONSTANT_CASE for?
- It is the conventional style for constants and environment variables in most languages — SCREAMING_SNAKE_CASE by another name.