Skip to content

Case converter

Convert text between camelCase, snake_case, kebab-case and the rest.

Rename a column, a variable or a file to whatever convention the code around it uses. The part most converters get wrong is acronyms: parseHTMLDocument is three words, not two, so it becomes parse_html_document rather than parse_h_t_m_l_document. This splits on the boundary before the last capital of a run, which is the rule that gets that right.

How to use it

  1. Paste or type the text.
  2. Pick the style you need.
  3. Copy the result.

Why use this tool

Completely private

Everything runs inside your browser. Your files and text are never sent to a server.

Free, with no limits

No sign-up, no watermarks and no cap on how many times you can use it.

Instant results

There is no upload or queue to wait for, so results appear as fast as your device can work.

Works on any device

Runs in any modern browser on phone, tablet or desktop. Nothing to install.

Frequently asked questions

Does it handle acronyms properly?
Yes. getURLPath becomes get_url_path, not get_u_r_l_path. A run of capitals is treated as one word, with the boundary before its last letter where a new word begins.
Will it work on a whole list at once?
It converts the text as one string, so a list of names becomes one converted name. For a column of values, convert them one at a time, or use snake_case on the whole line if the separator survives.
Does Cyrillic work?
Splitting relies on Latin capitalisation, so Cyrillic text stays as it is apart from spacing and upper or lower case. Mixed text keeps the Cyrillic and converts the Latin.

Related tools