Skip to content

Text to Slug Converter

In-browser only Unicode-aware Live preview
CcopyXclear
Converts live — no button
Word separatorCharacter placed between words
Remove stop wordsStrip the, a, of, for, to…
Remove numbersStrip 0–9 from the slug
Transliterate non-LatinCyrillic, Greek, Arabic → Latin. Off: non-Latin characters are dropped.
Limit lengthTrim at the nearest whole word
URL slug
hello-world
0 characters

All conversion happens in your browser. Your text is never uploaded.

History (0) ▾

No slugs yet. Generate one above.

Overview

Clean URL slugs, instantly

Paste any text — a blog title, product name, or CMS path — and get a clean, lowercase, URL-safe slug in real time. Options let you control the separator, strip stop words and numbers, transliterate non-Latin scripts, and cap length at a word boundary.

How to use

How to convert text to a URL slug

  1. 1
    Type or paste your text

    Enter any title, sentence, or phrase in the input box. The slug appears instantly in the output — no button to press.

  2. 2
    Choose a separator

    Select hyphen (the web standard for SEO-friendly URLs) or underscore (common in Python and database identifiers). The pipeline re-runs automatically.

  3. 3
    Tune the options

    Toggle stop-word removal to strip common words like "the", "of", and "for". Toggle number removal if your slug should contain only letters. Enable a character limit to keep slugs SEO-friendly.

  4. 4
    Copy and use

    Click Copy slug or press C to copy the result. For multi-line input, each line becomes its own slug and all lines are copied together.

Frequently asked questions

What is a URL slug?
A URL slug is the human-readable part of a web address that identifies a specific page. For example, in https://example.com/blog/best-coffee-recipes, the slug is best-coffee-recipes. Slugs are lowercase, use hyphens or underscores instead of spaces, and contain only ASCII letters, digits, and separators.
Why use hyphens instead of underscores?
Search engines treat hyphens as word separators in URLs, making hyphen-separated slugs more readable and generally better for SEO. Underscores are treated as word joiners, so best_coffee_recipes is read as one token. Use underscores when your framework or convention requires it (for example, Python module names or certain CMS systems).
What are stop words?
Stop words are common English words — "the", "a", "of", "for", "and", etc. — that carry little semantic meaning in a URL. Removing them produces shorter slugs that are easier to read and type. For example, "The Best Guide to Coffee" becomes best-guide-coffee instead of the-best-guide-to-coffee.
How does transliteration work?
When transliteration is on, non-Latin characters (Cyrillic, Greek, Arabic, Vietnamese, etc.) are converted to their closest Latin equivalents using the slugify library's built-in character map. German umlauts always use the German convention: ä → ae, ö → oe, ü → ue, ß → ss. CJK scripts (Chinese, Japanese, Korean) are not yet transliterated and will produce "untitled" — this is a known limitation tracked for a future update.
Where is my text processed?
Everything happens locally in your browser. Your text is never sent to a server or stored anywhere outside your own device. The history feature uses your browser's local storage, which is sandboxed to this site.
What happens if I paste more than 5,000 characters?
The pipeline processes the first 5,000 characters and shows a brief notice. This keeps the browser responsive on very long pastes. For bulk processing, break your text into smaller chunks.