Skip to content
Takikit

CONSTANT_CASE Converter

Converts a phrase into an uppercase constant joined by underscores, often used for environment variables.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this to name constants in code or environment variables in .env files, Docker or CI config, for example turning a max orders heading into SO_DON_TOI_DA.

Digits are kept and all Vietnamese accents are removed. If the phrase is already in camelCase like maxRetry, it is still split correctly into MAX_RETRY.

How to use

  1. Paste your text into the left box.
  2. The result appears instantly.
  3. Click Copy or Download.

Frequently asked questions

Is my text sent to a server?

No. The tool runs entirely in JavaScript in your browser, and the text you paste never leaves your device.

Why were the accents removed from my text?

Variable names, file names and config keys with Vietnamese accents easily cause errors in many programming languages and systems, so the tool removes the accents and turns đ into d.

Related tools

More Text tools

See all text tools