camelCase to CONSTANT_CASE Converter

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

Open the full tool: All Case Converters →

camelCase to CONSTANT_CASE Examples

camelCase CONSTANT_CASE
userId USER_ID
createdAt CREATED_AT
apiKeyToken API_KEY_TOKEN
firstName FIRST_NAME
orderItemCount ORDER_ITEM_COUNT
httpResponseCode HTTP_RESPONSE_CODE
maxRetryAttempts MAX_RETRY_ATTEMPTS

FAQ

What is the difference between camelCase and CONSTANT_CASE?

camelCase (First word starts with lowercase, subsequent words are capitalized, no spaces or delimiters.) is primarily used for Standard for variables, object properties, and functions in JavaScript, TypeScript, Java, Swift.. 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