Toolbox / Case converter Runs in your browser中文
Converter

Case converter

Convert between 14 text styles, including camelCase, PascalCase, snake_case, and CONSTANT_CASE.

Ctrl / ⌘ + Enter Run

Ready when you are

01

Add your contentPaste text or try a sample

02

Choose an actionClear options. Predictable results.

03

Take it with youCopy, download and carry on

Less switching. More focus.Functional build · Validation in progress

Using this tool

Normalize capitalization and word separators for identifiers, path fragments and headings.

Actions: Convert

Example

Choose snake_case: acronym boundaries, camel case and hyphens become underscore-separated words.

Example action and settings

Action: Convert
Output style: snake_case

Input / action

XMLHttpRequest foo-bar

Result / expected behavior

xml_http_request_foo_bar

Available options: Output style

Scope and limitations

  • Naming styles extract letters and numbers and discard punctuation; they do not validate programming identifiers.

Common mistakes

  • For capitalization only with punctuation preserved, choose lowercase or UPPERCASE rather than a naming style.

Related tools

List converter Text to NATO alphabet

Privacy and browser support

Input is processed in this browser. Do not use real keys or active sensitive credentials as demonstration data. Device features require browser support and your permission.