nicetool.dev logo

Slug Generator

Paste one title per line. Slugs update as you type and can be copied one by one or all at once.

Titles

Accents are removed (é → e, đ → d), Cyrillic is transliterated (ж → zh) and & becomes "and". Characters without a Latin form, such as Chinese or Japanese, are dropped.

3 slugs
  • how-to-build-a-rest-api-in-go
    https://example.com/blog/how-to-build-a-rest-api-in-go
    29
  • creme-brulee-recipe-for-beginners
    https://example.com/blog/creme-brulee-recipe-for-beginners
    33
  • 10-tips-and-tricks-for-next-js-16
    https://example.com/blog/10-tips-and-tricks-for-next-js-16
    33

What is a URL slug?

A slug is the readable part of a URL that identifies a page, such as "how-to-build-a-rest-api" in example.com/blog/how-to-build-a-rest-api. Good slugs are short, lowercase, use hyphens between words and contain only ASCII letters and digits, which keeps links readable when shared and avoids percent-encoded characters like %C3%A9. Search engines also use the words in the URL as a small relevance signal, so a clear slug helps both users and SEO.

Features

  • • Removes accents and transliterates Vietnamese, Nordic, German and Cyrillic letters
  • • Hyphen, underscore, dot or no separator
  • • Optional lowercase, English stop word removal and max length cut at a word boundary
  • • Bulk mode: one slug per line with copy all
  • • URL preview with your own domain or path

Instant and private

Slugs are generated in your browser as you type. Draft titles are never sent to a server.

SEO-friendly slugs, 100% client-side.

How to use the Slug Generator

  1. 1

    Paste one or more titles, one per line. Each line becomes its own slug, so you can convert a whole list of articles or products at once.

  2. 2

    Choose the separator: hyphens are the standard for URLs, underscores or dots suit file names and identifiers.

  3. 3

    Set the options: lowercase, a maximum length that cuts at a word boundary, removal of English stop words such as "the" or "a", and German umlauts written as ae, oe, ue.

  4. 4

    Check the URL preview with your own domain or path, then copy a single slug or all of them.

Practical examples

Blog and news URLs

"How to Build a REST API in Go" becomes how-to-build-a-rest-api-in-go, or build-rest-api-go with stop words removed, a short and descriptive permalink.

Vietnamese titles

"Hướng dẫn đổi đơn vị đo truyền thống" becomes huong-dan-doi-don-vi-do-truyen-thong, without diacritics that would otherwise turn into long %C6%B0 sequences.

E-commerce product pages

Generate slugs for hundreds of product names from a spreadsheet column at once and paste them back for a CSV import into Shopify, WooCommerce or your own shop.

File and folder names

Use underscores and lowercase to turn report titles into safe file names such as quarterly_report_q3_2026 that work on every operating system.

Frequently asked questions

Should I use hyphens or underscores in URLs?+

Hyphens. Google treats a hyphen as a word separator, while words joined by underscores may be read as one word. Underscores are fine for file names and code identifiers.

How long should a slug be?+

Short enough to read at a glance, usually 3 to 6 meaningful words or under 60 characters. Long slugs get cut off in search results and are harder to share.

Should I remove stop words?+

It is optional. Removing words like "the", "a" or "of" makes slugs shorter, but keep them if the slug would become unclear. The option only removes English stop words.

What happens to Chinese, Japanese or Thai text?+

These scripts have no standard Latin transliteration in this tool, so their characters are removed. For such titles, write a short English or romanized slug by hand.