Searching for a 驼峰命名 to 短横线命名 converter usually means you have messy text and need a dependable 短横线命名 version fast. Paste anything in the box above—sentences, product names, or variable fragments—and the result updates live. As a quick check, “Hello World Example” becomes “hello-world-example”.
Words are lowercase and separated by hyphens (-).
Often used in HTML attributes, CSS classes, and route slugs. Teams often land here from 驼峰命名 searches when they already have a draft string and want reliable 短横线命名 output.
Suppose you are cleaning up copy before publish:
You get: hello-world-example — ready to copy into your doc, CMS, or codebase.
camelCase identifiers such as userProfileId.
Helpful reference when your source string already looks like 驼峰命名.
Produces kebab-case tokens that work in URLs and CSS.
This page outputs 短横线命名 so you can paste into docs, UI, or repositories.
CSS class from camel property?
Use spaced words: `primary Button` → `primary-button`. `primaryButton` becomes `primarybutton` without spaces.
Route slug from camel route name?
Insert spaces at capitals mentally, paste `user Profile`, get `user-profile`.
npm package naming?
Scoped packages often use kebab; split camel names before converting.
Compare to lower + manual hyphen?
Kebab conversion replaces spaces/underscores with hyphens—plan your source spacing accordingly.
Use this 驼峰命名 to 短横线命名 page when you want fast, readable 短横线命名 text without a spreadsheet formula or manual retyping. Bookmark it for the next time design, marketing, or engineering needs the same casing call.