Saisissez du texte
Style cible
Sortie
Choisissez une opération pour commencer

Convertisseur de Style de Casse

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

Commentaires

Ce site est uniquement frontal : pas de backend ni de compte. Les commentaires vont sur GitHub Issues, Discussions ou par e-mail.

Collez ceci dans l'issue ou l'e-mail pour m'aider à localiser le problème ; cela n'inclut rien de ce que vous avez saisi

Aussi :Voir les commentaires existants · Commentaires par e-mail (sans compte GitHub) :278975598@qq.com