Forgly

camelCase to kebab-case Converter

Convert camelCase to kebab-case.

Try an example:

Converting camelCase to kebab-case

kebab-case joins lowercase words with hyphens — common in URLs, CSS class names, and HTML attributes. This converts camelCase identifiers into it.

How to convert camelCase to kebab-case by hand

  1. Split at each lowercase-to-uppercase boundary.
  2. Lowercase every word.
  3. Join the words with hyphens.

Worked example

camelCaseTextcamel-case-text

More converters

Frequently asked questions

How do I convert camelCase to kebab-case?

Split at each lowercase-to-uppercase boundary. Lowercase every word. Join the words with hyphens. Or just use the converter on this page — it does it instantly. Example: camelCaseText becomes camel-case-text.

What is camelCaseText in kebab-case?

camelCaseText converts to camel-case-text.

Is this converter free and private?

Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.