HCODX/Text to Slug
Single line or bulk · Unicode-aware · zero upload

Text to Slug

Turn any title, heading, or arbitrary text into a clean URL slug. Drop in one line for a single conversion or a whole list for a batch job — the converter handles accents, punctuation, and Unicode for you.

Source text
URL slug
Slug options
URL Encode
Input lines
0
Output slugs
0
Avg length
Status
Ready
Example

From article title to clean slug

Accents disappear, punctuation drops, spaces become hyphens — but you can paste an entire list and slugify all rows at once.

Input
10 Things About Café Culture in Paris!
Slug
10-things-about-cafe-culture-in-paris
Use cases

What you'll use this for

Any place where text becomes part of a URL, filename, or identifier.

Blog permalinks

Generate a clean URL for every post title before publishing.

Filenames

Sanitize a list of filenames for cross-platform safe naming.

DB string IDs

Stable, human-readable identifiers for slugs columns in databases.

SEO-friendly URLs

Search engines and humans both prefer descriptive URLs over ?id=42.

Step by step

How to slugify text

1

Paste text

One title, or a list of titles (one per line). The tool processes each line independently.

2

Pick a separator

Hyphen is the URL standard, underscore for filenames, dot for some CMSes.

3

Tune options

Lowercase, strip accents, collapse repeated separators, optional max length.

4

Copy or download

Use the action bar to copy or save as .txt.

FAQ

Frequently asked questions

It converts text into a URL slug — lowercased, hyphen-separated, accents stripped, punctuation removed. Useful for blog permalinks, filenames, slugs columns, or anywhere a piece of text needs to live inside a URL.

Yes — Slug Generator and Text to Slug are the same converter under two common search names. Whichever you bookmark works.

Yes. Paste one title per line in the left editor. The tool returns one slug per line, in the same order.

Non-ASCII letters are removed after accent stripping — only a-z 0-9 survives. For Cyrillic, Greek, or CJK slugs you'd want a transliteration library.

No. Collisions are common when titles only differ by punctuation, so append a number or short hash in your application to enforce uniqueness.

About

About URL slugs

The term "slug" comes from newspaper typesetting, where it referred to a short label identifying a story. On the web, the same word now means the readable bit of a URL — a substitute for a numeric ID that's friendlier to humans, search engines, and link sharing.

Slug best practices

  • Lowercase — avoids case-sensitivity bugs.
  • Hyphens, not underscores — search engines treat them as word boundaries.
  • ASCII-only — no encoding ambiguity in routes and analytics.
  • Short — keep slugs under ~70 characters where possible.
Related

Related tools