CleanTextly

Slug Generator

Turn titles or text into clean, lowercase, URL-ready slugs instantly in your browser.

Enter one title per line to generate one slug per line.

CleanTextly's Slug Generator is a free, browser-based URL slug generator that turns a title or any text into a clean slug — the readable part of a web address that identifies a page, like the last segment of /blog/how-to-build-a-website. Type or paste your text and the slug updates as you type: lowercase, accents removed, punctuation stripped, and words joined with single hyphens. Everything runs locally in your browser, so nothing you enter is uploaded.

Features

  • Live Slug Generation

    The slug updates instantly as you type or paste — there's no button to click and no page reload.

  • Clean, Predictable Output

    Text is lowercased, punctuation and symbols are removed, and spaces, underscores, and repeated hyphens become a single hyphen. Slugs never start or end with a hyphen.

  • Accent Handling

    Accented Latin letters are converted to plain letters, so "Café" becomes "cafe" and "Crème brûlée" becomes "creme-brulee". Letters like ß and ø are converted too.

  • One Slug per Line

    Enter several titles, one per line, and get one slug per line in the same order. Blank lines stay blank so your lists stay aligned.

  • Works With Other Scripts

    Text in non-Latin scripts such as Cyrillic, Greek, Devanagari, or Japanese is kept as-is rather than being guessed at or dropped.

  • 100% Private

    Slugs are generated locally in your browser. Your text is never uploaded, logged, or stored anywhere.

How to Use

  1. 1

    Enter your title or text

    Type or paste a page title, post title, or any text into the input box. Use Paste to insert from your clipboard.

  2. 2

    Check the generated slug

    The URL slug appears right away in the output box. To convert several titles at once, put each on its own line.

  3. 3

    Copy it into your URL

    Click Copy Output and paste the slug into your CMS, router, or file name. Use Clear to start over.

Example

Turn a title into a URL slug

Title

How to Convert YAML to JSON – A Practical Guide

Slug

how-to-convert-yaml-to-json-a-practical-guide

Common Use Cases

  • Blog Post URLs

    Create a readable URL for a new article from its headline, e.g. 10 Best Tools for Web Developers! becomes 10-best-tools-for-web-developers.

  • Web Pages and Product Pages

    Generate consistent slugs for landing pages, category pages, and product names so your URL structure stays tidy.

  • CMS and Static Site Content

    Get a ready-to-paste slug for WordPress, Ghost, Markdown files, or any framework that builds routes from a slug field.

  • File Names and Identifiers

    Use the same lowercase, hyphenated format for file names, anchors, or IDs — for example Café & Restaurant Guide becomes cafe-restaurant-guide.

  • Batch Slug Lists

    Paste a list of titles from a content plan or spreadsheet column and get a matching list of slugs in one step.

Frequently Asked Questions

Related Tools