URL Slug Generator

Updated July 2026

Turn any title or heading into a clean, URL-friendly slug. Paste one title per line to convert many at once, choose your separator and options, then copy the result. Everything runs privately in your browser.

A URL slug is the readable part of a web address. This converts any title into a clean slug — lowercase, words joined by hyphens, accents removed and punctuation stripped. For example, 'My First Blog Post!' becomes 'my-first-blog-post'.
Each line becomes its own slug, so you can convert many titles at once.
Recommended for clean, consistent URLs.
Removes a, an, the, of, and, or.
Slug

How this slug generator works

A slug is the human-readable identifier at the end of a URL — the part a reader and a search engine both use to tell what a page is about. A good slug is short, lowercase, and uses real words separated by hyphens, with no spaces, accents or punctuation that browsers would have to encode.

This tool builds each slug in a few predictable steps. First it normalizes and removes diacritics so accented letters become their plain equivalents (é becomes e). Then it replaces every non-alphanumeric character with your chosen separator, collapses repeated separators into one, and trims any leading or trailing separators. Finally it lowercases the result and, if you set a maximum length, trims it without leaving a dangling separator.

Worked example: the title "Crème Brûlée: My #1 Recipe!" normalizes to "Creme Brulee: My #1 Recipe!", then non-alphanumerics become hyphens and repeats collapse to give "creme-brulee-my-1-recipe". With stop-words stripped it stays the same here, but "The Art of War" would shorten from "the-art-of-war" to "art-war".
TitleSlug
My First Blog Post!my-first-blog-post
Crème Brûlée: My #1 Recipe!creme-brulee-my-1-recipe
10 Tips & Tricks for SEO10-tips-tricks-for-seo
The Art of Warthe-art-of-war
Hello, World — Againhello-world-again

Reference note: diacritic removal uses Unicode normalization (NFKD) and strips combining marks. Characters outside the Latin alphabet that have no plain equivalent are removed, so a non-Latin title may produce a short or empty slug.

Frequently asked questions

What is a URL slug?
A URL slug is the readable part of a web address that identifies a page — usually the text after the final slash. For a post titled "My First Blog Post" the slug is typically "my-first-blog-post". It is meant to be short, lowercase and human-friendly.
How do I create an SEO-friendly slug?
Start from the page title, make it lowercase, remove accents and punctuation, join words with hyphens, and keep it short and descriptive. Optionally drop filler stop-words such as "a", "an", "the", "of", "and" and "or" so the important keywords stand out.
Should slugs use hyphens or underscores?
Use hyphens. Google treats hyphens as word separators but reads underscores as joiners, so "my_blog_post" can look like one word while "my-blog-post" reads as three. Hyphens are the recommended default.
Should slugs be lowercase?
Yes, lowercase is recommended. URLs can be case-sensitive on some servers, so mixing cases risks duplicate URLs for the same page. Keeping every slug lowercase avoids that and looks cleaner.
How long should a URL slug be?
Keep it short — a few descriptive words is ideal, and many teams cap slugs at around 50 to 60 characters. Use the optional maximum-length setting to trim long titles cleanly.
Do slugs affect SEO?
A clear, keyword-rich slug helps users and search engines understand a page and can improve click-through from search results. Slugs are one of many signals, but a clean, readable URL is an easy win.
⚡ URL Slug Generator — by larely ↗

Related tools

CSS Gradient Generator

Design a linear or radial CSS gradient and copy the code.

UUID Generator

Generate random version-4 UUIDs, one or in bulk, in your browser.

Text Diff Checker

Compare two texts and highlight the differences line by line.

CSS Box Shadow Generator

Visually design a CSS box-shadow and copy the code.

HTML Entity Encoder / Decoder

Escape and unescape HTML special characters and entities.

Text to Speech Reader

Read any text aloud with your browser's built-in voices.

Regex Tester

Test and debug regular expressions live, with match highlighting and groups.

Cron Expression Generator

Build, explain and preview cron schedules with their next run times.

Aspect Ratio Calculator

Resize dimensions proportionally and simplify resolutions to a ratio.

Markdown Preview

Live Markdown-to-HTML preview with copyable HTML output.

Subnet Calculator

IPv4 CIDR subnet calculator: network, broadcast, mask and host range.

PX to REM Converter

Convert between px, rem, em and pt for CSS at any base font size.

Browse all 251 free tools →