Slugify
Turn any title or sentence into a clean, URL-safe slug. Lowercased, de-accented and joined with your chosen separator.
Result:
How to create a slug
- Type or paste your text into the input box.
- Pick a separator, dash or underscore.
- Optionally set a maximum length for the result.
- Copy the finished slug with one click.
FAQs
What is a slug?
A slug is the human-readable part of a URL that identifies a page, such as the "slugify" in handio.org/slugify. It is lowercase, with words separated by dashes.
How are accented characters handled?
Accents are stripped, so "café" becomes "cafe". Non-Latin or symbolic characters are removed because slugs should stick to lowercase letters, numbers and your separator.
Should I use dashes or underscores?
Dashes are the standard for URLs and are read as word separators by search engines. Underscores are more common in file names and some codebases.
Is the tool free?
Yes. All Handio tools are free and run entirely in your browser, so your text never leaves your device.
Related Tools
Why slugify your text?
URLs with clean slugs are easier to read, share and remember. A slug strips out the characters that break links or cause encoding headaches in file names and routes.
- Generate a clean URL path from a blog post title.
- Create safe, portable file names for uploads.
- Keep identifiers consistent across a site or app.
Tips and Limits
Slugs are limited to lowercase letters, numbers and your separator, so other scripts are dropped rather than percent-encoded. The result updates live and runs entirely in your browser.