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.
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.
Bullet List Maker
Turn lines of text into a bullet or numbered list online. Pick dash, asterisk, dot, arrow or numbers, add indent, then copy. Free and private.
Caesar Cipher
Encode and decode text with the Caesar shift cipher. Pick any shift, see the result live, and brute force all 25 shifts. Runs entirely in your browser.
Character Counter
Count characters, words and lines as you type. See how your text fits Twitter, SMS and meta description limits. Free, instant and private.