Slug Generator Online: Clean SEO URL Slugs in Seconds

Turn titles into URL slugs in your browser. Choose hyphens or underscores, remove stopwords and digits, set a length limit, and convert lists at once.

100% Client-Side • Your data stays in your browser
How to use & FAQ
Loading tool...

Slug Generator

A page title is written for readers, but its URL needs a compact, dependable path segment. Spaces, punctuation, accented letters, and copied formatting can make that path difficult to read or reuse. This slug generator turns a title or a whole list of titles into lowercase URL slugs. It is useful when preparing blog posts, product pages, knowledge base articles, landing pages, and content migration spreadsheets. You can choose hyphens or underscores, select a stopword language, remove digits, and set a maximum length that favors complete words. A URL preview helps you see how a result will look as part of a web address before you publish it. The text is transformed in your browser, so unpublished headlines and internal page names do not need to be uploaded for conversion. A slug is only one part of a good URL: it should describe the page accurately, remain stable after publication, and avoid unnecessary words. Use the output as an editable starting point, especially when a brand name, model number, or important search term must stay intact. For several pages, bulk mode keeps the results in input order and skips blank or unusable lines, making it easier to compare titles and paste the finished paths into your publishing workflow.

How to Use This Tool

  1. 01 Type or paste one page title into the input area. For several pages, switch to bulk mode and place each title on its own line so the results stay in the same order.
  2. 02 Choose a hyphen or underscore separator. Hyphens are a familiar choice for public article URLs; underscores can suit an internal naming convention that already uses them.
  3. 03 If you want shorter paths, turn on stopword removal and choose English, Portuguese, or Spanish. Enable digit removal only when years, versions, and model numbers are unimportant.
  4. 04 Set a maximum slug length if your site has a path policy. Review whether the result keeps complete words; a very long first word is shortened with a warning.
  5. 05 Check the URL preview, then copy or download the output. Before publishing, compare the slug with your page title and check for a duplicate path on your site.

How It Works

The generator first separates the input into words and normalizes letters to a consistent lowercase form. Diacritics are folded into plain letters where possible, so café becomes cafe and São becomes sao. Punctuation, extra spaces, and repeated separators do not become stray marks in the path. The selected separator joins the remaining words, producing a readable segment such as garden-care-guide or garden_care_guide. The URL preview places that segment in an address-like context; it is a visual check, not a test that the page exists. Stopword removal compares whole words with a list for the language you select. Common connective words such as English the, Portuguese de, or Spanish la may be dropped, while the other words keep their order. If every normalized word would be removed, the generator retains the normalized words instead of returning a blank slug. Digit removal removes numeric characters wherever they occur, even inside a mixed word, so review product codes carefully before enabling it. The length setting favors complete words: a later word that would push the output past the limit is omitted rather than cut midword. If the first normalized word alone is longer than the limit, it is shortened to fit and a warning is shown; consider shortening the source title manually. Bulk mode repeats the same transformation for each nonblank line, skipping lines without usable letters or digits, so one set of options can be applied consistently across a list without merging unrelated titles.

Practical Examples

Turn an accented event title into a readable path

Input
                      Café Planning for São Paulo
                    
Output
                      cafe-planning-for-sao-paulo
                    

With hyphens selected and stopword removal off, accented letters become plain letters while each original word remains in order. The result is easier to type and share in a URL.

Remove filler words and digits from a dated headline

Input
                      The 10 Best Paths to a 2026 Garden
                    
Output
                      best-paths-garden
                    

With English stopwords and digit removal on, the, to, and a are omitted, along with both numbers. Keep digit removal off if a year or numbered edition distinguishes this page.

Prepare two internal paths in one batch

Input
                      Spring Planting Guide
Weekend Garden Checklist
                    
Output
                      spring_planting_guide
weekend_garden_checklist
                    

With underscores selected and filtering off, bulk mode converts both titles independently. These two outputs follow the same order as the two source titles in a page-path spreadsheet.

Tips & Best Practices

  • Prefer a short phrase that still identifies the page. Removing a useful subject word can make two different pages look alike and can create duplicate paths in a content system.
  • Choose one separator convention for a section of your site and keep using it. Changing an already published URL may require a redirect and updates to internal links.
  • Select the stopword language that matches the title itself, not merely the language of your browser. A Portuguese title needs Portuguese rules even on an English interface.
  • Leave digit removal off for model numbers, release years, sizes, and numbered guides. Digits inside mixed names are removed too, so a product identifier may lose its meaning.
  • Use the length limit as a guardrail, then read the result aloud. If a meaningful word disappears or the first word is shortened, simplify the source title or raise the limit.

Frequently Asked Questions

What is a URL slug?

A slug is the readable path segment that identifies a page, such as garden-care-guide in an article URL. It usually comes from a title, but it can be edited to make the address concise and stable.

Should I choose hyphens or underscores?

Hyphens are a common convention for public web page paths because they are easy to scan between words. Use underscores when your existing system requires them; consistency across related pages matters more than switching styles for one new page.

What happens if removing stopwords would leave nothing?

The generator keeps the normalized words when every word matches the selected stopword list. That fallback avoids an empty path, but you should still replace a vague title such as The and a with a descriptive page name.

Will the maximum length cut a word in half?

Usually no: later words are left out if they would exceed the limit. The exception is a first word longer than the limit; it is shortened to fit and the tool shows a warning. Revise the title if that changes its meaning.

Can I convert many titles while preserving accents in the source list?

Yes. In bulk mode, each usable nonblank line produces an output line in the same order. Blank or unusable lines are skipped, so the output has no placeholder rows. The source titles stay in the input area for comparison.

Does the preview confirm that the URL is available, and is my text uploaded?

The preview only shows the proposed slug inside a sample web address; it does not check your site or reserve a path. Conversion runs locally in your browser, so you should check your publishing system for duplicates before going live.

Related Tools