---
title: "Slug Generator — URL-Friendly Text Converter | fbuff"
description: "Convert titles and phrases into clean URL slugs. Handles Vietnamese, accents and special characters. Free, runs in your browser."
url: https://fbuff.com/tools/slug-generator/
---

![A long title card turning into a short neat web address strip joined by small dashes](https://fbuff.com/content/slug-generator.webp)

## How to use

1. Type or paste a title into Input text, for example a blog post title or a product name.
2. The slug appears at once. Choose Hyphen (-) for web addresses or Underscore (_) for file names, and keep Force lowercase and Remove accents ticked for clean URLs.
3. Click Copy and paste the slug into your CMS, shop or file name.

## What a URL slug is

The slug is the readable last part of a web address: in example.com/blog/how-to-make-cold-brew, the slug is how-to-make-cold-brew. A good slug is short, lowercase, uses hyphens between words and describes the page, which helps readers and search engines understand the link before they click.

WordPress, Shopify, Squarespace and most other platforms create a slug from the title automatically, but often keep every small word or leave accented letters encoded. Making it here lets you choose a clean version before you publish; changing it later breaks existing links unless you add a redirect.

## Examples

With Hyphen, Force lowercase and Remove accents ticked:

| Title | Slug |
| --- | --- |
| Hello World! Chào Việt Nam | hello-world-chao-viet-nam |
| Crème Brûlée Recipe | creme-brulee-recipe |
| Don't Stop Me Now | dont-stop-me-now |
| 10% off — today | 10-off-today |

## Tips for good slugs

Keep the words that carry the meaning and drop the rest: "The 10 Best Ways to Keep Basil Fresh in 2026" works well as keep-basil-fresh. Avoid dates in evergreen articles, so the address still makes sense when you update the page.

Use hyphens, not underscores, in web addresses: Google recommends hyphens because they clearly mark where one word ends and the next begins. The tool keeps only the letters a–z, digits and the separator, so apostrophes, symbols and emoji are removed. Text in scripts without Latin letters, such as Chinese or Thai, is removed too; write those slugs in Latin letters.

## Frequently asked questions

### Should a slug use hyphens or underscores?

Hyphens for URLs: Google recommends them because they clearly signal a word boundary, while underscores often keep terms together in programming. Underscores are fine for file names and code.

### How long should a slug be?

As short as it can be while still describing the page, often three to five words.

### Does it handle Vietnamese and other accented letters?

Yes. With Remove accents ticked, ă, ê, ơ, đ and other accented letters become plain a–z, so Tiếng Việt becomes tieng-viet.

### Can I change a slug after the page is published?

You can, but links, bookmarks and search results still point to the old address. Add a 301 redirect from the old URL to the new one so visitors and search engines follow it, and avoid changing slugs that already get traffic.

### Is my text uploaded?

No. The slug is made in your browser and nothing you type is sent anywhere.

Found a problem or have an idea? [Report a problem](https://fbuff.com/contact/?tool=slug-generator)

Share

## You might also like

- - [URL Encoder Decoder Encode and decode URL components locally in your browser.](https://fbuff.com/tools/url-encoder-decoder/)
- - [GUID / UUID Generator Generate UUIDs and convert GUIDs to short GUIDs locally in your browser.](https://fbuff.com/tools/guid-uuid-generator/)
- - [Unix Timestamp Converter Convert Unix epoch to datetime and back. 100% client-side.](https://fbuff.com/tools/unix-timestamp/)
- - [Number Base Converter Instantly convert numbers between binary, octal, decimal, and hexadecimal. Supports large numbers. 100% client-side.](https://fbuff.com/tools/number-base/)
- - [JSON Path Finder Inspect JSON, copy exact JSONPath expressions, and test paths locally.](https://fbuff.com/tools/json-path-finder/)
- - [Base64 Encoder Decoder Encode and decode Base64 text locally in your browser.](https://fbuff.com/tools/base64-encoder-decoder/)
- - [Color Picker Pick any color and copy HEX, RGB, and HSL values instantly.](https://fbuff.com/tools/color-picker/)
- - [Contrast Checker Check WCAG AA/AAA color contrast ratios instantly.](https://fbuff.com/tools/contrast-checker/)
- - [CSS Gradient Builder Build linear and radial CSS gradients visually.](https://fbuff.com/tools/css-gradient-builder/)
- - [JSON Formatter Format, prettify and validate JSON instantly. Minify in one click.](https://fbuff.com/tools/json-formatter/)
