PascalCase to CONSTANT_CASE Converter

Converts identifiers from PascalCase (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 →

PascalCase to CONSTANT_CASE Examples

PascalCase 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 PascalCase and CONSTANT_CASE?

PascalCase (Every word begins with a capital letter, with no delimiters or spaces.) is primarily used for Standard for classes, interfaces, and React/Vue component names in C#, TypeScript, Python, Go.. 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