Custom replacements
- Note: 10 words. Shorter slugs with the main keyword are easier to read and share.
- Note: Contains stop words: to, the, for. Tick Remove stop words to drop them.
How to use
Enter a title
Type or paste into Title or phrase. To make many slugs at once, tick Bulk: one slug per line and paste one title per line, open a .txt or .csv file, or click Try bulk sample.
Set the options
Choose a Separator and Letters, keep Lowercase ticked, tick Remove stop words to shorten the slug, and enter a Max length if your platform has a limit. Add a Base URL to preview the full address.
Copy the slug
Read the checks under the slug, then press Copy. In bulk mode, Copy takes every slug, one per line, and the .csv button saves each title next to its slug.
Why URL Slug Generator
- Turns titles into lowercase, URL-safe slugs as you type, with live SEO checks.
- Bulk mode with file upload, unique slugs for repeats and a CSV download.
- Stop words, numbers, custom replacements and a length limit that cuts at a word break.
- Transliterates Crème Brûlée to creme-brulee, or keeps non-Latin letters.
Good and weak slug examples
The slug generator gives you a clean starting point, and a quick edit often makes it better. These examples show common problems and a tidier version. Turning on Remove stop words and a Max length gets you part of the way automatically.
| Page title | Weak slug | Better slug | Why |
|---|---|---|---|
| How to Choose the Right Running Shoes for Flat Feet | how-to-choose-the-right-running-shoes-for-flat-feet | running-shoes-flat-feet | Shorter, keeps the words people search for |
| Budget Travel Tips for 2025 | budget-travel-tips-for-2025 | budget-travel-tips | No year, so the URL still fits when you update the post |
| Men's Waterproof Hiking Boots | Men's_Waterproof_Hiking_Boots | mens-waterproof-hiking-boots | Lowercase, hyphens, no apostrophe |
| Product 4471 | p4471 | blue-ceramic-coffee-mug | Describes the page instead of an internal ID |
| Crème Brûlée Recipe | crème-brûlée-recipe | creme-brulee-recipe | Accented letters turn into codes like cr%C3%A8me when the link is copied |
Slug rules in WordPress and Shopify
Both platforms create a slug from the title automatically, but you can edit it before publishing, which is the moment to paste a cleaner one.
- WordPress: the slug is set in the post or page settings under URL or Permalink. It becomes the last part of the address when your permalink structure includes the post name.
- WordPress keeps slugs unique, so if the slug is already taken it usually adds -2 to the end.
- Shopify calls the slug a handle. Products live under /products/handle, collections under /collections/handle and pages under /pages/handle.
- In Shopify, edit the handle in the Search engine listing section of the product or page. When you change it on a live item, keep the option to create a URL redirect ticked.
- On both platforms, lowercase letters, numbers and hyphens are the safe set of characters for a slug.