Text to Slug
Turn titles into clean URL slugs with configurable separators.Text ToolsText to Slug
Turn any title into a URL-friendly slug: accents folded, spaces and punctuation collapsed into separators.
About this tool
Slugs should be lowercase, ASCII, and free of punctuation. This tool folds accents (é → e), collapses spaces and punctuation into your chosen separator, trims the edges, and caps the length at a sensible 120 characters.
How to use the Text to Slug tool
- Type or paste the title. Any text, including accented characters.
- Choose separator and case. Hyphen or underscore, with an optional lowercase pass.
- Copy the slug. The slug updates live and can be copied with one click.
Supported formats
Input
- Plain text
Output
- A URL slug
Inputs are validated before anything is processed. Invalid values and unsupported files are rejected with a clear error instead of failing silently.
Frequently asked questions
What happens to accents?
They are decomposed and folded to their ASCII base letter, so Café becomes cafe.
What about Chinese, Japanese or Cyrillic?
Those scripts have no ASCII fold, so the characters are dropped rather than transliterated. Translate or transliterate first if you need them represented.
Why is there a length cap?
Search engines and human readers both prefer short slugs; the output is cut at 120 characters.
Does it handle apostrophes?
Yes, they are treated as separators like other punctuation.
Privacy
Everything you enter stays in this browser tab. There is no upload endpoint for tool inputs, no account, and no server-side copy of your text or files. Results are produced locally and disappear when you close the page.
No account is required and no file is ever uploaded. See the privacy policy for details about analytics and the limited data this site stores.
Known limitations
- No transliteration for non-Latin scripts.
- Numbers are kept; leading/trailing separators are trimmed.
- The cap is a hard 120 characters without word-boundary awareness.
Related tools
Other free tools from the same collection.