Skip to content
Convertto
uppercaseconstantcase

UPPERCASE to CONSTANT_CASE Converter

Convert UPPERCASE text to CONSTANT_CASE — one line or a whole list at once.

To convert UPPERCASE to CONSTANT_CASE, paste your text above and the result updates as you type. USER ACCOUNT ID becomes USER_ACCOUNT_ID. Word boundaries are detected from the existing casing, so an identifier does not need separators to be split correctly. CONSTANT_CASE marks compile-time constants and environment variables across nearly every language.

Runs in your browser

About converting UPPERCASE to CONSTANTCASE

Full uppercase is a display choice, not a naming convention. Set it in CSS with text-transform rather than in the data, so the original stays searchable. CONSTANT_CASE marks compile-time constants and environment variables across nearly every language. Converting UPPERCASE to CONSTANT_CASE turns USER ACCOUNT ID into USER_ACCOUNT_ID; acronyms are the awkward case in every direction, since "userID" and "userId" split differently and only one of them round-trips.

Convert CONSTANTCASE to UPPERCASE insteadOpen the full Case Converter

Share this converter