Input text
Target style
Output
Choose an operation to start

Case Style Converter

Re-pack an identifier into the target style after splitting it into words: camelCase, snake_case, kebab-case, PascalCase or CONSTANT_CASE. Handy when renaming legacy code or matching a different language SDK.

Splitting recognises camelCase boundaries, underscores, hyphens and digit/letter edges; everything stays local to the browser.

Features

How to use

  1. Enter text on the left, e.g. my_variable_name or MyVariableName.
  2. Pick the target style on the right.
  3. The result updates instantly; click Copy to take it.

FAQ

How are digits handled?

Digits are treated as their own word segment — v2api splits into v, 2, api, so the number is preserved intact rather than glued to a neighbouring letter.

CONSTANT_CASE vs snake_case?

Both separate words with underscores; CONSTANT_CASE is all uppercase (used for macros, constants and enums), while snake_case is all lowercase (common for Python names).

Does this page collect my data?

No. The content is either baked into the HTML at build time or every calculation runs locally in your browser, so your input is never sent to any server. Apart from the footer traffic counters (Baidu Analytics and our self-hosted visitor counter, see the privacy policy), this site collects nothing about your visit.

Related tools & reading

Feedback

This site is front-end only — no backend, no accounts — so feedback goes to GitHub Issues, Discussions, or email.

Paste it into the issue or email to help track it down — it never includes anything you typed

Also:Browse existing issues · Email feedback (no GitHub account needed):278975598@qq.com