🧹

URL Slug Cleaner

Clean and normalize messy URLs and slugs into proper, SEO-friendly format instantly.

Clean Slug
Clean URL Path
Cleaning Steps Applied

About URL Slug Cleaner

Messy URLs with spaces, special characters, uppercase letters, or query strings can hurt your SEO and user experience. This tool takes any URL or text and transforms it into a clean, normalized slug and URL path.

How to Use

  1. Paste a full URL, partial URL, or any text into the input field.
  2. The tool automatically detects and cleans the input in real-time.
  3. Get both a clean slug and a clean URL path format.
  4. Use the Copy buttons to copy either result.

What Gets Cleaned

The tool removes the protocol (http:// or https://), domain name, query strings (?param=value), and URL fragments (#anchor). It then converts the path to lowercase, replaces special characters, removes consecutive hyphens, and trims leading/trailing hyphens.

FAQ

A slug is just the identifying part (e.g., "my-page-title"). A URL path includes leading slashes and directory structure (e.g., "/blog/my-page-title/"). Both are shown so you can use whichever format your CMS expects.
Yes, common accented characters (é, ñ, ü, etc.) are converted to their ASCII equivalents (e, n, u) for maximum URL compatibility.
Query strings (everything after ?) and URL fragments (everything after #) are stripped out, leaving only the clean path portion of the URL.