inyourbrowser.com

Text to kebab-case Converter

Convert text to kebab-case, the format used in CSS class names, URL slugs, and HTML attributes. All processing runs in your browser.

Input
Output

CONVERT TO

Currently converting to kebab-case.

Runs entirely in your browser

How it works

The tool tokenises your input by splitting on spaces, underscores, hyphens, and camelCase boundaries, then rebuilds the words in the target case format. Everything runs in JavaScript inside your browser tab.

Processing runs in your browser

All conversion happens using the browser's built-in JavaScript engine. Our servers are not involved at any point.

Related operations

For swapping substrings across pasted text, try find and replace. To alphabetise or dedupe lines after converting, use sort lines. For checking length after a case change, see the word counter.

Frequently asked questions

What is kebab-case?
kebab-case joins words with hyphens in lowercase: 'Hello World' becomes 'hello-world'.
Where is kebab-case used?
CSS class names, HTML attributes, URL slugs, and CLI flags commonly use kebab-case.
Can it convert from camelCase?
Yes. It splits camelCase boundaries as well as spaces and underscores.
Is my text sent to a server?
All processing runs in your browser using JavaScript. Our servers are not involved at any point.

Related tools

Word counter
Count words, characters, sentences, and paragraphs. All processing runs in your browser.
Text diff
Inline or side-by-side comparison. Handles plain text and structured diffs.
Slug generator
Convert any text into a URL-safe slug. Handles diacritics, special characters, and custom separators.
Sort lines
Sort lines alphabetically, by length, or shuffle randomly. Remove duplicates and empty lines in one click.