URL Slug Generator
Turn any title into a clean slug, with accents and special characters removed.
Options
Type one or more titles to generate their slugs.
How do you turn a title into an SEO-friendly URL slug?
A slug is the readable part of a URL that identifies a page — in docuboxer.com/url-slug-generator, "url-slug-generator" is the slug. Search engines and browsers expect slugs to use only lowercase letters, numbers, and hyphens: anything else gets percent-encoded into unreadable characters or simply breaks the link when it's copied or shared. This tool turns any title into a clean, SEO-friendly slug entirely in your browser — stripping accented characters, symbols, quotes, and emoji, and collapsing repeated spaces or hyphens into a single separator. Convert one title at a time or paste a whole list in batch mode, with automatic duplicate detection so two similar titles never collide. Free, no signup, and nothing ever leaves your device.
How to use URL Slug Generator
- Type or paste the title of your post, product, or page into the input field.
- Pick a separator (hyphen or underscore) and adjust the options: lowercase, remove stop words, allow numbers, or set a maximum length.
- Copy the generated slug with one click, or download it as a .txt file.
- For many titles at once, switch to batch mode and paste one title per line — the tool builds a column of slugs and automatically appends -2, -3 suffixes when two titles collide.
Common use cases
Publishing blog posts with clean URLs
Turn each post title into a short, readable slug before publishing, instead of letting the CMS auto-generate a URL full of encoded characters or cut off mid-word.
Standardizing an e-commerce product catalog
Batch-generate slugs for hundreds of product names at once, with the same separator and rules applied consistently across the whole catalog.
Migrating URLs when switching platforms
When old URLs contained accents or mixed case, generate the clean equivalent slug to set up correct 301 redirects during a CMS migration.
Naming files and storage keys safely
Apply the same URL-slug rules to filenames, folder names, or storage keys that shouldn't contain spaces, accents, or special characters.
Bulk-converting a spreadsheet column before import
Paste an entire column of titles exported from a spreadsheet and get back the matching column of slugs, ready to paste back in before a bulk import.
Frequently asked questions
What is a URL slug?
It's the part of a URL that identifies a specific page, usually derived from its title. A good slug is short, readable, and uses only lowercase letters, numbers, and hyphens.
Why should a slug avoid accented characters and special symbols?
Characters outside plain ASCII get percent-encoded in the actual URL, making it unreadable and fragile when copied or shared. That's why this tool converts accented letters to their plain equivalent instead of just dropping them.
What's the ideal length for an SEO-friendly slug?
There's no hard limit, but keeping it short and descriptive — generally under 60 characters — makes it easier to read in search results and to remember or type.
Should I use a hyphen or an underscore in URLs?
Google recommends the hyphen: it's treated as a word separator, while an underscore can merge two words into one for indexing purposes. Underscores still make sense for filenames or variable names.
What happens if two titles produce the same slug in batch mode?
The tool detects the collision automatically and appends a numeric suffix to the second and later matches — 'my-post', 'my-post-2', 'my-post-3' — so no slug in the list is ever duplicated.
Should I remove stop words (a, the, and...) from a slug?
It's optional. Removing them shortens the URL without losing its meaning, but some style guides prefer keeping them so the slug reads as a natural phrase. This tool leaves it as a toggle you control.