SLUG GENERATOR
Turn titles or text into clean, URL-friendly slugs. Nothing leaves your browser.
In short
Convert titles or text into clean, URL-friendly slugs with a hyphen or underscore separator, one slug per line. Runs entirely in your browser.
Lines processed: 2Separator: -
How to generate slugs
- 1
Paste one or more titles or lines of text into the input box, one per line.
- 2
Choose a separator (hyphen or underscore) and whether to preserve the original case.
- 3
Copy the generated slugs from the output box — each input line becomes its own slug.
Questions
- What is a slug?
- A slug is the URL-friendly version of a title or phrase, typically lowercase, with spaces and punctuation replaced by a separator like a hyphen. For example, "10 Best Pizza Places!" becomes "10-best-pizza-places".
- Should I use a hyphen or an underscore?
- Hyphens are the standard for web URLs — Google and most CMS platforms treat words separated by hyphens as distinct for search, which helps SEO. Underscores are more common for filenames, code identifiers, or systems that don't allow hyphens.
- Can I convert multiple titles at once?
- Yes. Paste multiple lines into the input box and each line is converted into its own slug on the matching output line, so you can batch-process a whole list of titles in one pass.
- Is my text uploaded anywhere?
- No. Everything runs locally in your browser with JavaScript — your text is never sent to a server.
Related tools
- Text ReverserReverse text by character, word, or line.
- Case ConverterConvert text to camelCase, snake_case, Title Case, and more.
- Markdown Table GeneratorPaste CSV or tab-separated data and get an aligned Markdown table, with per-column alignment and a live preview.
- Fancy Text GeneratorTurn any text into 25 Unicode styles — bold, script, Fraktur, circled, upside-down, and more — for bios and usernames.
- NATO Alphabet ConverterConvert text into the NATO phonetic alphabet (Alpha, Bravo, Charlie…) for clear radio or phone spelling.
- Text Diff CheckerCompare two blocks of text line by line and see what was added, removed, or unchanged.
- Email ExtractorPull every email address out of pasted text, deduplicated and one per line.
- Remove Line BreaksJoin multi-line text into one block, replacing line breaks with a space or nothing.
Updated