DOCBETTER

🔗 Text Slug Generator

Paste a title or heading and get a clean URL slug instantly — accents folded to plain letters, punctuation stripped, and spaces turned into your chosen separator, ready to drop into a permalink or file name.

🔗 Slugify Your Text

🔗 URL Slug

Slug
hello-world-cafe-croissants

27 characters.

A slug is the clean, human-readable part of a URL. Accented letters are folded to plain ones (ß becomes ss, Ł becomes l), apostrophes are removed, and every other run of spaces or punctuation becomes one separator, so a title's own hyphens survive. Folding means “Müller” and “Muller” give the same slug: when you make many from a list, add something unique such as an ID or date.

What is a Text Slug Generator?

A slug generator converts a human title into the clean, hyphenated string that belongs in a URL or file name. It folds accented characters to their plain equivalents, removes punctuation and symbols, and collapses spaces into a single separator — the exact recipe a CMS uses to build a permalink.

Consistent, readable slugs help both people and search engines understand what a page is about. DocBetter builds the slug live in your browser as you type, with control over the separator and casing, so your text stays private and the result is ready to copy.

❓ Frequently Asked Questions

What is a URL slug?

A slug is the readable part of a web address that identifies a specific page — for example 'text-slug-generator' in this page's URL. Good slugs are short, lowercase, hyphenated, and free of punctuation and accents, which makes them easy to read, share, and index in search engines.

How are accented characters handled?

The generator normalises your text and strips diacritic marks, so 'Café' becomes 'cafe' and 'Málaga' becomes 'malaga'. Letters that do not split into a base and an accent are spelled out: 'Straße' becomes 'strasse', 'Łódź' becomes 'lodz', 'Øresund' becomes 'oresund'. Scripts with no Latin spelling here, such as Chinese, Japanese, Greek or Cyrillic, are dropped, and the generator tells you which characters it dropped. Plain ASCII is the most portable form for URLs and file names, but folding means 'Müller' and 'Muller' share a slug.

Can I use underscores instead of hyphens?

Yes. Hyphens are the SEO-friendly default that search engines treat as word separators, but you can switch to underscores for file names or code identifiers. You can also keep the original capitalisation if you turn off the lowercase option.

Is my text kept private?

Yes. The slug is generated entirely in your browser as you type, so nothing is uploaded. It's safe to slugify unpublished titles, internal file names, and confidential headings.