CONSTANT_CASE converter

Write capital letters joined by underscores, the standard for constants and environment variables.

Advertisement

0 characters, 0 words
0 characters, 0 words

Advertisement

About this tool

CONSTANT_CASE, also called SCREAMING_SNAKE_CASE, writes every word in capitals and joins them with underscores. It signals a value that should not change.

You see it in constants, configuration keys and environment variables across most programming languages.

Example

Beforemax retry count
AfterMAX_RETRY_COUNT

When to use it

Advertisement

Questions

What is it used for?

Names that never change while a program runs, such as MAX_SIZE or API_URL, and environment variables such as DATABASE_URL.

How is it different from snake_case?

The letters are all capitals instead of lowercase.

Does it keep numbers?

Yes. Numbers stay in place and symbols are removed.

Other case converters

More text tools