About Slug Generator
A slug is the readable part of a URL, like /how-to-format-json. Paste titles, one per line, and each becomes a slug: accents are removed (Crème → creme), & becomes “and”, apostrophes disappear and every run of spaces or punctuation turns into a single hyphen.
Handy for blog posts, product pages and file names. The conversion runs in your browser, so you can paste unpublished titles freely.
How to use it
- Paste one title per line into the Input box.
- Choose a Separator: hyphen (best for URLs) or underscore.
- Leave Lowercase on for standard slugs, or switch it off to keep the original capitals.
- Copy the slugs from the right; they stay in the same order as your titles.
Frequently asked questions
Why hyphens rather than underscores?
Search engines treat hyphens as word separators, so “format-json” reads as two words. Underscores are better for file names or identifiers.
What happens to non-Latin text?
Accented Latin letters are simplified, and ß, æ, ø, đ and ł are spelled out. Other scripts such as Cyrillic or Greek are kept as they are, since modern browsers and servers handle them in URLs.
Are numbers kept?
Yes. Letters and digits are kept; everything else becomes the separator, and separators at the start or end are trimmed.