Text Tools

Text to Slug

Convert text to URL-friendly slug format.

How to Use Text to Slug

1

Paste your page title, product name or headline into the input box.

2

Click the "Process" button to lowercase the text, replace spaces with hyphens and strip the punctuation.

3

Compare the full slug with the shortened variant shown below it if your title is long.

4

Copy the slug with one click and paste it straight into the permalink or URL field of your CMS.

Features

100% free with no sign-up and no limit on the title length
Transliterates accented characters instead of percent-encoding them
Collapses repeated hyphens and strips leading or trailing separators
Shows a shortened variant for titles that are too long for a tidy URL
Copy the slug in one click or download it as a .txt file
Runs in your browser, so unpublished titles are never uploaded or stored

Frequently Asked Questions

Yes, it is free for unlimited use and requires no account. There is no watermark and no limit on how many titles you convert.
No. Conversion happens in your browser, so unpublished post titles never leave your device and nothing is stored on our servers.
Around three to five meaningful words is the sweet spot, and keeping it under 60 to 75 characters avoids truncation in search results. Aim for the words a user would actually type into a search box rather than every word in the headline.
Accented Latin letters are transliterated to plain ASCII, so café becomes cafe. Symbols, emoji and other punctuation are removed or replaced with hyphens, and repeated hyphens are collapsed into one.

About Text to Slug

A slug is the readable fragment of a URL that stands in for a page title, and getting a good one is easier than people assume. Take a headline, lowercase it, turn spaces into hyphens, drop the punctuation, and transliterate anything accented into its plain ASCII equivalent. "How to Choose the Right Laptop in 2026" becomes how-to-choose-the-right-laptop-in-2026. The result is short, stable and tells a reader exactly what the page is about before they even click.

Most content management systems generate slugs this way, but they do it inconsistently. WordPress will keep a trailing dash or an encoded character that arrived in the title, Shopify produces a long truncated string when the title is verbose, and a hand-typed slug can contain a space, an uppercase letter or an apostrophe that quietly causes a 404 later. Producing the slug yourself and pasting it into the URL field removes that uncertainty, because you can see exactly what will be published.

Transliteration is the part people miss. Rather than encoding an accented character as a percentage, this converter turns it into its base letter, so café becomes cafe and Grüße becomes grusse. Non-Latin scripts are transliterated where a sensible reading exists. You can also see a truncated variant when a title is long, which is useful because a slug of 120 characters is a wall in the address bar and a weak signal about the page.

When to Use This Tool

  • Creating a permalink or post slug for WordPress, Shopify or any custom CMS
  • Turning a product or category name into a clean, readable URL segment
  • Fixing a slug that contains spaces, capitals, accents or a stray dash
  • Producing a filename-safe version of a title for an uploaded file
  • Checking a slug before you publish so the address looks intentional