Slug Generator, Clean, SEO-Friendly URL Slugs from Any Text
Paste a title, headline or a whole list and get tidy, lowercase, hyphenated URL slugs (accents transliterated, punctuation stripped, length capped) with a live preview and batch mode so you can slugify one line or a thousand.
What is the slug generator?
The Slug Generator turns any title or list into clean, URL-safe slugs, transliterating accents (café → cafe), expanding symbols to words, and letting you set separator, case, length and strict mode. Batch mode slugifies many lines, deduplicating with numeric suffixes. Free and browser-based, so unpublished titles stay private.
The GigAI Slug Generator converts messy human text into the short, readable, URL-safe strings that make up the path of a good web address. It handles the details that trip up hand-written slugs: accented and non-ASCII characters are transliterated to their closest ASCII form (café → cafe, naïve → naive, ß → ss), symbols like &, @ and % expand to words (and, at, percent), whitespace and repeated punctuation collapse into a single separator, and stray hyphens are trimmed from both ends. You control every rule. Choose a hyphen or underscore separator, keep or drop letter case, switch strict mode on to allow only [a–z0–9] plus the separator, and cap the length so a slug truncates cleanly on a word boundary instead of mid-word. A live preview shows the exact slug as you type, and batch mode slugifies each line of a pasted list independently, deduplicating identical results with numeric suffixes so no two URLs collide. Everything runs locally with the browser's own Unicode normalizer, so unpublished titles, internal page names and draft URLs never leave your machine. Copy a single slug, download the whole batch as a text file, share a pre-filled link, or undo and redo your way through variations.
- Difficulty:
- Easy
- Typical time:
- ~30s
- Processing:
- 100% browser processing
Last updated
How to use the slug generator
- 1
Enter or paste your text
Type a single title in Single mode, or switch to Batch mode and paste a list with one title per line. The slug preview updates as you go.
- 2
Tune the slug rules
Choose a hyphen or underscore separator, decide whether to lowercase, turn strict mode on or off, and optionally set a maximum length to keep URLs short.
- 3
Check the live result
Read the generated slug (or the full batch list) and confirm accents, symbols and length look right. Duplicate batch results are suffixed -2, -3 automatically.
- 4
Copy, download or share
Copy the slug or the whole list to your clipboard, download it as a .txt file, or share a link that reopens the tool exactly as you left it.
What Slug Generator includes
Live text-to-slug as you type
Type or paste a title and the slug builds instantly beneath it: trimmed, collapsed and formatted with your chosen rules, so you see the final URL path before you copy it.
Accent & symbol transliteration
Non-ASCII letters are folded to their closest ASCII form via Unicode normalization, and symbols like &, @, % and currency signs expand to readable words. No broken, percent-encoded URLs.
Full control over every rule
Pick a hyphen or underscore separator, keep or lowercase the case, toggle strict mode to allow only letters, digits and the separator, and set a max length that cuts on a clean word boundary.
Batch mode for whole lists
Switch to batch mode and each line of a pasted list becomes its own slug, with identical results automatically de-duplicated using numeric suffixes so two pages never share a URL.
Copy, download, share & undo
Copy a single slug or the entire batch, download the results as a.txt file, share a link that reopens the tool pre-filled, or step back and forth through undo/redo: all keyboard-driven.
100% local, nothing uploaded
Slugs are generated in your browser with its native string tools. Draft titles, internal page names and unpublished URLs never touch a server or get logged anywhere.
Why use our slug generator
Ship URLs that read well and rank
Short, hyphenated, keyword-bearing slugs are easier for people to read and share and give search engines a clean signal about the page, far better than ?id=1042 or a title crammed with %20s.
Kill an entire class of URL bugs
Transliteration and strict mode remove the accented characters, spaces and symbols that turn into ugly percent-encoding, break links in emails, or 404 when copied between systems.
Slugify a migration in one paste
Batch mode turns a spreadsheet column of titles into a ready list of slugs in seconds, with automatic de-duplication, so a site migration or bulk import doesn't create colliding URLs.
Private by design
Everything runs locally in your browser, so you can slugify confidential titles, internal tools and unreleased product names without anything being uploaded, stored or logged.
Built for the way you work
From quick one-off fixes to daily workflows, see how people put this tool to use.
- Content editor / blogger
Set a post's permalink
Turn a working headline into the clean permalink slug your CMS should use, capping the length so the URL stays short and the primary keywords lead.
- Developer
Generate slugs for a static site
Feed page titles through the tool to produce consistent, strict, lowercase slugs for file names and route paths, matching the same rules across your whole build.
- SEO specialist
Clean up a URL structure
Rewrite noisy, parameter-heavy or accented URLs into readable keyword slugs and export the batch to hand off as a redirect map.
- Store / catalogue manager
Slugify a product list
Paste a column of product names and get a de-duplicated set of URL slugs for category and product pages, ready to import without collisions.
Supported formats
Accepts Plain text and List (one per line), and produces URL slug and Text, all processed locally in your browser.
- Plain text
- List (one per line)
- URL slug
- Text
Frequently asked questions
Recommended tools
URL Encoder
Percent-encode text and URLs instantly: pick component mode for query values or full-URL mode to preserve structure, with a per-line batch switch. 100% in your browser, nothing uploaded.
URL Decoder
Decode percent-encoded (URL-encoded) text back to plain, readable characters, and when you paste a full link, see it broken down into protocol, host, port, path, decoded query parameters and hash. 100% in-browser. Nothing is uploaded.
Meta Tag Generator
Generate perfect SEO meta tags, Open Graph and Twitter Card markup with a live Google snippet and social-card preview, copy the ready-to-paste <head> code, 100% in your browser.
XML Sitemap Generator
Turn a list of URLs into a valid sitemap.xml with per-URL changefreq, priority and lastmod, validated against the 50,000-URL limit and ready to submit to Google. 100% in your browser.
JSON Formatter
Format, validate and minify JSON in your browser with pinpoint error line + column, jump-to-error, key sorting and live editing: nothing is uploaded.
Campaign URL Builder
Build clean, correctly-encoded UTM & campaign tracking URLs with channel presets, custom parameters and a live parameter table, copy the ready-to-share link, 100% in your browser.
Common problems, solved
Hit a snag? Here are quick fixes for the issues people run into most.
My slug came out empty.
That happens when the input is only characters strict mode removes, for example an all-emoji or all-symbol title. Turn strict mode off to keep more characters, or add at least one letter or digit to the text.
An accented or non-Latin word disappeared.
Transliteration maps common Latin accents (é, ü, ñ, ß …) to ASCII, but scripts without an ASCII equivalent (e.g. Chinese, Arabic, emoji) can't be folded and are dropped in strict mode. Provide a romanised version of those words, or turn strict mode off to preserve what the browser can normalize.
Two rows in my batch produced the same URL.
They won't collide, batch mode appends -2, -3 and so on to repeated slugs so every line stays unique. If you'd rather keep exact duplicates, that de-duplication only applies in batch mode. Slugify the lines individually to opt out.
My max length cut the slug shorter than expected.
To avoid a word being sliced in half, the length cap trims back to the last full separator boundary within the limit. Raise the max length, or lower it precisely, if you need the slug to reach closer to the exact character count.
Get the most out of it
Keep slugs short and front-load the primary keyword, the first few words carry the most SEO and readability value.
Prefer hyphens over underscores: search engines treat hyphens as word separators, while underscores can join words together.
Set a max length of around 60 characters for tidy, shareable URLs that don't wrap awkwardly in messages or search results.
Once a page is published, avoid changing its slug, if you must, set up a 301 redirect from the old URL so links and rankings survive.
Use strict, lowercase slugs to sidestep case-sensitivity and encoding issues across servers, CDNs and copy-paste.
What's new
Recent updates and improvements to the slug generator.
Initial release, live text-to-slug with separator, case, strict-mode and max-length controls, ASCII transliteration, copy/download/share and undo/redo.
Added Batch mode: slugify a pasted list line by line with automatic numeric-suffix de-duplication of repeated slugs.
Added curated examples, live slug stats (length, words, changed characters) and keyboard shortcuts with an in-tool helper.
Keep exploring
Problems we solve
Definitions
From the blog
- What Is a Canonical URL? A Plain-English Guide to Fixing Duplicate Content
- Does llms.txt Do Anything? An Honest Answer
- How to Create a Wi-Fi QR Code: Share Your Network With a Scan
- How to Extract Text from a PDF (Including Scanned Ones with OCR)
- Best QR Code Size for Print: Scan-Distance Rules That Actually Work
Explore categories
Common tasks
Your privacy is built in
Every slug is generated locally in your browser using its native Unicode normalizer and string functions. Nothing you type is uploaded, stored or logged. Draft titles, internal page names and unpublished URLs stay on your device, and closing the tab erases them completely.
- Runs in your browser
- No uploads
- Nothing stored
Ready to try the slug generator?
Free, private and instant. Slug Generator runs right in your browser.