Snake Case to Kebab Case Converter

Convert your snake_case variables to kebab-case instantly

Examples:

user_iduser-id
first_namefirst-name
total_amount_calculatedtotal-amount-calculated
api_response_dataapi-response-data
is_active_flagis-active-flag

How to Use This Tool

Our Snake Case to Kebab Case Converter is simple to use:

What is snake_case and kebab-case?

snake_case is a naming convention where words are separated by underscores (_). It's commonly used in Python, Ruby, and database column names.

kebab-case (also called hyphen-case) is a naming convention where words are separated by hyphens (-). It's widely used in HTML attributes, CSS classes, and URL slugs.

Why Convert Between Naming Conventions?

Different technologies use different conventions. You might need to convert between these styles when:

Common Use Cases

Technical Details

This converter handles all edge cases including: