Slug generator
Paste a title or any text and FileTinker turns it into a clean, URL-safe slug — accents removed, lowercased and joined with hyphens or underscores. It updates as you type and runs entirely in your browser.
How to make a slug
- Paste your title or text into the box.
- Choose a separator and whether to lowercase; the slug updates live.
- Copy the slug.
About slugs
A slug is the human-readable identifier in a URL — the "hello-world" in /blog/hello-world. Good slugs use only lowercase letters, digits and hyphens, which keeps links clean, readable and safe to share, and helps search engines and people understand what a page is about.
This generator strips accents and diacritics, collapses spaces and punctuation into a single separator, and trims the ends, so you get a tidy slug from any title. It runs entirely in your browser — instant, private and free.
Slugs are useful well beyond blog URLs. The same conventions make reliable file names for exports and uploads, safe image names that survive any server, tidy Git branch names, and stable keys or IDs in a spreadsheet or database. Anywhere a system chokes on spaces, accents or punctuation, running the text through a slug first saves you from encoding surprises later.
A good slug is short and specific. Trim filler words like a, the and of when they add nothing, keep the terms someone would actually search for, and resist packing in every word of a long title — three to six meaningful words is usually plenty. Skip dates unless the content is genuinely time-bound, since a year in the slug makes an updated article look stale.
Frequently asked questions
What is a slug?
A slug is the URL-friendly part of a web address — the readable identifier in a link, like "my-first-post". It uses only letters, digits and a separator so it is safe in URLs and easy to read.
How is the slug generated?
Accented letters are reduced to their base form, the text is lowercased (optional), and every run of non-alphanumeric characters becomes a single separator, with leading and trailing separators trimmed.
Can I use underscores instead of hyphens?
Yes. Switch the separator to underscore, and you can also keep the original capitalization by turning lowercase off.
Is anything uploaded?
No. The slug is generated in your browser, so your text never leaves your device.
Should I change a slug after publishing?
Avoid it if you can. The slug is part of the URL, so changing it breaks every existing link, bookmark and share, and search engines treat the new address as a different page. If a change is unavoidable, set up a permanent redirect from the old URL to the new one so visitors and rankings carry over.