SCREAMING_SNAKE_CASE Converter

All uppercase, words separated by underscores. Used for constants.

0 words0 chars
0 words0 chars

What is SCREAMING_SNAKE_CASE?

SCREAMING_SNAKE_CASE (also called MACRO_CASE or CONSTANT_CASE) writes all letters in uppercase with underscores between words. It's the uppercase version of snake_case.

InputSCREAMING_SNAKE output
max connectionsMAX_CONNECTIONS
database urlDATABASE_URL
default timeout secondsDEFAULT_TIMEOUT_SECONDS
api base urlAPI_BASE_URL

Where SCREAMING_SNAKE_CASE is used

Frequently asked questions

Convention. Using a visually distinct format for constants makes it immediately clear that a value shouldn't be changed — it stands out from regular variables. This convention dates back to C programming and has been adopted across most languages.

Related tools