snake_case to CONSTANT_CASE Converter

Converts identifiers from snake_case (e.g. user_account_status) to CONSTANT_CASE (e.g. USER_ACCOUNT_STATUS). Runs 100% in-browser with multi-line batch support.

Open the full tool: All Case Converters →

snake_case to CONSTANT_CASE Examples

snake_case CONSTANT_CASE
user_id USER_ID
created_at CREATED_AT
api_key_token API_KEY_TOKEN
first_name FIRST_NAME
order_item_count ORDER_ITEM_COUNT
http_response_code HTTP_RESPONSE_CODE
max_retry_attempts MAX_RETRY_ATTEMPTS

FAQ

What is the difference between snake_case and CONSTANT_CASE?

snake_case (All words are lowercase, separated by underscores `_`.) is primarily used for Standard for variables and functions in Python, Ruby, Rust, and SQL database column names.. In contrast, CONSTANT_CASE (All uppercase letters, separated by underscores `_`. Also known as SCREAMING_SNAKE_CASE.) is the standard for Standard for global constants, environment variables (.env), and enum definitions across languages..

Are multi-line inputs supported?

Yes. You can paste lists of variable names, database column names, or JSON keys separated by newlines to convert them all at once.

Is my code private?

Yes, 100% private. All conversions happen entirely in your local web browser using client-side JavaScript. No data is sent to any server.

🔗 Share this page

TelegramWhatsAppX