CaseWren

CONSTANT_CASE Converter

Turn phrases into SCREAMING_SNAKE_CASE constants.

0 Characters · 0 Words · 0 Lines

About the CONSTANT_CASE Converter

CONSTANT_CASE — also called SCREAMING_SNAKE_CASE or MACRO_CASE — uppercases every word and joins them with underscores: "max retry count" becomes MAX_RETRY_COUNT. It is the universal signal for "this value never changes": environment variables, C/C++ macros, Java and Python constants, and enum members.

Paste a setting name, secret key or config description and get a constant that looks right in a .env file or a header file. Mixed input formats are fine — maxRetryCount and max-retry-count both become MAX_RETRY_COUNT.

How to use it

  1. 1Paste a setting name, env key or constant description.
  2. 2The CONSTANT_CASE version appears instantly — uppercase words joined by underscores.
  3. 3Copy it into your .env file, constants module or enum definition.

Frequently asked questions

Related tools

Search CaseWren tools

Search all 147 tools…