Text Tool
Camel to Kebab Case
Camel to Kebab Case helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.
Tool area
Everything runs in the browser.
Reference results
| Input | Result |
|---|---|
deliveryDate | delivery-date |
maxItemsPerPage | max-items-per-page |
parseHTTPHeader | parse-httpheader |
How it works
The converter inserts a hyphen between a lowercase letter or digit and an uppercase letter. It lowercases the text and leaves whitespace in place. Consecutive capitals may stay attached to the following word.
Worked examples
A developer converts a delivery field name for an attribute and checks the project’s naming convention before using it.
Input:
deliveryDateResult:
delivery-dateA team renames a pagination option and updates the code that calls it at the same time.
Input:
maxItemsPerPageResult:
max-items-per-pageA technical writer tries a name containing HTTP and checks whether the style guide calls for another hyphen.
Input:
parseHTTPHeaderResult:
parse-httpheader
Common mistakes
- Review boundaries around acronyms.
- Keep the old key if other components still depend on it.
- Compare converted keys for collisions.
FAQ
Does it lowercase the whole string?
Yes, after inserting the separators.
Why does HTTPHeader stay together?
The boundary rule looks for lowercase or a digit followed by uppercase.
Can I convert several names at once?
Process them individually to preserve each identifier.
