Slug Generator

Turn any title into a clean URL-friendly slug as kebab-case, camelCase, PascalCase or snake_case. Handles accents, spaces and any language.

The conversion happens locally in your browser. Nothing leaves your device.

kebab-case (URL)
camelCase
PascalCase
snake_case

How It Works

Type or paste any title — in English, Spanish, or with accents — and the four outputs update live as you type. Each word in your title becomes one word in every output format, separated by the format's own rules: hyphens for URLs, capital letters for camelCase and PascalCase, underscores for snake_case.

Accent and Unicode handling
Before conversion, the text is normalized with Unicode NFD decomposition, which separates base letters from their diacritics — the marks are then dropped, so 'Résumé' becomes 'resume' and 'Café' becomes 'cafe'. Characters without an ASCII base (Chinese, Cyrillic, Arabic, …) are removed.
Word splitting
Words are split on spaces, punctuation and existing separators (hyphens, underscores, dots). Existing capitalization is respected: 'iPhone' in your input yields 'iphone' in kebab-case but keeps its meaning in camelCase, since the splitter also looks at case boundaries.
Why four formats?
One title often feeds several places at once: the URL (kebab-case), a JavaScript constant (camelCase), a React component (PascalCase) and a Python or Ruby identifier (snake_case). Having all four in front of you avoids re-typing and mismatched names.

Frequently Asked Questions

What is a slug?

A slug is the short, human-readable part of a URL that identifies a page — for example /blog/hello-world. Slugs use lowercase letters, numbers and hyphens, so they are safe in URLs, easy to type and look good in search results.

Does it handle accented characters?

Yes. Accents are stripped before conversion: 'Café' becomes 'cafe', 'naïve' becomes 'naive'. This is done with Unicode normalization, so most Latin-script characters with diacritics are handled correctly.

What happens with Chinese or other non-Latin characters?

Non-Latin characters that have no ASCII equivalent (Chinese, Japanese, Arabic, Cyrillic and others) are removed. To get meaningful slugs from such titles, first transliterate the text into Latin characters, or use the text only as a label next to the slug.

Which output formats are provided?

Four at once: kebab-case (lowercase with hyphens — the classic URL slug), camelCase, PascalCase and snake_case. The four formats are perfect for URLs, JavaScript variables, class names and Python identifiers.

Is my input sent to a server?

No. The conversion runs entirely in your browser as you type. Nothing is stored, tracked or uploaded — the page keeps working even with the internet turned off.