Slug Generator

Text Tools

Turn any title into a clean, URL-friendly slug.

Options

Title or text

Slug

0 characters in · 0 out. Processed entirely in your browser.

What is Slug Generator?

Slug Generator turns any title into a clean, URL-friendly slug. It lowercases the text, strips accents from letters like é and ñ, replaces spaces and punctuation with a separator, collapses repeats, and trims the ends. Choose a hyphen or underscore, an optional maximum length, and paste multiple lines to slugify a whole list at once. It all runs in your browser, so your text is never uploaded.

How to use Slug Generator

  1. Enter a title

    Type or paste a headline into the input, or click Load file to import a .txt or .csv. The slug appears on the right instantly.

  2. Pick a separator

    Choose a hyphen ( - ) for classic URL slugs or an underscore ( _ ) for filenames and code. Runs of separators are automatically collapsed to one.

  3. Set an optional max length

    Leave it blank for no limit, or enter a number to cap the slug — it trims cleanly at the limit without leaving a trailing separator.

  4. Toggle lowercase

    Keep Lowercase on for standard slugs, or turn it off to preserve the original capitalization while still cleaning up spaces and symbols.

  5. Slugify lists and export

    Paste multiple lines to get one slug per line, then Copy the result or Download it as slugs.txt.

Common uses

  • Create SEO-friendly URLs for blog posts and pages
  • Generate safe filenames from document titles
  • Build anchor IDs and hash links from headings
  • Turn product names into store URL handles
  • Normalize accented titles into plain ASCII slugs
  • Slugify a whole list of titles in one paste

Why choose FreeTools

100% private

Your files are processed inside your browser and are never uploaded to a server.

Free, no account

No sign-up, no watermark, no paywalled “premium” tier. Just open a tool and use it.

Instant

No upload, no queue, no server round-trip — work starts the moment you drop a file.

Runs in your browser

Built on open web standards. Works on any modern desktop browser, nothing to install.

No upload size caps

Nothing leaves your device, so there’s no server file-size limit — only your machine’s memory.

Yours to keep

Results download straight to your device in clean, standard file formats.

Frequently asked questions

Related tools