kebab-case to CONSTANT_CASE Converter
Converts identifiers from kebab-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 →
kebab-case to CONSTANT_CASE Examples
| kebab-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 kebab-case and CONSTANT_CASE?
kebab-case (All words are lowercase, separated by hyphens `-`.) is primarily used for Standard for SEO URL slugs, CSS class names, HTML attributes, and Git branch 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.