Slug Generator
Turn titles or text into clean, lowercase, URL-ready slugs instantly in your browser.
Enter one title per line to generate one slug per line.
CleanTextly's Slug Generator is a free, browser-based URL slug generator that turns a title or any text into a clean slug — the readable part of a web address that identifies a page, like the last segment of /blog/how-to-build-a-website. Type or paste your text and the slug updates as you type: lowercase, accents removed, punctuation stripped, and words joined with single hyphens. Everything runs locally in your browser, so nothing you enter is uploaded.
Features
Live Slug Generation
The slug updates instantly as you type or paste — there's no button to click and no page reload.
Clean, Predictable Output
Text is lowercased, punctuation and symbols are removed, and spaces, underscores, and repeated hyphens become a single hyphen. Slugs never start or end with a hyphen.
Accent Handling
Accented Latin letters are converted to plain letters, so "Café" becomes "cafe" and "Crème brûlée" becomes "creme-brulee". Letters like ß and ø are converted too.
One Slug per Line
Enter several titles, one per line, and get one slug per line in the same order. Blank lines stay blank so your lists stay aligned.
Works With Other Scripts
Text in non-Latin scripts such as Cyrillic, Greek, Devanagari, or Japanese is kept as-is rather than being guessed at or dropped.
100% Private
Slugs are generated locally in your browser. Your text is never uploaded, logged, or stored anywhere.
How to Use
- 1
Enter your title or text
Type or paste a page title, post title, or any text into the input box. Use Paste to insert from your clipboard.
- 2
Check the generated slug
The URL slug appears right away in the output box. To convert several titles at once, put each on its own line.
- 3
Copy it into your URL
Click Copy Output and paste the slug into your CMS, router, or file name. Use Clear to start over.
Example
Turn a title into a URL slug
Title
How to Convert YAML to JSON – A Practical Guide
Slug
how-to-convert-yaml-to-json-a-practical-guide
Common Use Cases
Blog Post URLs
Create a readable URL for a new article from its headline, e.g. 10 Best Tools for Web Developers! becomes 10-best-tools-for-web-developers.
Web Pages and Product Pages
Generate consistent slugs for landing pages, category pages, and product names so your URL structure stays tidy.
CMS and Static Site Content
Get a ready-to-paste slug for WordPress, Ghost, Markdown files, or any framework that builds routes from a slug field.
File Names and Identifiers
Use the same lowercase, hyphenated format for file names, anchors, or IDs — for example Café & Restaurant Guide becomes cafe-restaurant-guide.
Batch Slug Lists
Paste a list of titles from a content plan or spreadsheet column and get a matching list of slugs in one step.
Frequently Asked Questions
A URL slug is the human-readable part of a web address that identifies a specific page. In https://example.com/blog/how-to-build-a-website, the slug is how-to-build-a-website.
A slug generator converts a title or other text into a URL-friendly slug — typically lowercase, with punctuation removed and words separated by hyphens.
Enter your title in the input box and copy the generated slug. Doing it by hand means lowercasing the text, removing punctuation, and replacing spaces with hyphens.
Lowercase is the safest convention. Paths can be case-sensitive on some servers, so a single consistent lowercase format avoids duplicate or mismatched URLs.
Yes. Spaces aren't valid in URLs and get encoded as %20, which is hard to read. Hyphens keep words visually separate and are the common convention for slugs.
Generally yes. Characters like commas, question marks, ampersands, and quotes have special meaning in URLs or need encoding. Removing them keeps the slug short and readable. This tool also drops apostrophes, so "Don't" becomes "dont".
It's optional. Words like "the", "a", and "of" can make a slug longer, but removing them can also change its meaning. This tool keeps them, so you can shorten the slug yourself if you want to.
Yes. Numbers are valid and kept as-is, so "10 Ways to Improve CSS" becomes 10-ways-to-improve-css.
The domain part of a URL is not case-sensitive, but the path — which includes the slug — can be, depending on the server. Using lowercase everywhere avoids surprises.
Accented Latin letters are converted to plain letters (é becomes e). Letters from other scripts, such as Cyrillic or Japanese, are kept as they are rather than transliterated. Browsers may show them percent-encoded when copied into a URL, so check how your platform handles them.
No. Slugs are generated locally in your browser. Your text is never sent to a server or stored.
Yes. It works for blog posts, landing pages, product pages, and any other content that needs a readable URL slug. A clean slug makes a URL easier to read and share, but it isn't a ranking guarantee on its own.
Related Tools
Case Converter
Switch between upper, lower, and title case instantly.
Character Counter
Count characters, letters, words, and more in real time.
Find and Replace
Find and replace every occurrence of text instantly.
Remove Extra Spaces
Collapse extra spaces and tabs while keeping line breaks.
URL Encoder & Decoder
Encode and decode URLs, query strings, and special characters.