Skip to content

URL slug generator. Clean, SEO-safe URLs in a keystroke.

Live
Slug (click to copy) 0 chars
your-slug-appears-here
change log
  • Type a title to see which transformations apply.

Runs entirely on your device, nothing is sent anywhere.

Clean slugs, no CMS quirks

A slug is the human-readable tail of a URL, the crme-brulee-recipes in /blog/creme-brulee-recipes/. This tool turns any title into one live as you type: accented letters transliterate to plain ASCII (café → cafe, ß → ss, ø → o), apostrophes collapse (you’ll → youll), reserved characters get stripped, words join with your chosen separator, English stopwords come out if you want them to, and a length cap trims at a word boundary instead of chopping mid-word. Switch to Bulk to convert an entire list at once and export it as .txt or .csv. Everything happens on your device, nothing is uploaded, no sign-up, free forever.

§ · written guide

How to use the Slug Generator

This generator turns a page title into a clean URL slug as you type. It swaps accented letters for plain ones, drops apostrophes, lowercases the text and replaces anything that is not a letter or a number with a separator, then lists each change it made. It is for writers, editors and developers naming blog posts, product pages or files, one at a time or a whole list at once.

Step by step

  1. Type a title

    Leave the mode on Single and type or paste into Title or headline. The slug appears underneath straight away, with its length in characters beside it.

  2. Set the options

    In the options panel, choose a Separator: Hyphen, the default, or Underscore. Then tick or untick Lowercase, Transliterate accents, Remove English stopwords, Allow numbers, Collapse repeated separators and Strip leading/trailing separators. All are on except stopwords.

  3. Cap the length if you need to

    Drag the Max length slider from 0 to 100 characters in steps of 5. At 0 there is No limit. When the slug is longer than the cap, it is cut back to the last whole word. Only a single word longer than the cap is cut at the cap itself.

  4. Copy the slug or a full URL

    Click the slug, or press Copy, to copy it. To copy a complete address, type your site path in the URL prefix box, for example https://example.com/blog/, and press Copy as URL. That gives https://example.com/blog/your-slug/ with exactly one slash between the parts.

  5. Convert a list in Bulk mode

    Press Bulk and paste titles into Titles, one per line. The table shows each title, its slug and its length. Click any slug to copy it, or use Copy all slugs, Download .txt for slugs.txt, or Download .csv for slugs.csv with a title column and a slug column.

Reading the result

  • The change log under the slug names each step that changed your title. For the example title 10 Crème Brûlée Recipes You’ll Love! it reports 3 accented characters transliterated, 1 apostrophe removed, 5 characters lowercased, 1 reserved character stripped, whitespace collapsed into the separator and a trailing separator trimmed, giving 10-creme-brulee-recipes-youll-love.
  • The Example line at the bottom shows that same title run through your current options, so you can see the effect of a setting without typing anything.
  • If the slug box says the result is empty because all characters were removed, the title had no plain letters or numbers left to keep. That happens with scripts such as Cyrillic, Greek, Arabic or Chinese, which this tool does not transliterate.
  • When Max length trims a slug, the change log shows the length before and after. The example title at a cap of 30 reads 34 → 29 chars and gives 10-creme-brulee-recipes-youll.

Tips and common mistakes

  • Keep the hyphen. Google recommends hyphens over underscores to separate words in a URL.
  • Remove English stopwords turns The Best Shopify Themes for Fashion Brands into best-shopify-themes-fashion-brands. Check that the shorter slug still reads naturally before you use it.
  • Apostrophes are removed rather than replaced, so you’ll becomes youll, not you-ll. Reword the title if that looks odd.
  • Changing the slug of a page that is already live breaks old links. Set up a redirect from the old address when you do.

Privacy and limits

Slugs are made by your own browser. Nothing you type is sent anywhere or saved, so closing the tab clears it. Copy and download only write to your own clipboard and your own downloads folder.

Back to the tool

§ 02 · what you can do

Everything a slug tool should do.

  • Slugify any title instantly as you type, with a live before-and-after change log that names each transformation applied.
  • Transliterate accented characters so é, ü, ß, æ and ø become clean ASCII (NFD normalization plus an explicit map for letters NFD can’t decompose).
  • Remove English stopwords (a, the, of, in) with one toggle to produce shorter, keyword-dense slugs.
  • Bulk-convert a whole list of titles at once, copy each row, and download the results as .txt or .csv.
  • Cap the length at a word boundary with a slider that never leaves you a chopped-off word.
  • Copy as a full URL by adding your site prefix and copying the complete path in one click.
§ 04 · faq

Frequently asked questions.

Why hyphens instead of underscores?
Google’s URL structure guidance has been clear since 2008: hyphens are read as word separators, underscores are not. So sticky-tape-stripping reads as three words to Google; sticky_tape_stripping reads as one long word. For SEO, hyphens win. Pick the underscore separator only if your existing URLs already use them and you can’t migrate, or for filesystem-friendly names.
What does accent transliteration do?
It uses String.normalize('NFD') to split accented characters into a base letter plus a combining mark, then strips the marks: café → cafe, naïve → naive, München → munchen. On top of that it maps letters NFD can’t decompose, so ß → ss, æ → ae, œ → oe and ø → o. The result is an ASCII-only slug that works in URLs without percent-encoding. Non-Latin scripts (Cyrillic, Arabic, Hindi, Chinese) need a real transliteration library, or an English version of the title supplied manually.
Should I remove stopwords?
Optional, and it depends on your URL strategy. SEO convention says remove stopwords (a, the, of, in, on) to keep slugs short and keyword-dense, and modern Google handles either form fine. But a shorter slug can lose clarity (manual-bike-tune-up vs a-manual-on-bike-tune-ups), and the small words help users scan the URL. The toggle defaults to off because preserving meaning usually beats keyword-density theatre, switch it on for the more conventional behaviour.
Why does the slug get truncated?
Only if you set a max-length. Long slugs are harder to share and easier to truncate in social-media link previews. Drag the slider and the tool cuts at the nearest word boundary, so you never end up with best-shopify-themes-for-fashion-brands-in-the-bro chopped mid-word. It defaults to no limit; 60 characters is a sensible cap for most publications, though some go up to 80 and some stay under 40 for branding.
What characters get stripped?
Anything outside a-z, 0-9 and your chosen separator. Punctuation, brackets, quotes (straight and smart), ampersand, hash, percent, plus, slash, colon, semicolon, equals and question mark all either need percent-encoding or carry reserved meaning in URLs, so they become the separator. Apostrophes are removed first, so you’ll → youll rather than you-ll. Spaces collapse to a single separator, repeated separators collapse to one, and leading/trailing separators are trimmed, both behaviours can be toggled off.
Is the text I paste sent anywhere?
No. Slug generation is plain JavaScript embedded in this static page, so it runs entirely on your device. Your titles are never uploaded to Digital Heroes servers, never logged, and no network request carries your content. Safe for unpublished article titles or anything else you wouldn’t want to ship to a third party.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply