This tool converts text into CONSTANT_CASE — uppercase words joined by underscores — perfect for constants and env vars, in your browser.
How to use it
- Paste any text or identifier.
- It becomes UPPER_SNAKE_CASE.
- Copy the constant-case result.
About CONSTANT_CASE Converter
Constants and environment variables conventionally use UPPER_SNAKE_CASE. This tool uppercases your text, splits camelCase boundaries, and joins words with underscores to produce a clean constant name. It runs entirely in your browser, keeping your input private.
FAQ
What is CONSTANT_CASE?
Uppercase words joined by underscores, like MAX_RETRY_COUNT — used for constants and env vars.
Does it split camelCase input?
Yes — boundaries like maxRetry become MAX_RETRY.
Where is it used?
For language constants, configuration keys and environment variable names.