How to create a URL slug from a title
- Paste one or more titles into the Titles box, one per line.
- Choose a separator: hyphen, underscore, dot or none.
- Set an optional max length and tick Lowercase, Transliterate accents or Remove stopwords.
- Copy the generated slugs from the output box.
What you can do with Slug Generator
- Bulk conversion
- Paste a whole list of titles and get one slug per line in the same order, ready for a spreadsheet or CMS import.
- Accent transliteration
- Converts é to e, ü to u, ß to ss, æ to ae and & to and, so slugs stay readable in plain ASCII.
- Stopword removal
- Optionally drops filler words such as a, the, of and and to keep slugs short and focused on the keywords.
- Max length trimming
- Set a character limit and the slug is trimmed, usually at the last separator before the limit so words aren't chopped in half.
- Choice of separator
- Use hyphens for web URLs, underscores or dots for file names and identifiers, or no separator at all.
What makes a good SEO-friendly URL slug
A slug is the readable part of a URL that identifies a page, like merge-pdf in pandev.site/merge-pdf/. Google's URL guidelines recommend simple, descriptive URLs and suggest hyphens rather than underscores to separate words, because hyphens are read as word separators. Good slugs are lowercase, short and contain the main keyword of the page. They matter for people too: a clean slug tells readers what they'll get before they click, and a link looks more trustworthy when it's shared in chat or on social media.
Some practical rules: keep slugs to three to five words where possible, leave out dates and years if you plan to update the content, and avoid changing a slug after publishing unless you set up a 301 redirect from the old URL. Non-Latin scripts such as Cyrillic, Arabic or Chinese are kept as letters rather than transliterated, which is valid in modern URLs but will appear percent-encoded in some places. Apostrophes are removed entirely, so don't becomes dont rather than don-t.
Frequently asked questions
Is this slug generator private?
Yes. Slugs are generated in your browser using JavaScript, and your titles are never uploaded or stored. You can paste unpublished headlines or client content without any of it leaving your device.
Should I use hyphens or underscores in URLs?
Use hyphens. Google recommends hyphens to separate words in URLs because it reads them like spaces, while underscores can cause words to be read as one. Underscores and dots are offered for file names, code identifiers and systems that require them.
Should I remove stopwords from slugs?
Often, yes. Removing words like a, the, how and to makes slugs shorter and more focused, so how-to-merge-a-pdf becomes merge-pdf. Keep them when removing them changes the meaning. If every word in a title is a stopword, the tool keeps them all.
How long should a URL slug be?
There is no hard limit, but short slugs are easier to read, share and remember. Aim for roughly three to five words, or under about 60 characters. Use the Max length field to enforce the same limit across a whole list of titles.
What happens to emoji and symbols?
Emoji, punctuation and symbols such as !, ?, # and © are removed and treated as word breaks. With transliteration on, the ampersand is turned into the word and. Letters and digits from any language are kept.