Kebab Case to Snake Case Converter
Turn kebab-case identifiers such as user-profile-image into snake_case such as user_profile_image.
Free, private, and processed in your browser.
Detected: snake_case
snake_case output
user_profile_image_url
All naming formats
camelCase
userProfileImageUrlPascalCase
UserProfileImageUrlsnake_case
user_profile_image_urlkebab-case
user-profile-image-urlCONSTANT_CASE
USER_PROFILE_IMAGE_URLdot.case
user.profile.image.urlpath/case
user/profile/image/urlConversion happens locally in your browser. Your input is not sent to a conversion server.
Examples
| Input | Output |
|---|---|
| user-profile-image | user_profile_image |
| created-at | created_at |
| api-response-url | api_response_url |
How this converter works
Paste text or an identifier above. The tool detects word boundaries and common separators, then formats the result using the selected naming convention.
- Hyphens are treated as word boundaries and replaced with underscores.
- The output is normalized to lowercase snake_case.
Common use cases
Move hyphenated config, CSS-style, or slug names into Python, SQL, or data-field conventions.
Normalize imported identifiers before mapping them to database columns or API payload fields.