Skip to main content

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

Generated Slug(s)
Was this helpful?

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

  1. Paste your string(s) into the box — one per line for bulk conversion.
  2. Pick the Replacement character: - (dash, the SEO convention) or _ (underscore).
  3. Leave To Lowercase on for standard URLs, or turn it off to preserve capitalisation.
  4. Leave Strip Special Characters on to force strictly a-z, 0-9 and the replacement character.
  5. Copy or download the result — it updates as you type.

What it does to your text

  • Transliterates accents and non-Latin lettersCrème Brûlée becomes creme-brulee, Привет becomes privet.
  • Expands common symbols& becomes and, % becomes percent, $ becomes dollar, becomes euro.
  • 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.

slugurlseopermalinkslugifytext

Part of a workflow

All collections

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.