Slug Generator
Turn any string into a clean, URL-safe slug — one per line for bulk conversion. Transliterates accents, strips special characters and joins words with a dash or underscore.
Input
Settings
Output
Guides
A slug is the human-readable part of a URL — the slug-generator in iotools.cloud/tool/slug-generator/. This tool turns any string, headline or product name into a clean, URL-safe slug: lowercase, accent-free, no punctuation, words joined by a dash or an underscore. Paste one string per line and every line is converted at once, so you can slugify a whole list of blog titles or SKUs in a single pass.
How to use it
- Paste your string(s) into the box — one per line for bulk conversion.
- Pick the Replacement character:
-(dash, the SEO convention) or_(underscore). - Leave To Lowercase on for standard URLs, or turn it off to preserve capitalisation.
- Leave Strip Special Characters on to force strictly
a-z,0-9and the replacement character. - Copy or download the result — it updates as you type.
What it does to your text
- Transliterates accents and non-Latin letters —
Crème Brûléebecomescreme-brulee,Приветbecomesprivet. - Expands common symbols —
&becomesand,%becomespercent,$becomesdollar,€becomeseuro. - Collapses whitespace — runs of spaces, tabs and newlines become a single replacement character.
- Trims leading and trailing separators, so you never get
-my-post-.
What makes a good URL slug?
Short, lowercase, dash-separated, and made of real words. Search engines treat hyphens as word separators and underscores as word joiners, so my-blog-post reads as three words while my_blog_post can read as one. Keep it under roughly 60 characters, drop stop-words that add nothing (a, the, of), and never change a slug after publishing without adding a redirect.
Dash or underscore — which should I use?
Use a dash for anything public-facing. Underscores are a reasonable choice for filenames, database keys or code identifiers, which is why both options are here.
What happens to characters like é, ß or &?
They are transliterated rather than deleted: é → e, ß → ss, æ → ae, & → and. Anything with no sensible ASCII equivalent (emoji, CJK characters) is dropped when Strip Special Characters is on.
Can I generate many slugs at once?
Yes — every line of the input is slugified independently and the output keeps the same line order, so you can paste a column straight out of a spreadsheet and paste the result back.
Why is my slug empty?
If a line contains only characters that cannot be transliterated (for example an emoji-only title), strict mode removes everything and the line comes back blank. Turn Strip Special Characters off to keep more of the original characters.
Privacy
The slug generator runs entirely in your browser. Your strings are never uploaded, logged or stored — the conversion happens on your own machine, so it is safe to use with unpublished titles and internal product names.
Part of a workflow
All collectionsThirteen tools for the mess in pasted text — line endings from the wrong OS, an unknown encoding, two versions you can't tell apart, inconsistent casing, and lengths that don't match where the text is going. Everything runs in your browser, so nothing you paste is uploaded.
You built the page and it works. These twelve tools are the checklist between that and shipping it — writing the metadata, making it crawlable, verifying how it previews when shared, and checking the speed and readability that actually move rankings. Everything that can run in your browser does.