Skip to main content
Preparing workspace

Text to Slug

Convert one title per line to lowercase URL slugs. Keep Unicode letters and marks, or number duplicates within the list before copying.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Text to Slug

Turn any title into a clean, URL-friendly slug.

Text to Slug converts titles, headings and filenames into lowercase, hyphen-separated URL slugs. Paste several titles on separate lines to convert them together. The default folds common accents into ASCII, so Café & Restaurant Guide becomes cafe-and-restaurant-guide. Optional settings preserve Unicode letters and marks or give repeated slugs distinct numbered suffixes within the list.

How to use Text to Slug

  1. Paste one title per line into the Input box. Select Load sample for examples.

  2. Enable Keep letters from other scripts to preserve Unicode letters and marks. Enable Make slugs unique to add numbered suffixes to repeated slugs.

  3. Check the result and select Copy to take the slugs in input order.

Why use Text to Slug

  • ASCII and Unicode slugs

    Use the default to fold accents into ASCII, or keep accents and letters from scripts such as Devanagari, Greek and Japanese.

  • Symbols spelled out where it matters

    &, @ and + become and, at and plus before the strip step, so "C++ vs C#" reads as c-plus-plus-vs-c rather than collapsing to a bare c-vs-c.

  • Unique slugs within a list

    Number repeated slugs while preserving the first occurrence of each base slug, including titles that already end in a number.

Common use cases

  • Publishing a post titled "React.js @ Scale" and needing the permalink now, before the CMS auto-generates something with a stray dot or trailing hyphen in it — you get react-js-at-scale.
  • Renaming a batch of download files so they survive URLs and shell commands: apostrophes and quotes disappear rather than turning into hyphens, so "Editor's Handbook" becomes editors-handbook, not editor-s-handbook.
  • Checking what an accented or punctuation-heavy headline will look like in a URL before you commit to it, so you do not have to set up a 301 redirect a week later when the ugly slug is already indexed.

Frequently asked questions

Can I make duplicate slugs unique within a list?

Yes. Turn on Make slugs unique. Repeated slugs receive a numbered suffix and skip any values already used by other titles in the same list. For Conference, Conference and Conference 2, the result is conference, conference-3 and conference-2.

Link to answer
What makes a good URL slug?

Lowercase ASCII letters, digits and single hyphens as word separators, kept short and readable. Hyphens rather than underscores are the long-standing search-engine convention for word boundaries, and lowercase avoids the case-sensitivity mismatch between servers that treat /About and /about as two different pages.

Link to answer
Does it handle accented characters and emoji?

The default folds a common accent into its base Latin letter, such as é to e. Keep letters from other scripts preserves accents and letters across scripts. Emoji and punctuation generally act as word separators, and the tool spells out &, @ and +.

Link to answer
Why did my Cyrillic, Greek or Chinese title come out empty?

The default uses ASCII letters and digits. Enable Keep letters from other scripts to generate a slug from the title as written. Your browser may percent-encode Unicode characters when it displays or shares the full URL.

Link to answer
Can I convert several titles at once?

Yes. Paste one title per line. The result follows the input order and skips blank input lines. A line made only of unsupported symbols can produce an empty slug.

Link to answer