When to use it
Use this tool to turn a title into a clean, URL-friendly slug for a blog post, product page, file name or anchor link. It removes accents, punctuation and spaces, and can drop small words to keep addresses short. It is handy for bloggers, shop owners, developers and anyone naming files consistently.
How to use it
- Type or paste titles into Your text, one per line, or click Example.
- Choose the Separator: Hyphen ( - ) or Underscore ( _ ).
- Set a Maximum length if your system has one, or leave it empty.
- Keep Lowercase ticked for web addresses.
- Tick Remove short words (a, the, of…) for shorter slugs.
- Copy the Slug with Copy result, or download it as a .txt file.
Worked example
The example has two titles. “10 Easy Tips for Better Sleep (2024 Edition)!” becomes 10-easy-tips-for-better-sleep-2024-edition. The brackets and exclamation mark are removed.
“Café Crème & Crêpes: A Beginner’s Guide” becomes cafe-creme-and-crepes-a-beginners-guide. The accents are removed, & becomes “and”, and the apostrophe disappears.
Tick Remove short words and the first title becomes 10-easy-tips-better-sleep-2024-edition, a little shorter and just as clear.
What makes a good slug
- Short and descriptive. Three to six words is a good target.
- Includes the main keyword. It helps people and search engines know what the page is about.
- No dates unless needed. A slug without a year stays useful when you update the content.
- Stable. Once a page is published, avoid changing its slug, or old links will break.
Other uses
Slugs are not only for web pages. They make tidy file names for photos and documents, IDs for headings in a long page, branch names in Git, and keys in spreadsheets or databases where spaces and symbols cause problems.
Tips
- Remove filler words. Words like “a” and “the” add length without meaning.
- Use the same rules everywhere. Consistent slugs make a site easier to manage.
- Set up a redirect if you must change a slug. It sends old links to the new address.
Common mistakes
- Leaving spaces or capitals. They are encoded as %20 or treated differently by some servers.
- Copying the full title. Long slugs are hard to share and read.
- Using non-Latin letters without checking. Letters outside A to Z without accents are removed, so check slugs for titles in other alphabets.