URL Slug Generator for SEO

Turn any page title into a clean, search-engine-friendly URL slug instantly.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A well-crafted URL slug is one of the cheapest SEO wins available: it costs nothing to get right the first time, costs a 301 redirect to fix later, and signals keyword relevance to every crawler that visits your site. This tool converts any page title or heading into a clean, search-engine-friendly slug with one click — and then scores the result against six real SEO checks so you know whether it will help or hurt rankings before you publish.

How the slug algorithm works

The generator applies a precise, ordered pipeline to every input string:

  1. Unicode transliteration. Accented Latin, Cyrillic, Greek and common symbol characters are mapped to their ASCII equivalents before anything else (so “Ångström” becomes “angstrom”, “café” becomes “cafe”, ”&” becomes “and”).
  2. Case normalisation. If lowercase mode is on (default), the entire string is lowercased.
  3. Separator substitution. Any run of whitespace, hyphens, underscores or dots is collapsed into a single instance of your chosen separator.
  4. Unsafe character stripping. Every character that is not alphanumeric or the chosen separator is removed. This leaves only characters that are universally safe in URL paths without percent-encoding.
  5. Stop-word removal (optional). The slug is split on the separator, each word is checked against a 50-word stop-word list, and filler words are dropped. A one-word slug is never fully emptied by this step.
  6. Max-length truncation. If you set a limit (default 75), the slug is cut at the last full word boundary before that limit, preventing mid-word cuts.

Worked example

Input: "How to Build a High-Converting Landing Page in 2024"

With defaults (lowercase, hyphens, max 75):

how-to-build-a-high-converting-landing-page-in-2024

Enable Remove stop-words and the filler words (how, to, a, in) are dropped:

build-high-converting-landing-page-2024

That is 38 characters — comfortably inside the 20-75 sweet-spot — and every remaining word is a ranking keyword.

The SEO quality checklist

The tool runs six checks in real time:

CheckTargetWhy it matters
Length 20-75 charsPassGoogle truncates longer paths in snippets
No stop-wordsPassMore keywords per character of URL
No consecutive separatorsPassSignals malformed input
Starts/ends with alphanumericPassCrawlers expect clean path segments
All lowercasePassPrevents duplicate URL variants
ASCII characters onlyPassAvoids percent-encoding in shared links

Formula note

The core logic is purely string manipulation — no mathematical formula is involved. The one nuance worth noting is the max-length boundary detection: the tool finds the last occurrence of the separator at position (index <= maxLength) and cuts there, ensuring the truncated slug always ends on a complete word rather than mid-character. This is equivalent to slug.slice(0, maxLength).lastIndexOf(separator) with a fallback to a hard cut when no separator exists within the limit.

Ad placeholder (rectangle)