Map Extract
Free tool

URL slug generator

Paste one or more page titles, one per line. Each becomes a web address slug: lower case, words joined by hyphens, accents and symbols handled, with the option to drop small words and cap the length.

Runs in your browser. Nothing you enter is uploaded.

Example: three titles, with and without small words

An equipment hire firm (fictional) is adding a price list, a guide and a case study. Here are the slugs with the default settings, then with Remove small words ticked. Note how the café's accent and the Turkish letters are flattened to plain letters, and & becomes and (or disappears with small words removed).

Input
Café & Bakery Equipment Hire in Newcastle (2027 Price List)
What Does a Commercial EPC Cost? A Guide for Landlords
Ölçü Façade Repairs: Before & After
Result
Default:
cafe-and-bakery-equipment-hire-in-newcastle-2027-price-list
what-does-a-commercial-epc-cost-a-guide-for-landlords
olcu-facade-repairs-before-and-after

Remove small words:
cafe-bakery-equipment-hire-newcastle-2027-price-list
commercial-epc-cost-guide-landlords
olcu-facade-repairs

Turning titles into slugs

  1. Paste the titles

    One per line. Each line gives one slug, so you can do a whole menu or a batch of blog posts at once.

  2. Pick the separator

    Hyphens (recommended) is the usual choice for web addresses. Underscores exists for systems that insist on them.

  3. Choose whether to remove small words

    Drops words such as a, the, of, for and what. If a title is nothing but small words, they are kept so the slug is never empty.

  4. Set the maximum length

    60 characters by default. Longer slugs are cut at the last separator when that keeps at least half the length, so words are not chopped in half.

  5. Copy the slugs

    Untick Lower case only if your platform needs capitals; most do not.

Good and bad slugs for a local service page

SlugVerdict
/emergency-electrician-chesterClear: service and place, readable aloud
/services/electricianFine for a single-town business
/page?id=482Says nothing to a person or a search engine
/Emergency_Electrician_Chester_Cheshire_24hr_Callout_Best_PricesToo long, capitals and underscores, keyword stuffing
/blog/2019/05/14/our-newsDates in the path make the page look old and are a pain to change

Questions people ask

What is a URL slug?

The part of a web address after the domain that identifies one page, such as emergency-electrician-chester in yourbusiness.example/emergency-electrician-chester. A good slug is short, readable, in lower case and uses hyphens between words, so people and search engines can tell what the page is about before they open it.

Should I use hyphens or underscores in URLs?

Hyphens. Google's guidance recommends hyphens to separate words in URLs, because underscores can join words together when the address is read. Underscores are only worth using when a platform requires them. The generator defaults to hyphens and offers underscores as an option.

Should I remove words like the and and from slugs?

Often, but not always. Removing them makes slugs shorter and tidier. Keep them when dropping them changes the meaning or makes the slug hard to read. Look at each result: commercial-epc-cost-guide-landlords reads well, while some phrases need their small words to make sense.

How are accents and symbols handled?

Accented letters are converted to their plain form, so café becomes cafe and façade becomes facade, and some special letters such as the German ß are spelled out. Ampersands become and, and £, % and @ are spelled out as gbp, percent and at. Apostrophes are removed, and other punctuation and brackets turn into separators, which are then tidied so there is never a double hyphen.

Where your data goes

Slugs are created from your titles by the page's script without any network request. The titles you paste are not saved.

Checked against the tool on

Top