5 new job openings added this week

SEO-Friendly URL Slug Generator

Text Tools Runs in your browser

Convert titles and text into URL-friendly slugs. Perfect for creating clean URLs and permalinks.

Slug Generator tool

Characters: 0

Slug Options

About Slug Generator

Paste a headline and get the URL-safe version of it: lowercase, words joined by hyphens, punctuation removed, no double separators and nothing dangling at either end. Switch the separator to an underscore if your platform expects one, keep the original case if you need to, and drop common stop words to shorten a long title.

What this tool does

  • Converts any title or phrase into a URL-safe slug
  • Separator options: hyphen, underscore or encoded space
  • Case options: lowercase, uppercase or preserve the original
  • Optional removal of 24 common English stop words
  • Collapses repeated separators and trims them from both ends
  • One-click copy of the finished slug

Runs in your browser. This tool runs entirely in your browser using JavaScript. Nothing you enter or open here is uploaded to our servers.

How to use Slug Generator

  1. Paste the title

    Drop in the headline, product name or phrase you want the URL to be built from.

  2. Choose the separator

    Hyphen is the right answer for the web and is the default. Underscore only if a platform you cannot change requires it.

  3. Decide on stop words

    Turn the option on to strip words like "the", "and" and "of" from a long title. Leave it off when removing them would make the slug read oddly.

  4. Generate and copy

    Press Generate Slug, check it still reads as a phrase, and copy it into your CMS.

Slug Generator examples

Real input and the output this tool produces for it.

Example inputs and the results Slug Generator returns
Example Input Result
Blog headline How to Bake Sourdough Bread at Home! how-to-bake-sourdough-bread-at-home
Stop words removed The Best Guide to the History of Coffee best-guide-history-coffee
Punctuation and symbols Top 10 Tips & Tricks (2026 Edition) top-10-tips-tricks-2026-edition
Accented characters Café Culture in Paris caf-culture-in-paris — accents are removed, not transliterated

What makes a good URL slug

What a slug is

The slug is the human-readable part of a URL that identifies a specific page — in example.com/blog/how-to-bake-sourdough, the slug is how-to-bake-sourdough.

It matters for two reasons. People read URLs when deciding whether to click one, and a readable slug tells them what they will get; Google also displays the URL in results and uses the words in it as a weak relevance signal. Neither effect is dramatic, but a slug costs nothing to get right and is annoying to change later.

Rules worth following

The conventions below are close to universal, and most exist because URLs behave badly when they are broken.

  • Use hyphens, not underscores. Google has treated hyphens as word separators and underscores as word joiners for years, so red_shoes can be read as one token.
  • Lowercase everything. URL paths are case-sensitive on most servers, so /About and /about can be two pages with identical content.
  • Keep it short. Three to five meaningful words is plenty. A slug is a label, not a summary.
  • Describe the page, do not stuff it. Repeating a keyword in the slug does nothing, and it makes the URL look like spam to a human reader.
  • No dates unless the date is the point. /2019/10/guide makes a refreshed article look stale.
  • Avoid stop words only when it still reads naturally. how-to-bake-bread is better than bake-bread, even though "how to" are stop words.
  • Do not change a live slug casually. Changing it breaks every existing link; if you must, redirect the old URL to the new one with a 301.

Accents and non-Latin scripts

This is worth knowing before you rely on the output. The tool removes every character outside A–Z, 0–9, underscore and space rather than transliterating it. So "café" becomes "caf", not "cafe", and a title written in Cyrillic, Greek, Arabic or a CJK script will come back empty or nearly so.

If you are working in a language with accented Latin characters, replace them by hand before generating — é to e, ü to u, ñ to n — or write the slug manually. For non-Latin scripts you generally want either a proper transliteration or a slug written in Latin script that describes the page; either way, do it by hand.

Which stop words are removed

The option strips a fixed list of 24 common English words: a, an, and, are, as, at, be, by, for, from, has, he, in, is, it, its, of, on, that, the, to, was, will, with.

It is a blunt instrument, and that is fine for shortening a long title. Read the result before using it, though — removing "to" from "how to bake bread" leaves "how-bake-bread", which reads worse than the original. The option is best applied to titles that are genuinely too long, not as a default.

When people use this tool

Publishing a blog post

Turn the headline into a permalink before it goes live, while changing it is still free.

Creating product pages

Build consistent, readable URLs from product names across a catalogue.

Naming files and assets

The same rules make good filenames — lowercase and hyphenated avoids encoding problems in URLs.

Planning a site structure

Generate the slugs for a set of planned pages so the URL structure is decided before anything is built.

Cleaning up an imported site

Normalise slugs carried over from a platform with different conventions.

Building an anchor or an ID

The same transformation produces safe fragment identifiers for in-page links.

More about Slug Generator

Convert any title or text into a URL-friendly slug. Customize separator, case, and remove stop words. Perfect for creating clean URLs, permalinks, or file names. Essential tool for web developers and content creators.

Slug Generator — frequently asked questions

All Text Tools

Guides and articles

Share This Tool

Help others discover this tool by sharing it on social media

Embed Slug Generator on your site

Paste this iframe into your own page to give your readers the working tool without sending them away. The embed carries a "Powered by TechBelievers" link and needs no API key.

Embed code
<iframe src="https://techbelievers.com/tools/slug-generator/embed?theme=light" width="100%" height="600px" title="Slug Generator by TechBelievers" style="border:1px solid #e2e8f0;border-radius:0.5rem"></iframe>

Report a problem or suggest an improvement

Only used to reply to you about this report.

Join Whatsapp