Developer Case Tool
CONSTANT_CASE Converter
Convert text to CONSTANT_CASE for environment variables and constants.
Features
All Uppercase Output
Every letter is converted to uppercase — the defining characteristic of CONSTANT_CASE.
Underscore Word Separation
Words are joined with underscores, making long names highly readable.
Handles All Input Formats
Converts from camelCase, PascalCase, snake_case, kebab-case, and natural language.
How to Use
- 1
Enter your constant name or phrase
Paste a variable name, phrase, or existing identifier.
- 2
Get CONSTANT_CASE output
The output appears in UPPERCASE_WITH_UNDERSCORES format instantly.
- 3
Use in configuration or code
Copy the result for use in .env files, Dockerfile, or code constants.
Examples
Config key
Input
database connection urlOutput
DATABASE_CONNECTION_URLFrom camelCase
Input
maxRetryCountOutput
MAX_RETRY_COUNTAPI key name
Input
stripe secret keyOutput
STRIPE_SECRET_KEYCommon Questions
It is called 'screaming' because it is in ALL CAPS (as if shouting), and 'snake' because words are separated by underscores like snake_case.
Use CONSTANT_CASE for values that are fixed at compile time or loaded once from the environment and never change at runtime — constants, environment variables, enum values.