Back to home

Slug Generator

Paste one title per line and get tidy URL slugs for web pages, posts and file names. Accents are removed and symbols are replaced by your separator.

  1. Paste your titles, one per line
  2. Choose separator, case and length
  3. Copy the slugs
Loading the tool...

Your files never leave your device

How to create slugs

A slug is the readable last part of a web address. Paste one title per line and the tool turns each into a clean slug: accents are removed, symbols are replaced by your separator and repeated separators are merged. You can choose hyphen, underscore or dot, lower case or mixed case, and an optional maximum length.

A worked example

The title "Crème Brûlée Recipe: 5 Easy Steps!" becomes creme-brulee-recipe-5-easy-steps with hyphens, or creme_brulee_recipe_5_easy_steps with underscores. Set the maximum length to 20 and the slug is cut at the last whole word that fits, giving creme-brulee-recipe, which is 19 characters. The German word "Straße" becomes strasse.

Good practice

Once a page is live, avoid changing its slug, because every change breaks existing links unless you add a redirect. Keep the main keyword in the slug but drop filler words such as "the" and "and" when the meaning stays clear. For sites in languages with non-Latin scripts, keep the option for native letters on so the slug stays readable, or turn it off to get Latin-only addresses.

Frequently asked questions

What is a URL slug?

The readable last part of a page address, like my-first-post in example.com/blog/my-first-post. It tells people and search engines what the page is about.

Hyphen or underscore?

Hyphens are recommended for web addresses because search engines read them as word separators. Underscores are better for file and code names.

What happens to accents?

Letters like é, ü and ñ become e, u and n. Special letters like ß become ss, so the result uses only plain Latin letters.

Can I keep non-Latin letters?

Yes. Keep the option for native letters on and Arabic, Chinese, Cyrillic and other scripts stay in the slug. Turn it off if you prefer addresses with Latin letters only.

Can I limit the length?

Yes. Set a maximum and the slug is cut at the last whole word that fits. Only when there is no separator in the second half of the cut text is a word cut in the middle. Use 0 for no limit.

Is anything uploaded?

No. Slugs are created on your device, and your titles are not sent anywhere.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D