Tools

Case converter

camelCase, snake_case, kebab-case, CONSTANT_CASE and more, line by line.

Runs in your browserText2.4K
Free

Input

0 BFree up to 50.0 KB

Result

The result will appear here.

Your runs

Only runs that cost points are saved.

Sign in to keep a history of your runs.

Crossing a language boundary means crossing a naming convention: JSON from a Python service arrives as snake_case and has to become camelCase, and CSS wants kebab-case. This converts between ten conventions and does it line by line, so a pasted column of field names converts as a list rather than as one run-on string.

How it works

  • Word boundaries are detected from existing case changes, underscores, hyphens and spaces.
  • Acronyms are handled: HTTPResponse splits into HTTP and Response rather than one word.
  • Each line converts independently, so pasted lists keep their shape.

Where your data goes

Nowhere. This tool runs entirely in your browser: the text you paste is processed by the page and is never transmitted to a server or written to a log.

When a run costs points, a one-line summary is saved to your own history so you can find it again. The summary records the shape of the run — sizes, counts, the values you looked up — never the content you pasted.

What it costs

This tool is free, with no sign-in and no points.

Common questions

How are acronyms handled?
A run of capitals followed by a capital-lowercase pair is split before the last capital, so HTTPResponse becomes http_response rather than h_t_t_p_response.
Can I convert a whole JSON document's keys?
Not in one step — this converts text, not structure. For a document, convert on the way in or out of your serialiser, where the keys are already separated from the values.
What is dot case for?
Configuration keys and feature flags: service.feature.enabled. It is the convention most hierarchical config systems expect.

The open-source behind it

This tool is a self-contained implementation. blakeembrey/change-case (MIT) does the same job as a library — if you need this behaviour inside your own program, start there rather than calling a web page.

blakeembrey/change-case

Also known as

  • case converter
  • camelcase converter
  • snake case
  • kebab case
  • convert text case