Text to Slug Converter

Turn any title or phrase into a clean, readable URL slug like how-to-bake-sourdough-bread. Accents are converted, symbols removed and spaces replaced, ready for WordPress, Shopify or your own site.

Separator

Runs entirely in your browser. Nothing you enter is uploaded or stored.

Rate this tool

Be the first to rate this tool

How to use the Text to Slug Converter

  1. Type or paste a page title, product name or headline. For bulk work, put one title on each line.
  2. Pick a separator (hyphens are recommended for SEO) and any options such as removing stop words or limiting the length.
  3. The slug updates instantly in the box below.
  4. Copy the slug and paste it into the URL or permalink field of your CMS.

What is a URL slug?

A slug is the part of a web address that identifies a specific page in a human-readable way. In example.com/blog/easy-banana-bread, the slug is easy-banana-bread. Good slugs are short, lowercase, use only letters, numbers and hyphens, and describe the page content. They make links easier to read, share and remember, and they give search engines and visitors a clear hint about what the page is about.

How this slug generator works

  1. Accented and special letters are converted to plain equivalents: “é” becomes “e”, “ü” becomes “u”, “ß” becomes “ss” and “æ” becomes “ae”.
  2. An ampersand becomes the word “and”, and apostrophes are removed so “don’t” becomes “dont” instead of “don-t”.
  3. Every other symbol, emoji and punctuation mark is treated as a word break.
  4. Words are joined with your separator, repeated separators are collapsed, and separators at the start or end are trimmed.
  5. If you set a maximum length, the slug is cut at the last full word that fits, so you never end up with half a word.

Slug best practices for SEO

  • Use hyphens, not underscores. Google treats hyphens as word separators; underscores can join words together.
  • Keep it short. Three to five meaningful words is usually enough. Removing stop words helps.
  • Include the main keyword people would search for, but do not stuff it in several times.
  • Avoid dates unless the page is truly time-bound, so you do not have to change the URL later.
  • Do not change published slugs without setting up a 301 redirect, or existing links will break.

Bulk slugs for developers and store owners

Paste a whole column of product names or article titles, one per line, and you get a matching column of slugs in the same order. Everything runs in your browser, so you can convert thousands of titles at once without uploading anything.

Examples

InputSlug
10 Easy Ways to Save Money in 2026!10-easy-ways-to-save-money-in-2026
Crème Brûlée Recipe – Step by Stepcreme-brulee-recipe-step-by-step
Salt & Pepper Shrimp (Don’t Skip This)salt-and-pepper-shrimp-dont-skip-this
The Art of War (stop words removed)art-war

Text to Slug Converter FAQ

Should I use hyphens or underscores in URLs?

Use hyphens. Search engines read hyphens as spaces between words, while underscores may be read as part of one long word.

How long should a slug be?

Shorter is better. Aim for about 3–6 words or under 60 characters, focusing on the words people actually search for.

What happens to accents and non-English letters?

Common Latin accents are converted to plain letters (é → e, ñ → n, ø → o). Letters from other scripts, such as Cyrillic or Chinese, are kept as they are, because modern browsers support them in URLs.

Can I convert many titles at once?

Yes. Put one title per line and you will get one slug per line in the same order.

Related tools

All Text Tools
Word CounterCount words, characters, sentences and reading time as you type.Character CounterCount characters with and without spaces, with social media limits.Case ConverterSwitch text to UPPERCASE, lowercase, Title Case, camelCase and more.Remove Duplicate LinesDelete repeated lines from a list and keep only unique entries.Fancy Text GeneratorCreate stylish Unicode fonts to copy and paste anywhere.Invisible CharacterCopy blank and invisible Unicode characters for names and messages.Binary TranslatorConvert text to binary and binary back to text, UTF-8 safe for emoji and accents, with decimal, hex and octal output.Extract Emails from TextPull all email addresses out of messy text, remove duplicates, sort, and export.Morse Code TranslatorTranslate text to Morse code and Morse back to text, then play it as audio or a flashing light at any WPM.Number to WordsConvert numbers to words for writing checks, plus plain English words, ordinals and dollars-and-cents text, up to decillions.Online NotepadA free online notepad that saves automatically in your browser. Write notes, then copy, print or download them.Reverse Text GeneratorReverse text backwards, flip word order, reverse each word or flip line order. Emoji-safe, copy in one click.Roman Numeral ConverterConvert numbers to Roman numerals and back, with strict validation, clear error messages and a step-by-step breakdown.Sentence CounterCount sentences, words, characters and paragraphs live, with average sentence length and your longest sentence.Small Text GeneratorTurn text into small caps, superscript, subscript and tiny letters you can copy and paste anywhere.Speech Length CalculatorConvert word count or pasted scripts into exact speaking time by WPM pace.SRT to VTT ConverterConvert SRT subtitles to WebVTT (.vtt) or VTT to SRT with optional time shifting.Strikethrough Text GeneratorTurn any text into s̶t̶r̶i̶k̶e̶t̶h̶r̶o̶u̶g̶h̶, slashed, underlined, double underlined or wavy text you can copy and paste anywhere.Text to SpeechType or paste text and hear it read aloud with the voices built into your browser.Upside Down TextFlip text upside down (ʇxǝʇ uʍop ǝpᴉsdn), flip letters without reversing, or write backwards, then copy and paste it anywhere. Decodes it back too.Zalgo Text GeneratorMake glitchy, cursed zalgo text with adjustable intensity, or clean zalgo text back to normal.UTM Link BuilderCreate clean, properly encoded UTM campaign tracking URLs for analytics.GPA CalculatorAdd your courses, grades and credits to calculate your GPA instantly.