
Switch between upper, lower, title, sentence, camel, snake and kebab case.
Turn titles into clean URL slugs with transliteration and separator options.
Your files never leave your device. Everything runs in your browser.
Slug Generator turns a title, headline or file name into a clean, URL-safe slug as you type. It removes punctuation, folds accents, collapses repeated separators and, with the Lowercase box ticked as it is by default, puts everything in lower case. You choose hyphens or underscores, optionally cap the length, and copy the finished slug with one button.
The conversion follows a fixed pipeline, so results are predictable: the text is lowercased if requested, normalised to NFKD, and combining accent marks are stripped so accented Latin letters fold to their base forms. Every character that is not a letter, digit, space, hyphen or underscore then becomes a space, and runs of spaces, hyphens and underscores collapse into the single separator you picked. “Café au Lait & Crème” becomes cafe-au-lait-creme, and “My Awesome Blog Post!” becomes my-awesome-blog-post.
Because everything runs in the page, drafts, private titles and client names can be converted without pasting them into a form that stores them. The tool keeps no history and sends nothing anywhere.
A slug is the readable part of a URL that identifies a page, usually built from its title. A page titled “10 Tips for Better Sleep” would typically live at /10-tips-for-better-sleep.
Search engines treat hyphens as word separators, so /my-blog-post reads as four separate words, while underscores are generally treated as part of one long word. Use hyphens for web addresses and keep underscores for file names or code, where they are the norm.
The tool removes accents by mapping accented Latin letters to their base forms, such as é to e. Characters without a mapping — including ß, ø, Cyrillic, Greek and CJK — cannot be folded and are dropped, so a Russian or Japanese title can produce an empty slug. Transliterate it first or type it in Latin letters.
Yes. Untick Lowercase and the original capitalisation is kept, so “My Blog” becomes My-Blog. All-lower-case is usually safer because some servers treat /My-Blog and /my-blog as different addresses.
Zero disables the length cap entirely. Any positive number cuts the slug at that many characters and then removes a trailing separator left behind by the cut. The field accepts values up to 200.
No. The slug is built in your browser from what you type, and nothing is uploaded, stored or logged.
Related text tools: Case Converter, Line Tools, Markdown Editor, Word Counter.
Slugs are generated entirely in your browser — the text you type is never uploaded or stored.