Word Counter - Count Words, Characters & Reading Time
Essays, speeches, blog posts and application forms all come with word limits. Paste or type your text below and every count updates live - no button to press, nothing uploaded, and the estimate of reading and speaking time helps you plan presentations and videos.
Free CONSTANT_CASE Converter
Convert any text to CONSTANT_CASE instantly. Paste your text — the result updates live, free, with no sign-up.
About this tool
CONSTANT_CASE (SCREAMING_SNAKE_CASE) is how programmers mark values that must never change: MAX_RETRIES, API_BASE_URL, DEFAULT_TIMEOUT. The shouting is intentional — it signals "this is a fixed constant" at a glance in any file.
Environment variables follow the same rule (DATABASE_URL, NODE_ENV, JWT_SECRET), which is why a .env file looks like it is shouting at you — it is, deliberately.
Worked example
['A developer defines MAX_LOGIN_ATTEMPTS = 5 instead of maxLoginAttempts — every reader instantly knows the value is a fixed limit, not a variable that changes.']
Where CONSTANT_CASE is used
CONSTANT_CASE — uppercase words joined by underscores — marks values that never change. MAX_RETRIES, DEFAULT_TIMEOUT and API_BASE_URL announce themselves across a whole codebase: this is a fixed configuration value, set once, not a variable in play. Python, JavaScript, Java and Go style guides all reserve this case for constants and configuration.
Its most important habitat is the environment variable: DATABASE_URL, STRIPE_SECRET_KEY and NODE_ENV are CONSTANT_CASE because shells and deployment systems standardised on it decades ago. When you are defining a setting that a whole application reads — in code, in a .env file or in a CI pipeline — this is the case that every tool in the chain expects.
Frequently asked questions
Is CONSTANT_CASE just snake_case in capitals?
Yes — the transformation is identical, only the case differs. The convention is what changes the meaning: constants get the capitals, variables do not.
Should config keys always be upper-case?
For environment variables, yes — the convention is near-universal. For in-code constants, most style guides agree.
What belongs in CONSTANT_CASE — and what does not?
True constants and configuration: values fixed when the program starts, like MAX_UPLOAD_SIZE or TAX_RATE. Ordinary variables that change while the program runs stay in camelCase or snake_case. The case is a promise — readers trust that a CONSTANT_CASE name never changes value, so breaking that promise makes code genuinely confusing.
Related Text Tools
Embed this tool on your website — free
Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.