Advertisement
Guide
About the Slugify Tool
A slug is the human-readable part of a URL that identifies a page — the how-to-make-bread in example.com/how-to-make-bread. Good slugs are lowercase, use hyphens instead of spaces, drop accents and punctuation, and contain only characters that are safe in a URL. This tool turns any title or phrase into a clean slug following those rules.
It strips accents (so café becomes cafe), collapses spaces and symbols into a single separator, and lets you choose hyphens or underscores. Everything runs in your browser.
Why slugs matter for SEO
Descriptive, keyword-rich slugs help both search engines and humans understand what a page is about before they click. Hyphens are preferred over underscores because search engines treat them as word separators. Keeping slugs short, lowercase, and free of stop-word clutter makes URLs cleaner, more shareable, and easier to read in search results.
How accents are handled
The tool normalizes text and removes combining diacritical marks, so accented Latin characters fold down to their base letters — naïve becomes naive, Zürich becomes zurich. In strict mode, any remaining non-alphanumeric characters are dropped entirely, leaving a slug that's safe in every URL context.
How to use it
- 1Type or paste the title or phrase you want to convert.
- 2Choose a hyphen or underscore separator.
- 3Toggle lowercase and strict (strip special characters) as needed.
- 4Copy the generated slug into your URL, filename, or CMS.
Frequently asked questions
What is a URL slug?
It is the readable identifier in a web address, usually derived from the page title — for example "getting-started" in /docs/getting-started. Slugs are lowercase, hyphenated, and free of unsafe characters.
Should I use hyphens or underscores in slugs?
Hyphens. Search engines treat hyphens as word separators but underscores as joiners, so "blue-widget" reads as two words while "blue_widget" may read as one.
How are accented characters handled?
They are transliterated to their base Latin letters — é becomes e, ñ becomes n — so the slug stays ASCII and URL-safe.
What does strict mode do?
It removes any character that is not a letter, number, or separator, guaranteeing a slug that is safe in URLs, filenames, and identifiers.
Is my text processed privately?
Yes. Slug generation runs entirely in your browser with no network requests.
