Skip to content
Jellykit

CONSTANT_CASE Converter

Convert names to CONSTANT_CASE (SCREAMING_SNAKE_CASE) for constants and environment variables. Paste a list, one per line. Free developer tool.

Runs in your browser. Nothing is uploaded.

About CONSTANT_CASE Converter

CONSTANT_CASE is snake_case in capitals, like MAX_RETRY_COUNT. It marks values that never change in JavaScript, Java, Python and C, and it's the standard format for environment variables such as DATABASE_URL.

Paste names in any style, one per line. camelCase word boundaries are detected automatically.

How to use CONSTANT_CASE Converter

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. The result appears instantly as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Why do environment variables use CONSTANT_CASE?

It's a long-standing Unix convention that makes them stand out from ordinary variables, and most shells treat names as case-sensitive.

Can it handle mixed input?

Yes. Spaces, hyphens, dots, underscores and camelCase boundaries all become underscores.

Is CONSTANT_CASE Converter free and private?

Yes. CONSTANT_CASE Converter is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all text tools →