Toolkitbar

Case Converter — camelCase, snake_case, kebab-case

Rename a column of identifiers into the convention you actually need.

Options

Runs on your device What you paste is processed by your own browser. It is never sent to a server, and it is not stored anywhere after you leave the page.

Short answer

Text and identifiers can be converted between camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, sentence case, upper case and lower case for free in a web browser. Each line is split into words first, so an identifier written in any of those conventions is recognised regardless of which one produced it, and every line is converted independently — which is what makes converting a whole pasted column of names in one pass possible.

At a glance

AcceptsAny text, one item per line
ProducesThe same text in the chosen convention
ProcessingIn your browser
PriceFree, no limits
AccountNot required

This is the work at every boundary between two systems. A database that names columns created_at speaks to an API that returns createdAt, whose CSS classes are created-at, in a language whose constants are CREATED_AT. Renaming a list of them by hand is where typos come from.

The word splitter is what makes it reliable. getUserID, get_user_id, get-user-id and Get User ID all reduce to the same three words, including the run of capitals in the middle, so converting between any two conventions is a single pass with nothing left half-renamed.

How to use it

  1. 1

    Paste your names

    One per line. A column copied out of a schema, a list of keys, a paragraph of prose.

  2. 2

    Choose the convention

    camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, sentence case, or plain upper and lower.

  3. 3

    Convert

    Every line is converted separately, so the list stays a list.

  4. 4

    Copy the result

    Copy the whole block to the clipboard, or download it as a text file.

Frequently asked questions

Can I convert a whole list at once?

Yes. Each line is treated as its own item, so a pasted column of forty column names comes back as forty converted names, blank lines included.

Does it understand names that are already camelCase?

Yes. Words are detected from capital letters as well as from separators, and a run of capitals such as the ID in getUserID is kept together rather than split letter by letter.

What happens to accented or non-English text?

Upper case, lower case, Title Case and sentence case work on any script your browser can case-convert. The identifier conventions split on non-alphanumeric characters, so they suit ASCII names best.

Is my text uploaded?

No. The conversion is plain string handling inside your browser, and nothing is transmitted or stored.

Related tools

Browse all developer tools