CONSTANT_CASE
All uppercase words joined by underscores - the universal convention for constants and environment variables. Supports up to 50,000 characters.
Programming Tools
Input Text
0 / 50,000
Converted Text
Result will appear here…
About
What is CONSTANT_CASE?
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) writes all words in uppercase separated by underscores. It is the universally recognised signal that a value is immutable - a constant that will not change at runtime. Every major programming language, CI/CD platform, and operating system uses this convention for environment variables and compile-time constants, making it one of the most instantly recognisable patterns in all of software development.
Example
Input
maximum retry count
Output
MAXIMUM_RETRY_COUNT
Usage
When to use CONSTANT_CASE?
Environment variables
Every environment variable on every platform follows CONSTANT_CASE - DATABASE_URL, API_SECRET_KEY, NODE_ENV, PORT, AWS_REGION.
JavaScript & TypeScript constants
Module-level immutable values use CONSTANT_CASE to signal intent - MAX_RETRIES, DEFAULT_TIMEOUT, BASE_API_URL.
Redux & state action types
Redux action type strings conventionally use CONSTANT_CASE - FETCH_USER_SUCCESS, UPDATE_CART_ITEM, RESET_AUTH_STATE.
Config & feature flags
Feature flag keys and configuration identifiers across tools like LaunchDarkly, Split, and dotenv all use CONSTANT_CASE for clarity.
Try More