T

String Case Converter

one identifier per line

camelCase

helloWorldExample

PascalCase

HelloWorldExample

snake_case

hello_world_example

kebab-case

hello-world-example

CONSTANT_CASE

HELLO_WORLD_EXAMPLE

Title Case

Hello World Example

Sentence case

Hello world example

dot.case

hello.world.example

path/case

hello/world/example

lower case

hello world example

UPPER CASE

HELLO WORLD EXAMPLE

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

  1. Paste one or more identifiers, one per line.
  2. Read every case style at once in the grid below.
  3. 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.

Related tools

Everything on this page runs in your browser. TurboParse is a static site with no backend, so nothing you paste is uploaded, logged or stored.

Last updated .