Skip to content
Kordu Tools Kordu Tools

Slug Generator

Runs in browser

Convert any title or phrase into a clean URL slug with hyphen, underscore, or dot separator.

Last updated 08 Apr 2026

Type or paste any title, heading, or phrase and instantly generate a clean URL slug. Choose hyphen, underscore, or dot as separator, and optionally force lowercase. Handles accented characters and special symbols automatically. Runs in your browser — nothing is uploaded.

Separator

Slug

Slug will appear here...

Loading rating…

How to use

  1. 1

    Paste a title or phrase

    Type or paste any title, heading, or phrase into the input box.

  2. 2

    Choose a separator

    Select hyphen (-) for web URLs, underscore (_) for file names and variables, or dot (.) for config keys and package names.

  3. 3

    Copy the slug

    The slug appears instantly in the output box. Click Copy to send it to your clipboard.

Frequently asked questions

What is a URL slug?
A URL slug is the human-readable identifier at the end of a URL path. For example, in 'kordu.tools/tools/text/slug-generator', the slug is 'slug-generator'. Good slugs are lowercase, contain only letters, numbers, and hyphens, and clearly describe the page content.
Which separator should I use for web URLs?
Use hyphens (-) for web URLs and blog posts. Google's John Mueller has confirmed that hyphens are preferred over underscores for SEO as they are treated as word separators. Underscores join words together in Google's view.
How are accented characters handled?
Common accented characters are transliterated to their ASCII equivalents — é→e, ü→u, ñ→n, ß→ss, ç→c, etc. This produces slugs that work in all URL contexts without percent-encoding.
Are spaces converted to the separator?
Yes. Spaces and all non-alphanumeric characters are replaced by the chosen separator. Consecutive separators are collapsed into one, and leading/trailing separators are removed.
Is my text sent anywhere?
No. All slug generation happens in your browser. Your text never leaves your device.

The Kordu Slug Generator converts any text into a clean URL slug — the

human-readable part of a URL. "My Blog Post Title!" becomes

"my-blog-post-title". Three separator options cover every use case: hyphens

for web URLs and blog posts (the SEO-recommended standard), underscores for

Python variables and file names, and dots for configuration keys and package

names.

Accented and special characters are transliterated automatically — "café au

lait" becomes "cafe-au-lait", "naïve" becomes "naive", and German "ß" becomes

"ss". All remaining non-alphanumeric characters are replaced by the chosen

separator, and leading/trailing separators are stripped.

Common uses: generating URL slugs for blog posts and pages, creating file

names from titles, converting category names to CSS class names, generating

Python/JavaScript variable names, and creating database table names.

All processing runs client-side in your browser. Your text is never uploaded,

stored, or transmitted to any server.

Related tools