🧰 ToolPicoAll Tools →

Slug Generator

Turn any title into a clean, SEO-friendly URL slug: strip accented characters, choose a separator, and trim to a maximum length. In bulk mode, convert dozens of titles at once — with automatic numbering for duplicate slugs.

5 modes in one tool Instant results Free, no sign-up Updated: Jul 19, 2026
Empty/0 = unlimited. Trimmed at a word boundary.
Remove stopwordsStrips words like a, the, and, of, in
Remove numbersStrips all digits from the slug
Live preview updates as you type.
Live preview:
Each line is processed as its own title; blank lines are skipped. If the same slug would be produced more than once, an automatic -2, -3 is appended.
Produces a readable GUESS of a title from an existing slug (one-way process — see the warning in the result).
The last URL segment is automatically extracted, its extension (if any) is separated, and it's re-cleaned using your current settings.
Shown at once as kebab-case, snake_case, camelCase, PascalCase, CONSTANT_CASE, dot.case, path/case, Title Case and Sentence case.
Quick answer A slug is the readable, human-friendly last part of a page's URL. To generate an SEO-friendly slug: convert accented characters to plain ASCII (é→e, ñ→n, ü→u), lowercase everything, replace spaces with a separator (usually a hyphen), and strip any remaining special characters. This tool does all of that instantly, in your browser.
100%Runs in your browser
0Unlimited free use
~60Google's recommended max length
-2, -3Auto-dedup in bulk mode
⚙️ Privacy note: Slug generation, bulk processing, and URL parsing all run in your browser (client-side JavaScript); the title or URL you enter is never sent to a server, saved, or logged. The "Share" button only encodes your input into a link parameter if you choose to use it — be mindful of who you share that link with before including personal or sensitive text.

What is a slug, and how do you generate one?

A complete guide — with examples — to accent stripping, separator choice, and SEO-friendly URL slugs.

A slug is the readable last part of a web page's address (URL) that tells both users and search engines what the page is about. For example, in https://yoursite.com/best-coffee-makers, best-coffee-makers is the slug. A good slug is lowercase, short, made of meaningful words, and separated by hyphens. This tool converts any title into a slug that follows these rules in seconds.

How do you generate a slug from a title?

Quick answerConvert accented characters to plain ASCII, lowercase the text, replace spaces (and other separators) with your chosen character — usually a hyphen — and strip any remaining special characters. Consecutive separators are collapsed into one, and leading/trailing separators are trimmed.
  • Example: "Top 10 Coffee Maker Reviews (2026)!" → top-10-coffee-maker-reviews-2026
  • With stopwords removed: "The Best Way to Learn a Language" → best-way-learn-language
  • With numbers removed: "Top 10 Coffee Makers 2026" → top-coffee-makers

How are accented and non-ASCII characters handled?

Quick answerAccented and non-ASCII characters (like é, ñ, ü, ö, ç) can break or get percent-encoded in standard URLs, so this tool first converts each one to its closest ASCII equivalent — é→e, ñ→n, ü→u, ö→o, ç→c, and so on — before applying the rest of the slug rules. A Unicode normalization pass runs afterward as a safety net for any character the lookup table doesn't cover.
Accented character → ASCII conversion examples
OriginalASCIIExample
é / è / êecafé → cafe
ñnmañana → manana
ï / í / ìinaïve → naive
çcfaçade → facade
ü / öu / oZürich → zurich
ßssstraße → strasse

What makes a URL slug SEO-friendly?

Quick answerAn SEO-friendly slug is short (ideally 50-60 characters), lowercase, and uses 2-5 meaningful keywords separated by hyphens. Avoid unnecessary numbers, dates, or filler words; a reader should be able to guess the page's topic just by looking at the URL. Google treats a hyphen (-) as a word separator, while an underscore (_) is treated as joining words together — that's why hyphens are generally recommended.

How does bulk slug generation avoid duplicate URLs?

Quick answerPaste multiple titles into the Bulk tab (one per line) and generate them all at once. If two different titles would produce the exact same slug, the tool automatically appends an increasing number — -2, -3, and so on — to the later ones, exactly like WordPress and most modern CMS platforms do at the database level, except entirely in your browser.

Looking for more free tools? Explore all ToolPico tools →

Mini tools: reserved words, file names, usernames

Three small helpers that come up alongside slug generation — all run in your browser.

🚧Reserved word checker
Check whether a candidate slug conflicts with a known system or CMS route.
📁File name cleaner
Make a file name URL- and file-system-friendly while keeping its extension.
👤Username generator
Generate 3 username / handle suggestions from a name.

Reference tables & practical notes

Citable good/bad slug examples, a reserved-word list, and a separator comparison.

Good and bad slug examples (before / after)
Bad slugGood slug
/?p=1284&cat=3/best-coffee-makers/
/New-Page-(Copy)-2/seo-friendly-url-guide/
/PLACES_TO_VISIT_IN_LISBON!!!/places-to-visit-in-lisbon/
/product-detail-page-with-a-very-long-title-added-here-and-more/wireless-headphones-review/
Number/parameter-based, uppercase, too longLowercase, short, meaningful, hyphen-separated

Source: Google Search Central — URL structure best practices.

Common reserved / system slugs (avoid using these)
CategoryExample slugs
CMS / adminadmin, wp-admin, wp-content, dashboard, panel
Authenticationlogin, register, signup, signin, logout
System / technicalapi, feed, rss, sitemap, robots.txt, favicon.ico
Taxonomycategory, tag, tags, page, pages
E-commercecart, checkout, account, settings

The "Reserved word checker" mini tool above checks candidate slugs against this list automatically.

Separator options compared
SeparatorHow Google reads itRecommendation
Hyphen ( - )Recognized as a word separatorRecommended — the most common and SEO-friendly choice
Underscore ( _ )Treated as joining words togetherFine for file names; prefer hyphens in URLs
None (joined)Words are not recognized separatelyOnly for special cases like usernames or handles

Source: Google Search Central documentation — "URL structure" section.

Add this tool to your site (embed code)

Embed the slug generator on your own website for free. Copy the code below into your HTML — the tool runs in a simplified view and links back to this page as its source.

The embedded tool has a fixed layout; you can adjust the height value to fit your site. No ads or personal data, runs entirely client-side.

Slug & URL terms glossary

Short definitions of the core terms used in slug generation.

SlugA URL's readable, human-friendly last part; usually derived from the page's title.
PermalinkA page's complete, permanent address, which includes the slug.
SeparatorThe character that divides words within a slug; usually a hyphen (-) or underscore (_).
TransliterationConverting a character to its closest equivalent in another alphabet (here, ASCII) — e.g. é→e.
StopwordA common filler word ("a", "the", "and", "of") that carries little meaning on its own and can be removed from a slug.
Canonical URLThe single, "preferred" address of a piece of content, as declared to search engines.
kebab-caseA naming style where words are separated by hyphens; the most common style for slugs (e.g. seo-friendly-url).
snake_caseA naming style where words are separated by underscores; commonly used in file names and code variables.
Reserved slugA slug like admin, api, or login that's already claimed by most systems and carries a collision risk.
ASCIIA universally compatible character set made up of basic Latin letters, digits, and a handful of symbols.
301 redirectA redirect type that tells search engines and browsers a URL has permanently moved to a new address.
Percent-encodingEncoding characters that can't be used directly in a URL as %XX sequences; clean slugs avoid this need from the start.

In-depth guides

Detailed answers to the most common slug and URL questions.

What does Google recommend for SEO-friendly slugs?

Google Search Central recommends URLs with simple, readable, content-relevant words. Overly long URLs stuffed with numbers, parameters, or irrelevant words make things harder both for users and for search engines trying to understand the page. Hyphens (-) should be used as word separators; underscores and spaces should be avoided.

This tool's SEO length indicator instantly shows whether your generated slug is under Google's practical ~60-character guideline — a green badge means it's fine, a red badge means you should shorten it.

How do you avoid slug collisions when migrating content in bulk?

When migrating a site or importing content in bulk, it's common for multiple titles to produce the same slug (e.g. two different "Product Review" posts). Numbering them by hand is slow and error-prone.

The Bulk tab above automatically appends an increasing number — -2, -3, and so on — to every repeat of the same slug, exactly the way WordPress, Shopify, and similar CMS platforms handle it at the database level, except no data ever leaves your browser.

Which words should you keep or remove from a slug?

The general rule is to keep only the keywords that reflect search intent. Filler words like "a", "the", "and", "of", "in" usually carry no SEO value and just make a slug longer; the "Remove stopwords" option strips these automatically.

On the other hand, distinguishing words — a product model, a year (like 2026), or a category — should usually stay in the slug, especially when you have several similarly titled pages that these words help tell apart.

Frequently asked questions

What is a slug?
A slug is the readable, human-friendly last part of a web page's address (URL). For example, in https://yoursite.com/best-coffee-makers, best-coffee-makers is the slug. A good slug is short, descriptive, lowercase, and made of hyphen-separated words — it clearly tells both users and search engines what the page is about.
How are accented characters cleaned up for a URL?
Accented and non-ASCII characters (like é, ñ, ü, ö, ç) can cause problems in standard URLs, so they're first converted to their closest ASCII equivalent: é→e, ñ→n, ü→u, ö→o, ç→c, and so on. Spaces are then replaced with your chosen separator, remaining special characters are stripped, and consecutive separators are collapsed into one. The tool above does this automatically.
How do you make an SEO-friendly URL?
An SEO-friendly URL should be short (ideally around 50-60 characters), lowercase, contain 2-5 meaningful keywords, and use hyphens to separate words. Avoid unnecessary numbers, dates, or category noise; a user should be able to tell what the page is about just by reading the URL. Google treats a hyphen (-) as a word separator.
What are the rules for generating a good slug?
The basics: (1) all letters should be lowercase, (2) only a-z, 0-9, and the separator should be used, (3) accented characters should be converted to ASCII, (4) consecutive separators should be collapsed to one, (5) leading and trailing separators should be trimmed, (6) the slug should ideally stay under 60 characters, and meaningless filler words should be removed.
How do you generate slugs in bulk?
Paste multiple titles into the Bulk tab above, one per line, and click "Generate Bulk Slugs." The tool converts each line into its own slug; if the same slug would be produced more than once, it automatically appends an increasing number like -2, -3 to avoid collisions.
Can I download bulk slug results as a file?
Yes. In the Bulk tab, after converting your titles, the result card shows two download buttons: Download TXT saves each slug on its own line as plain text, and Download CSV saves a file with Source Title and Slug columns. The CSV opens directly in Excel and Google Sheets (a UTF-8 BOM keeps accented characters intact). Downloads happen entirely in your browser — no data is ever sent to a server, which is far more practical than copy-pasting dozens or hundreds of titles by hand.
How do you edit a slug in WordPress?
In a WordPress post or page editor, click "Edit" next to the "Permalink" field shown under the title to change the slug by hand. WordPress auto-generates a slug from the title by default, but it doesn't always clean up accented characters ideally — generating a clean slug here first and pasting it in usually gives a more reliable result.
What's the difference between a slug and a permalink?
A slug is only the last (or a specific) segment of a URL — e.g. best-coffee-makers. A permalink is a page's complete, permanent address, which includes the slug — e.g. https://yoursite.com/blog/best-coffee-makers/. In other words, the slug is a component of the permalink.
Does changing a slug later affect SEO?
Yes, changing the slug of a page that's already live invalidates the old URL; inbound links and the old entry in a search engine's index can start returning a 404 error. If you need to change a slug, always set up a 301 permanent redirect from the old address to the new one. Whenever possible, it's safest to decide on the correct, permanent slug the first time you publish.

Methodology & sources

ToolPico's Slug Generator is a free, independent tool. Conversion starts with an explicit accented-character-to-ASCII lookup table covering common European diacritics (é, ñ, ü, ö, ç, ß, and more), followed by a Unicode NFD normalization pass as a safety net for any remaining accented characters; the final step applies lowercasing, separator insertion, and word-boundary length trimming. Nothing is ever sent to a server — every calculation runs client-side, in your browser.

Sources: Google Search Central — URL structure best practices · Unicode Standard (NFD normalization) · MDN Web Docs (String.normalize, URL API). Last updated: July 19, 2026. Results are provided for informational and development purposes.

🔗 Add this tool to your site

Copy the code below into your own site. The tool is free, always up to date, and runs entirely on your page. No sign-up required.

Preview →
⚡ Built with ToolPico · toolpico.com