URL Slug Generator
Paste a title or headline to generate a clean URL slug. Accents become plain letters, spaces and symbols turn into your chosen separator, and you can cap the length for tidy permalinks.
How to generate a URL slug
- Type or paste your title into the box.
- Choose a separator, lowercase, and an optional max length.
- Copy the slug and use it in your URL or permalink.
Examples
Blog post title to slug
10 Café Tips You Should Know in 2026!
10-cafe-tips-you-should-know-in-2026
Frequently asked questions
What is a URL slug?
A slug is the readable part of a URL that identifies a page, like 'url-slug-generator' in /text/url-slug-generator. It is lowercase, uses hyphens instead of spaces, and avoids special characters.
Why do slugs matter for SEO?
A short, descriptive slug tells search engines and people what a page is about. Clean keyword-rich slugs are easier to read, share and click, and they avoid the messy query strings that hurt clarity.
Should I use hyphens or underscores in slugs?
Use hyphens. Google treats a hyphen as a word separator, so 'slug-generator' reads as two words, while it treats an underscore as a joiner, so 'slug_generator' can read as one. Hyphens are the safer SEO choice.
How are accents and special characters handled?
Accented letters are normalized to their base form, so 'Café' becomes 'cafe' and 'Déjà' becomes 'deja'. Any other symbols, spaces or punctuation are replaced by your separator and trimmed from the ends.
Can I cap the slug length?
Yes. Set a max length and the slug is trimmed at the nearest separator boundary so you never end with a half word or a dangling hyphen.
Is my text private?
Yes. The slug is generated entirely in your browser and nothing is uploaded or stored.
Related tools
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Free and private.
Remove Line Breaks
Remove line breaks and paragraph breaks from text online. Flatten copied text into one line, keep spaces tidy, then copy the result. Free and private.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Sentiment Analyzer
Analyze the sentiment of any text with AI in your browser. Paste a review or comment, get a positive or negative score plus a per-sentence breakdown.
AI Text Summarizer
Summarize any text with AI, right in your browser. Paste an article, pick a length, and get a short abstractive summary. Nothing is uploaded.