Slug Generator
Turn titles into clean, SEO-friendly URL slugs, one per line, in any language.
⚠ 4 slugs · longest 37 characters · 1 repeated: tick “Make unique”
About the Slug Generator
Turn page titles, product names or file names into clean URL slugs: lower case, words joined by dashes, accents and punctuation removed. Paste one title per line to make many slugs at once. Options remove small words like “a” and “the”, limit the length without cutting a word in half, make repeated slugs unique, turn Cyrillic and Greek into Latin letters, and use underscores or dots instead of dashes.
How to use it
- Paste one title per line.
- Choose a separator: dash (best for URLs), underscore or dot.
- Set a maximum length and tick the options you need.
- Copy the slugs, or download them as a text file.
Tip: Google treats a dash as a space between words but an underscore as part of the word, so best-pdf-tools is read as three words and best_pdf_tools as one. Use dashes in URLs.
What is a URL slug?
The slug is the readable part of a web address that names one page: in example.com/blog/how-to-compress-a-pdf the slug is how-to-compress-a-pdf. A good slug tells people and search engines what the page is about before they click, looks trustworthy when shared, and is easy to type or say.
Google lists simple, descriptive URLs with words rather than long ID numbers in its SEO guidance. A slug isn't a big ranking factor on its own, but the words in it are shown in search results and help people decide to click.
What the generator does
- Accents
- Café, naïve and Ångström become cafe, naive and angstrom; ß becomes ss, æ ae, œ oe and ø o.
- Apostrophes
- Don't and Ali's become dont and alis, not don-t.
- Symbols
- & becomes and, % after a number becomes percent, and @ becomes at; other punctuation is removed.
- Spaces
- Any run of spaces, dashes or punctuation becomes one separator, with none at the start or end.
- Other alphabets
- Arabic, Urdu, Hindi, Chinese and other scripts are kept as they are. Tick Latin letters only to transliterate Russian, Ukrainian and Greek (Привет мир → privet-mir) and drop anything else.
Slug best practices for SEO
- Keep it short
- 3 to 6 words is plenty; aim for under 60 characters. The tool warns above 75.
- Use your main keyword
- compress-pdf beats tool-1 or untitled-page.
- Drop filler words
- Tick Remove a, the, and… to turn the-best-way-to-learn-a-language into best-way-learn-language.
- Leave out dates
- best-laptops-2026 goes out of date; best-laptops can be updated every year without changing the address.
- Lower case only
- Some servers treat Page and page as different addresses, which can create duplicate pages.
- Don't change published slugs
- If you must, set up a 301 redirect from the old address so links and rankings carry over.
Unique slugs
Two pages can't share an address. Tick Make unique and repeated slugs get -2, -3 and so on, the way WordPress, Shopify and most CMSs handle it. Without it, the tool warns you how many slugs are repeated, so you can make the titles more specific instead, which is usually better for SEO than a number.
Slugs beyond web pages
- File names
- Use slugs for images and downloads: red-running-shoes.jpg is better for image search than IMG_4821.jpg.
- Anchors
- Heading ids like #getting-started are slugs too.
- Code and databases
- Underscores suit variable names, database keys and Python files; dots suit some config keys and package names.
- Tags and categories
- Category and tag pages in a CMS each get a slug; keep them short and consistent.
Slugs in popular platforms
- WordPress
- Edit the slug under Permalink in the post settings. Set Settings → Permalinks to Post name for /my-post-title/ addresses.
- Shopify
- Products and pages have a URL handle under Search engine listing. Shopify adds a redirect when you change it, if you tick the box.
- Next.js, Astro and Hugo
- The slug is usually the file or folder name, or a slug field in the front matter of a Markdown file.
- Webflow, Wix and Squarespace
- Each page and CMS item has a slug or URL field in its SEO settings.
Tips and tricks
Paste a column of product names from a spreadsheet and copy the column of slugs back.
WordPress and Shopify make slugs from the title automatically; paste a shorter, cleaner one into the URL or handle field before publishing.
With Max length, slugs are cut only between words, so you never get a half word like how-to-comp.
10-best-free-pdf-tools reads well; but avoid numbers that will change, like prices.
Questions
What is a good slug length?
Short enough to read at a glance: 3 to 6 words, ideally under 60 characters.
Should a slug have stop words?
Usually not. Removing a, the and of keeps slugs short. Keep one when the meaning changes without it.
Can slugs have non-English characters?
Yes. Modern browsers show Arabic, Urdu, Chinese or Cyrillic URLs properly, and Google indexes them. When shared, though, they are often turned into long %D0%9F codes, so Latin letters are easier to share.
Should I use dashes or underscores?
Dashes for web addresses, as Google recommends. Underscores are fine for file names in code.
What happens if I change a slug?
The old address stops working. Add a 301 redirect from the old slug to the new one to keep visitors and rankings.
Does the slug have to match the title?
No. It should describe the page in a few words. A long title like “The 10 Best Free PDF Editors for Windows in 2026” can have the slug best-free-pdf-editors-windows.
What does Latin letters only do with Chinese or Arabic?
Those scripts have no simple letter-by-letter conversion, so their characters are left out. Leave the option off to keep them in the slug.
Is my text uploaded?
No. Everything runs in your browser; what you type, paste or open never leaves your device and nothing is stored on a server.
Related tools
Updated