Rename variables across naming styles

A database column named user_name has to become userName in code, or the reverse. Paste the whole list and convert it in one pass.

Tools used in this guide

The job

Codebases disagree on naming. The API returns snake_case keys, the linter wants camelCase variables, and CSS classes want kebab-case. Doing this by hand is fine for two names; for forty it is error-prone. The identifier case converter takes a whole list at once — paste the names, pick the style, copy the result.

Converting a list

Paste one identifier per line. Blank lines pass through so you can keep groups visually separated. Pick the target — camelCase for JavaScript variables, snake_case for Python or database columns, PascalCase for classes, kebab-case for CSS class names or URL parts, SCREAMING for constants.

  • Mixed input is fine: `userName`, `user_name`, and `User-Name` all detect the same two words.
  • Acronyms split cleanly: `XMLHttpRequest` becomes `xml_http_request` in snake, not `x_m_l_http_request`.
  • Digits split from letters: `utf8` converts as the two words `utf` and `8`.

Worked example

A JSON payload has keys `user_name`, `created_at`, `avatar_url`. For a TypeScript interface you paste the three names, pick camelCase, and get `userName`, `createdAt`, `avatarUrl` — ready to drop into the interface definition.

Where it stops

It converts words, not files — it won't rename symbols across your codebase; use your editor's rename refactor for that. Up to 200,000 characters and 5,000 lines per run, and everything happens in the browser, so even a private API name list never leaves the machine.