RUNWEBTOOLS
English

Slug Generator

Turn any text into a clean, URL-friendly slug.

Use on any page (bookmarklet)

Want Slug Generator without leaving the page you're on? Drag the button below to your bookmarks bar, then click it on any website to open Slug Generator right there — it runs entirely in your browser.

Slug Generator← drag this to your bookmarks bar

Use responsibly: a bookmarklet runs on whatever page you click it on. Avoid sensitive sites such as online banking, payment, or healthcare pages — you run it at your own risk. Everything is processed locally and no data is sent anywhere. See our Terms.

  1. Show your bookmarks bar if it's hidden — Ctrl+Shift+B (+Shift+B on Mac).
  2. Drag the button above onto the bookmarks bar.
  3. Open any website and click the bookmark — the Slug Generator panel appears in the top-right corner. Use ✛ to move it between corners, or ›/‹ to tuck it against the edge and pull it back out.
  4. Click the bookmark again (or the ✕) to close it.
Can't drag? Copy it and create a new bookmark with this as the URL:

Note: a few sites with strict security policies may block bookmarklets.

Examples

Blog title to slug

Input

10 Tips for Better SEO — A Beginner's Guide!

Output

10-tips-for-better-seo-a-beginner-s-guide

Strip accents

Input

Café Münchén

Output

cafe-munchen

About this tool

This free online slug generator turns any title or phrase into a clean, URL-friendly slug. It lowercases the text, strips accents and punctuation, and joins words with hyphens — exactly what you want for SEO-friendly page URLs, blog permalinks, and file names. Everything runs in your browser with no upload.

How to use

  1. Paste your title or text into the input box (or click Sample to try it).
  2. Optionally switch to underscores or keep the original case.
  3. Copy the generated slug from the output box.

Why hyphens and not underscores

Both work, but hyphens are the safer default. Search engines have long treated the hyphen as a word separator while historically reading black_cat as a single token — meaning an underscored slug can fail to match a two-word search. Hyphens are also easier to read in a URL, since an underscore frequently disappears under the link underline. Underscores remain reasonable for filenames and code identifiers, which is why the option is here.

Treat a published slug as permanent

A slug is part of the URL, so changing it after publication breaks every inbound link, discards the ranking signals that URL accumulated, and turns anything already shared into a dead end. If a change is unavoidable, add a 301 redirect from the old slug so both readers and crawlers are carried across.

The practical lesson is to write slugs that will not need changing: leave out the year, the word “new”, version numbers, and anything else that expires. A post at /seo-guide-2025 looks stale in January and cannot be fixed without a redirect, whereas /seo-guide can be updated in place indefinitely.

Accents and non-Latin scripts

Accented Latin letters are folded to their plain equivalents, so Café Münchén becomes cafe-munchen. Be aware that correct transliteration is language-specific: German convention expands ü to ue, giving muenchen, while French and Spanish simply drop the mark. No automatic rule is right for every language, so adjust by hand when the audience expects a particular convention.

Scripts without ASCII equivalents — Korean, Japanese, Chinese, Arabic, Cyrillic — are removed rather than guessed at, which can leave a title with almost nothing behind. Either write a short English slug for those pages or use the original script directly, since browsers and search engines handle percent-encoded Unicode URLs correctly even though they look unwieldy when pasted as plain text.

Common uses

Turning blog post titles into SEO-friendly URLs, generating stable permalinks for a CMS, naming files and assets consistently, and building anchor IDs for headings. For bulk work, paste a list of titles and clean the result with remove duplicate lines to catch two posts that would collide on the same slug. For other naming conventions such as camelCase or snake_case, the case converter handles the programming styles.

Frequently asked questions

What is a URL slug?

A slug is the readable part of a URL that identifies a page, like 'better-seo-tips' in example.com/better-seo-tips. It uses lowercase letters, numbers, and hyphens.

Should I change a slug after publishing?

Avoid it if you can. The slug is part of the URL, so changing it breaks every existing link, loses accumulated ranking signals, and turns shared links into 404s. If you must change one, set up a 301 redirect from the old slug to the new one so both search engines and old bookmarks follow through. This is why it pays to leave dates and volatile words like "new" or "2025" out of a slug in the first place.

How long should a slug be?

Long enough to describe the page and no longer — typically three to six words. Search engines truncate long URLs in results, and an overstuffed slug reads as keyword stuffing to both readers and ranking systems. Dropping filler words like a, the, and of usually shortens a title into a good slug without losing meaning.

Does it handle accented characters?

Yes. Accents are stripped to their plain ASCII letters, so 'Café Münchén' becomes 'cafe-munchen'. Note that transliteration is language-dependent and no automatic rule satisfies everyone: German convention expands ü to ue, giving 'muenchen', while French and Spanish simply drop the accent. If your audience is primarily German-speaking, adjust the result by hand.

What happens to non-Latin scripts like Korean or Japanese?

Characters with no ASCII equivalent are removed rather than transliterated, so a purely Korean or Japanese title can reduce to an empty or near-empty slug. Two workable approaches: write a short English slug by hand for those pages, or use the original script directly in the URL — modern browsers and search engines handle percent-encoded Unicode URLs correctly, though they look unwieldy when copied into plain text.

Can I use underscores instead of hyphens?

Yes. Turn on 'Underscores' to join words with _ instead of -. Hyphens are the SEO-friendly default.

Why are slugs lowercased?

Lowercase slugs avoid duplicate-URL issues since some servers treat /Page and /page differently. Turn on 'Keep case' if you need to preserve capitals.

Is my text uploaded anywhere?

No. Slugs are generated in your browser with no upload, so your titles never leave your device.

Learn more

Related tools