# Slug Generator

> Free slug generator. Turn headlines into clean URL slugs with lowercase, accent removal and dash separators. Live preview, copy in one click.

Turn any headline into a clean URL slug: lowercase, accents stripped, spaces to dashes, punctuation removed. Choose dash or underscore separators and a max length.

*Interactive tool: enter your values at https://toollantern.win/slug-generator/ and results update instantly in your browser.*

## What the tool does

A slug is the URL-friendly version of a title. This generator lowercases everything, converts accented characters to their plain equivalents (é to e, ü to u), replaces spaces and punctuation with your chosen separator, collapses repeats, and trims to your max length at a word boundary.

## Worked example

**10 Tips for Better Mornings!** becomes 10-tips-for-better-mornings: lowercase, spaces to dashes, exclamation mark dropped.

## Slug tips

Keep slugs short and descriptive, use dashes (Google treats them as word separators; underscores are not), and never change a slug after publishing without setting up a redirect.

## Frequently asked questions
### What is a URL slug?

The readable part of a URL that identifies a page, like 'slug-generator' in example.com/blog/slug-generator. Good slugs are short, lowercase and descriptive.

### Dashes or underscores?

Dashes. Google explicitly treats dashes as word separators in URLs and does not do the same for underscores, so dash-separated slugs rank and read better.

### How are accents handled?

Accented characters are transliterated to their ASCII base: é becomes e, ñ becomes n, ü becomes u. Characters with no ASCII equivalent are dropped.

### Is my text sent to a server?

No. Slug generation happens locally in your browser.

---
Interactive version: https://toollantern.win/slug-generator/
