Something wrong with this tool?

About TEXT To SLUG Converter Online

This tool converts a piece of text into a URL-safe slug — lowercase ASCII letters and digits separated by hyphens, no spaces or special characters. "My Awesome Blog Post!" becomes "my-awesome-blog-post".

Slugs are the human-readable portion of URLs you see in blog posts, product pages, and documentation. A good slug is concise, descriptive, free of special characters that might break links, and consistent in style across the site.

The tool handles accented characters (transliterating é to e, ñ to n), strips punctuation, collapses repeated hyphens, and trims leading/trailing dashes. The result is safe to use in any URL scheme.

How to use this tool

How to convert text to a URL-friendly slug

  1. Paste the source text

    Drop the title, headline, or sentence into the "Text" field. The tool accepts any characters — accented letters, non-Latin scripts, punctuation, emoji.

  2. How the slug is built

    Steps applied in order: NFKD normalisation, combining marks stripped, lower-cased, anything outside `[a-z0-9]` replaced with `-`, leading/trailing `-` trimmed, finally clipped to 120 characters.

  3. Press Run

    Result returns a single `slug` field. Texts that collapse to empty (e.g. pure Arabic, CJK, or emoji) fall back to the literal slug `n-a` — never an empty string, so your URLs don't break.

  4. Limits and caveats

    120 characters is plenty for SEO; longer titles are truncated cleanly at the boundary. The slug is NOT unique per-run — if you need uniqueness, append a hash, ID, or timestamp after copying.