Orpheus

URL Slug Generator

Turn a title into a clean, safe URL slug.

Options
Separator

Hyphens are read as word breaks by search engines; underscores are not.

Leave at 0 for no limit. Truncates on a word boundary.

Result

Everything is processed in this tab. Nothing you paste is sent anywhere.

Every tool runs entirely in your browser. Your files are never uploaded to a server.

A URL slug is the readable part of a web address that identifies a page. A good one is lowercase, uses hyphens between words, contains no accents or punctuation, and stays short enough to read in a search result.

How to use Slug Generator

  1. Paste your titles. One per line — a whole content plan at once is fine.
  2. Choose a separator. Hyphens for anything public; underscores only where a system demands them.
  3. Cap the length if needed. Truncation happens on a word boundary rather than mid-word.

About generating URL slugs

A slug is the most durable thing on a page. Titles get rewritten, layouts get replaced and content gets updated, but the URL is what other people link to, and once it is out in the world changing it costs something. That argues for deciding it deliberately rather than letting a CMS generate one from whatever the heading happened to be at the moment you first saved. The mechanical rules are simple: lowercase, because URLs are case-sensitive after the hostname and mixed-case slugs create two addresses for one page. Hyphens rather than underscores or spaces. No punctuation, since almost all of it either has structural meaning in a URL or has to be percent-encoded into unreadability. Accents folded to ASCII rather than removed, so that café does not become caf. What is less mechanical is length and word choice. A slug is read by people in search results and in shared links, and it is one of the few places where the words are unambiguously about the page rather than about the site. Including the phrase someone would actually search is worth more than including every word of the title, and stripping filler such as "how to" and "the" usually improves both.

Frequently asked questions

Should a slug use hyphens or underscores?
Hyphens, for anything on the public web. Search engines have long treated a hyphen as a word separator and an underscore as a joiner, so "merge_pdf_files" can be read as one unfamiliar token while "merge-pdf-files" reads as three words.
What happens to accented characters?
They are folded to their closest ASCII letter — café becomes cafe rather than caf. Dropping them entirely mangles words in a way that hurts both readability and matching, and leaving them raw forces percent-encoding into the URL.
How long should a slug be?
Long enough to describe the page and short enough to read in full in a search result — roughly three to six words. Very long slugs get truncated in the SERP, and the words after the cut do nothing.
Should I change a slug after publishing?
Avoid it. Changing a URL discards whatever ranking and links it accumulated unless you set up a permanent redirect, and even then some authority is lost. It is far cheaper to get it approximately right once than to correct it later.

Last updated