Skip to tool

JavaScript Kebab case Online

Convert to kebab-case.

The output updates as you type. The tool processes input in your browser.

Worked example

Kebab case joins normalized words with hyphens. Decode or percent-encode URL data at the appropriate boundary.

Sample input
manuals plus docs
Sample output
manuals-plus-docs

Using this operation in JavaScript

The interactive result uses JavaScript. JavaScript string indexes count UTF-16 code units. Use code-point iteration when working with supplementary Unicode characters.

JavaScript reference