CONSTANT_CASE converter
Turn phrases or camelCase names into CONSTANT_CASE, also called SCREAMING_SNAKE_CASE, for constants and environment variables.
Runs in your browserNothing uploadedWorks offline
Set up for this job. It runs on Case converter, where every option is there to change.
Loading CONSTANT_CASE converterRuns on this device. Nothing is uploaded.
Questions
Where is CONSTANT_CASE used?
Mostly for constants in code and for environment variable names, such as MAX_RETRIES or DATABASE_URL.
How does it split camelCase?
Capital humps mark word breaks, so maxRetryCount becomes MAX_RETRY_COUNT. Spaces, hyphens and other punctuation split words too.
Can I convert a whole list at once?
Yes. Each line is converted on its own and empty lines are kept.
Related tools
All text and documents toolsText and documentstxt md plainCase converterChange text to UPPER, lower, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE as you type.Text and documentstxt md plaincamelCase converterTurn phrases, column names or snake_case into camelCase identifiers, one per line, as you type.Text and documentstxt md markdownCharacter counterCount characters as you type, spaces included, with the count without spaces, words and sentences next to it.Text and documentstxt md plainClean AI textFix text pasted from ChatGPT, Claude and terminals: show and remove hidden characters, rejoin broken lines, fix quotes, spaces and Markdown.Text and documentstxt md csvCompare text (diff)Compare two texts or files side by side or inline, by line, word or character, with changes highlighted and a downloadable patch.Text and documentstxt md plainConvert to lowercaseChange any text to lower case in one go, keeping line breaks, spacing, digits and punctuation exactly as they were.