Slug Generator
Turn a title into a clean, URL-safe slug with your choice of separator and length.
How Slug Generator works
Convert any title into a lowercase, accent-free URL slug with hyphens or underscores and a length limit. Everything happens inside this page: the tool reads your input, runs the calculation or conversion locally, and hands the result back to you. Nothing is transmitted, because there is no backend to transmit it to.
That design choice is deliberate. Most free tool sites upload your files to a server, process them there, and quietly keep a copy. Toolcin cannot do that — the site is a set of static files. If your connection dropped the moment the page finished loading, every tool would still work.
What a slug has to do
A slug is the readable part of a URL. It should be lowercase, hyphenated, ASCII-only and short enough to read at a glance. This tool lowercases the text, strips accents, replaces anything else with the separator you choose, and trims to a maximum length at a word boundary.
Trimming at a word boundary matters: cutting mid-word produces “how-to-rank-a-new-webs” instead of “how-to-rank-a-new-website”. The tool backs up to the last separator before the limit.
Hyphen or underscore
Google treats hyphens as word separators and underscores as part of a word. For URLs, hyphens are the safer choice; for database columns and code identifiers, underscores are conventional.
Never mix both in one site. Consistent URL patterns are easier to predict and easier to redirect later.
| Input | Hyphen | Underscore |
|---|---|---|
| How to Rank a New Website | how-to-rank-a-new-website | how_to_rank_a_new_website |
| Café Déjà Vu | cafe-deja-vu | cafe_deja_vu |
| 10 Tips & Tricks! | 10-tips-tricks | 10_tips_tricks |
Accents, length and duplicates
Stripping accents is not cosmetic: a URL containing é is percent-encoded to %C3%A9, which is unreadable and sometimes shared wrongly in plain-text contexts. Removing them avoids the whole class of problem.
Aim for three to six words. A 60-character slug is usually a sentence that should have been shortened, and slugs cannot be changed later without a redirect.
Good to know
- Works offline once loaded, including on flights and in locked-down networks.
- No file size limit beyond your device's own memory.
- Free to use, with no account and no usage counter.
- Results are produced locally, so they are not logged or shared with anyone.
Questions
What makes a good slug?
Three to five words, lowercase, hyphens, and the main keyword near the front.
Are accents removed?
Yes — “Café” becomes “cafe” rather than percent-encoded characters.
Can the slug be changed after publishing?
Technically yes, but every change needs a redirect or inbound links break. Decide once.
Does it remove stop words?
No. Remove them yourself if you want a shorter slug.
Keep going
More text tools
Reverse Text
Flip text by character, word or line, or mirror characters into a readable backwards effect.
Open toolRemove Line Breaks
Remove every line break and rejoin text with a space, comma or nothing, optionally keeping paragraph breaks.
Open toolFancy Text Generator
Convert plain text into bold, italic, script and monospace Unicode characters that survive where formatting is stripped.
Open toolBold Text Generator
Produce bold Unicode letters and digits that render bold in bios, captions and comments without formatting support.
Open toolCursive Text Generator
Generate cursive-style Unicode letters for names, bios and short phrases.
Open toolSmall Text Generator
Convert text into small-caps Unicode letters for compact bios and labels.
Open tool