CONSTANT_CASE Converter
Paste text and get it converted line by line.
Free · Runs in your browser · Your text is never uploaded
About CONSTANT_CASE
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses uppercase words joined by underscores. It is the convention for constants and environment variables.
Example: user first name → USER_FIRST_NAME. Each line is converted separately, so you can paste a whole list of names. Nothing is sent to a server.
CONSTANT_CASE
CONSTANT_CASE uses uppercase letters and underscores: MAX_RETRY_COUNT. It marks values that should not change, such as constants and environment variables like DATABASE_URL.
Converting between styles
Different languages prefer different styles: JavaScript uses camelCase for variables and CONSTANT_CASE for constants, Python uses snake_case, and CSS uses kebab-case. When you move a name between systems, the converter splits it into words first, so userAccountName, user_account_name and USER-ACCOUNT-NAME all become USER_ACCOUNT_NAME.
Need more options? Open the full Case Converter.
Related guides
Frequently asked questions
What is CONSTANT_CASE?
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses uppercase words joined by underscores. It is the convention for constants and environment variables.
Can I convert many lines at once?
Yes. Each line is converted on its own.
Is my text uploaded?
No, it stays in your browser.