Slugify — Text to URL Slug
Turn a title or heading into a clean, URL-friendly slug — lowercased, with accents stripped and every run of punctuation or spaces collapsed into a single separator. Choose a hyphen or underscore; it all runs in your browser.
- 🔒 100% private — no uploads
- 🆓 Free, no watermark
- 📱 Works on any device
How to slugify
- 1
Paste or type your title
Type directly or paste your text into the box. It’s processed right in your browser — nothing is uploaded to a server.
- 2
See the result instantly
The tool updates live as you type, showing the URL slug with no “submit” button or waiting.
- 3
Copy or keep going
Copy the result with one click, tweak your input, or clear it and start again. Free, instant and private.
Why use Slugify — Text to URL Slug?
Clean, readable slugs
Lowercases, removes accents (café → cafe) and turns spaces and punctuation into one separator — no leading, trailing or doubled separators.
Hyphen or underscore
Pick the separator and whether to lowercase, to match your CMS, framework or style guide.
100% private
Everything runs locally in your browser with JavaScript. Your text is never uploaded, stored or seen by anyone — it even works offline.
Works on any device
No install and no account. Runs in any modern browser on Windows, macOS, Linux, Android or iPhone.
What makes a good slug
Short, readable and stable. Keep the words a person would search for, drop filler (“a”, “the”, “and”), and prefer hyphens — search engines treat a hyphen as a word separator but read an underscore as joining words together. Most importantly, never change a slug after publishing without a redirect: the URL is the page’s identity to every link, bookmark and search result pointing at it.
From any title to a clean URL
This tool lowercases, strips accents to their ASCII base (café → cafe, señor → senor via Unicode normalization), and collapses every run of spaces and punctuation into a single separator with none left dangling at the ends. Characters with no ASCII equivalent (Cyrillic, CJK) are dropped rather than transliterated — if your titles are mostly non-Latin, consider keeping a manually written slug instead.
Frequently asked questions
What is a URL slug?
A slug is the human-readable part of a URL that identifies a page — the “turn-text-into-a-url-slug” in /blog/turn-text-into-a-url-slug. Slugs are lowercase, use hyphens between words and avoid spaces and special characters, which is better for readability and SEO.
Does it handle accents and other languages?
Accented Latin letters are reduced to their ASCII base (é → e, ü → u, ñ → n) via Unicode normalization. Scripts with no ASCII equivalent (for example Cyrillic or CJK) are dropped rather than transliterated.
Is my text uploaded to a server?
No. The tool runs entirely in your browser, so whatever you type or paste stays on your device. It’s safe for code, tokens and confidential text, and works offline once loaded.