Skip to content
FlipConverto home

URL Slug Generator

A slug generator that turns any title into a clean, SEO-friendly URL slug — what developers call slugifying — with accents transliterated rather than deleted.

Loading URL Slug Generator…

Runs entirely in your browser. What you enter stays on your device — nothing is sent to a server. Verify it yourself

What makes a good URL slug?

Lowercase, hyphen-separated, and short enough to read in a search result. Hyphens rather than underscores, because search engines treat a hyphen as a word separator and an underscore as a joiner.

Cost
Free, no limits
Upload
None — runs on your device
Sign-up
Not required
Works offline
Yes, once loaded

How to make a URL slug

  1. Type or paste the title

    Into the Title box — or click one of the examples to see how it is handled.

  2. Choose the separator

    Hyphens are the recommended choice for URLs; underscores are there if your system needs them.

  3. Set the options

    A maximum length trims the slug at a word boundary (0 means no limit), and Remove stop words drops words such as “the”, “and” and “of”.

  4. Copy the slug

    Accents are already transliterated: é becomes e, ß becomes ss.

Examples

  • How to Convert HEIC to JPGhow-to-convert-heic-to-jpg

    The standard blog-post slug.

  • Café & Straßecafe-strasse

    Accents fold and ß expands to ss, which NFD normalisation alone does not do.

  • Multiple spaces multiple-spaces

    Leading, trailing and repeated separators are collapsed.

Key features of the URL Slug Generator

  • Converts any text into a URL-safe slug
  • Folds accented characters to their closest ASCII equivalent
  • Strips punctuation and collapses whitespace to single hyphens
  • Live preview as you type

Supported options

Separators

  • Hyphen (-)
  • Underscore (_)

Options

  • Maximum length
  • Remove stop words

Characters

  • Accents transliterated: é → e, ß → ss

When should you use this?

  • Creating a URL for a blog post or product page.
  • Generating a file name that is safe across operating systems.
  • Making a CSS class or HTML id from a human label.
  • Normalising imported titles into consistent identifiers.

Limitations

  • Non-Latin scripts have no meaningful ASCII equivalent. Cyrillic, Greek, Arabic and CJK text will be stripped rather than transliterated, which can leave an empty slug.
  • The transliteration is character-by-character and takes no account of language. German ö becomes o here, where a German convention would give oe.
  • Slugs are not deduplicated. If two titles produce the same slug, your application has to resolve the collision.
  • Very long titles produce very long slugs. Truncating sensibly is a judgement call this tool leaves to you.

Troubleshooting

The slug came out empty

The input was entirely characters with no ASCII equivalent — non-Latin script, emoji or punctuation. Provide a Latin-script title, or transliterate it yourself first.

An accented character disappeared instead of folding

Most accented Latin characters decompose to a base letter plus a mark, which folds cleanly. A few — ß, ø, đ — do not decompose and are handled by an explicit table; anything outside both is stripped.

Common mistakes to avoid

  • Changing a published slug without adding a redirect. Every existing link then leads to a 404.
  • Including a date or an ID that will later be wrong or meaningless.
  • Assuming the slug is unique. It is derived from the title, and two titles can collide.

Pro tips

Tips for better results

  • Stability

    Keep slugs short, and keep them once they are published

    Keep slugs short and stable. Changing one later breaks every existing link unless you set up a redirect.

  • Length

    Filler words add length without adding meaning

    Drop filler words — "a", "the", "and" — from long titles. They add length without adding meaning for either readers or search engines.

  • Convention

    Hyphens, not underscores

    Prefer hyphens to underscores in URLs. They are the more common convention and remain visible under a link underline.

Standards and terms behind the URL Slug Generator

The named things this tool works with, and the documents that define them.

URL slugHow it works
The readable, hyphenated last part of a web address, which search results and links both show.
Unicode normalisationHow it works
Reducing accented characters to a canonical form, which is what lets a slug turn 'café' into 'cafe' predictably.
HTMLSpecification
The WHATWG living standard for web pages, and the markup a browser lays out. Reference: HTML

Also searched as: seo friendly url, make a permalink from a title, remove accents from a url.

What makes a good slug

A slug is the human-readable part of a URL. It should be lowercase, use hyphens between words, contain only characters that survive a URL without escaping, and be short enough to read in a search result.

Hyphens rather than underscores: search engines have historically treated a hyphen as a word separator and an underscore as a joiner, somy_blog_post can be read as one long token wheremy-blog-post reads as three words.

Accents and non-Latin characters

The naive slug function strips anything outside a-z0-9, which turns "Café Münster" into "caf-mnster" — the accented letters vanish entirely. This tool normalises to decomposed Unicode first and removes only the combining marks, so the base letters survive: "cafe-munster".

Length and stop words

Google typically shows around 60–70 characters of a URL in search results, and the slug is only part of that. Removing stop words ("the", "and", "of") shortens a slug without losing much meaning, though it can make a title read oddly — it is a judgement call rather than a rule.

One thing worth being careful about: changing an existing slug changes the URL, which breaks inbound links and loses accumulated search standing unless you set up a redirect. Slugs are best decided once.

Privacy

The URL Slug Generator runs entirely in your browser. What you enter and the result it produces stay on your own device — nothing is sent anywhere, because nothing needs to be.

You can confirm this rather than take our word for it: open your browser’s developer tools, watch the Network tab, and use the tool. No request carries your input. It also keeps working with the connection off.

Details are in the privacy policy.

What next?

camelCase, snake_case and the rest, from the same input.

Other case conversions

URL Slug Generator — questions

Should I use hyphens or underscores in a URL?

Hyphens. Search engines have long treated hyphens as word separators and underscores as joiners, so a hyphenated slug is read as separate words while an underscored one can be read as a single token.

What happens to accented characters?

They are transliterated to their base letters — é becomes e, ü becomes u — rather than deleted. That keeps the slug readable, which stripping them entirely would not.

How long should a URL slug be?

Short enough to read in a search result, which is roughly 60–70 characters for the whole URL. Three to six meaningful words is a reasonable target; removing stop words helps if you are over.

Can I change a slug after publishing?

You can, but it changes the URL. Inbound links break and accumulated search standing is lost unless you add a 301 redirect from the old slug to the new one.

Part of Text Tools · Browse every tool