Slug Generator
Client-sideNewTurn titles into clean, SEO-friendly URL slugs — lowercase, hyphenated, accents stripped.
Slug Generator converts titles into lowercase, hyphen-separated, URL-safe slugs in your browser on Toolverse by RS — accents are transliterated and one line becomes one slug.
Examples
Key takeaways
- Diacritics transliterate (café → cafe) instead of disappearing
- “&” becomes “and”; apostrophes drop without splitting the word
- One input line = one slug — paste whole headline lists
- Hyphen or underscore separators, generated locally
What is a URL slug?
A slug is the human-readable part of a URL path that identifies a page — lowercase words separated by hyphens, like /blog/how-to-format-json.
This tool normalizes Unicode (é → e), lowercases, converts “&” to “and”, removes apostrophes without splitting words (it's → its), and collapses every other non-alphanumeric run into a single separator. Each input line becomes one slug, so a pasted list of headlines converts in a single run.
Features
Unicode transliteration
NFKD normalization strips accents: “Über café” → “uber-cafe”.
Batch mode
Every input line becomes its own slug — paste headline lists.
Sensible punctuation rules
“&” → “and”, apostrophes drop cleanly, separators never double up.
Separator choice
Hyphens by default (SEO convention) or underscores when required.
How it works
Paste titles
One per line — headlines, product names, doc titles.
Generate
Each line normalizes, lowercases, and joins with your separator.
Copy into your CMS
Use the output directly as URL paths or filenames.
Example walkthroughs
Accents and punctuation
Produces hello-world-its-great-and-fun — transliterated and collapsed.
Héllo, Wörld — It's Great & Fun!
Batch of headlines
Two slugs: 10-tips-for-faster-builds and why-we-chose-rust.
10 Tips for Faster Builds Why We Chose Rust
Use cases
CMS and blog URLs
Generate consistent slugs for posts when your CMS's auto-slug is unreliable.
File and asset names
Create safe, lowercase names for uploads and static assets from display titles.
Code snippets
Slugify in JS
jsThe core normalization pipeline this tool applies per line.
const slug = "Héllo, Wörld!" .normalize("NFKD").replace(/[\u0300-\u036f]/g, "") .toLowerCase() .replace(/[^a-z0-9]+/g, "-") .replace(/^-|-$/g, ""); // "hello-world"
Common errors
Accented characters vanished
Cause: Naive slugifiers delete non-ASCII instead of transliterating.
Fix: This tool NFKD-normalizes first, so “café” keeps its “e”.
Double hyphens in the slug
Cause: Punctuation next to spaces produced two separators in a row.
Fix: Separator runs collapse to one here; re-generate if you hand-edited.
About Slug Generator
Slug Generator turns titles, headlines, and product names into the lowercase, hyphen-separated strings that belong in URLs. Paste one title or a whole list — each line converts to its own slug, so preparing a content calendar or a batch of product URLs is a single operation.
A good slug is more than “no spaces”. Search engines treat hyphens as word separators (underscores historically not), accented characters need transliteration rather than deletion so “café” stays readable as “cafe”, and stray punctuation — quotes, commas, em dashes — must collapse cleanly instead of leaving double hyphens. This tool applies those rules in one pass.
The details are opinionated on purpose: “&” becomes the word “and” because “terms-and-conditions” reads better than “terms-conditions”; apostrophes are removed without splitting, so “it's” becomes “its” rather than “it-s”; and repeated separators collapse, so “Part 1 — Setup” yields “part-1-setup”, not “part-1--setup”.
Slugification runs entirely in your browser. Unpublished titles are still confidential product information for many teams, so nothing is sent anywhere — consistent with the client-side privacy model across Toolverse by RS. When your goal is a code identifier rather than a URL, Case Converter's kebab-case target is the sibling tool.
Best practice: keep slugs short (3–6 words), drop stop words when they add no meaning, and never change a published slug without a redirect — the cleanest slug is not worth a broken link.
Frequently asked questions
Are my titles sent to a server?
No. Slugs generate in your browser on Toolverse by RS — unpublished headlines and product names stay on your device.
Hyphens or underscores for SEO?
Hyphens. Search engines treat them as word separators, which is why they are the default; underscores are offered for systems that require them.
What happens to characters like é or ü?
They transliterate to their base letters via Unicode NFKD normalization — café becomes cafe, Über becomes uber — instead of being deleted.
Can I slugify many titles at once?
Yes. Each line of input becomes one slug, so a pasted list of headlines returns a matching list of slugs.
Related tools
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more.
Word Counter
Count words, characters, sentences, and paragraphs with reading time — live and private.
Text Diff
Compare two texts line by line — see added and removed lines with a unified-style diff.
Lorem Ipsum Generator
Generate placeholder text by paragraphs, sentences, or words — deterministic and offline-friendly.
Popular tools
JSON Formatter
Format, beautify, and minify JSON in your browser. Free, private, and instant — no upload to a server.
JSON Validator
Validate JSON instantly in your browser. See type, size, and node counts — or exact parse errors with line and column.
JSON Viewer
Explore JSON as an interactive tree with paths, types, and expandable nodes — all processed locally in your browser.
Base64 Encode / Decode
Encode UTF-8 text to Base64 or decode Base64 back to text — instantly in your browser.
Newest tools
Image Compressor
Compress JPG, PNG, and WebP images in your browser with a quality slider — private, no upload.
Image Resizer
Resize images by width or height in your browser — keep aspect ratio or stretch to exact pixels.
Image Converter
Convert images between PNG, JPG, and WebP in your browser — private, no upload.
Image Cropper
Crop images by pixel coordinates in your browser — JPG, PNG, WebP, private, no upload.
Explore more
Guides & articles
Private text tools for writers and developers
Convert case, count words, diff drafts, and slugify titles in your browser — without uploading manuscripts to a third-party site.
URL structure and slugs notes on the RS Roshi blog
Practical write-ups around url structure and slugs.
Platform documentation
Shortcuts, limits, and how client-side tools work.