🔗 Slug Generator

Convert any text — including accents, emoji, and non-Latin scripts — into clean URL-safe slugs. Live preview as you type. Runs entirely in your browser.

Style Max length
Input0 chars
Slug (live)
Input · one per line0 lines
Slugs (live)
Copied to clipboard

About Slug Generator

Slug Generator turns human-friendly text — article titles, product names, blog headlines — into clean, URL-safe slugs. Type on the left, see the slug on the right, live. No signup, no upload, works entirely in your browser.

A URL slug is the readable identifier at the end of a URL: in toolspow.com/blog/my-first-post, the slug is my-first-post. Good slugs are short, lowercase, use only a–z, 0–9, and a separator character. They boost SEO, are easier to share, and survive being pasted into emails or social posts.

We handle the tricky parts automatically: transliterating accented characters (café → cafe), stripping punctuation, collapsing spaces, and enforcing your chosen case style (kebab-case, snake_case, camelCase, PascalCase, or a custom separator).

100% client-side: Every character transformation runs in your browser. Nothing you paste is uploaded, seen, or stored. Safe for private draft titles, unpublished product names, or anything else.

How to use Slug Generator

1

Pick a style

kebab-case for URLs (recommended). snake_case for database columns or Python identifiers. camelCase / PascalCase for JS or class names.

2

Set the options

Transliterate accents, strip stopwords (a, the, and…), enforce lowercase, set a max length. Or use Custom separator for exotic needs.

3

Paste your text

The slug updates live as you type. Switch to Batch mode for a whole list of titles at once. Copy or Download the result.

Key Features

Live preview as you type

The slug updates on every keystroke — see exactly how each edit changes the result before you commit.

Six case styles

kebab-case (default, URL-friendly), snake_case, dot.case, camelCase, PascalCase, plus a custom separator for any other convention.

Accent transliteration

Handles 200+ mappings: é→e, ñ→n, ø→o, ß→ss, æ→ae, and many more. Non-Latin scripts (Chinese, Arabic, Hindi) are stripped in kebab/snake modes to keep the slug ASCII.

Stopword stripping

Optional filter removes English stopwords (a, an, the, and, or, of, to, in, on, for…) to make slugs shorter and more meaningful.

Max-length trimming

Enforces a character cap so slugs never blow past your CMS's limit. Trims on a word boundary when possible.

Batch mode

Paste a list of titles — one per line — and get one slug per line. Perfect for seeding a database or renaming a folder of blog posts.

Copy + Download

Copy the slug to your clipboard with a toast confirmation, or download as .txt.

Common Use Cases

  • Turn a blog post title into a permalink slug for your CMS
  • Generate database column names or table names in snake_case
  • Convert product names into SEO-friendly URLs for an e-commerce site
  • Rename a folder of file names into consistent, tool-friendly format
  • Create Kubernetes / Docker container names (kebab-case, ASCII only)
  • Batch-process a CSV of titles and paste the slugs back into your spreadsheet
  • Convert a class name in JavaScript (PascalCase) to its CSS equivalent (kebab-case)
  • Sanitize user input before using it in a URL to prevent bugs and injection

Security & Privacy

  • 100% client-side: transformation runs via standard JavaScript in your browser. Nothing is uploaded.
  • Works offline: once the page loads, disconnect and it still works.
  • No content logging: we don't see, log, or store what you paste.
  • No accounts required: fully anonymous — no signup, no cookies specific to the tool.
  • Standards-only: uses String.prototype.normalize('NFD') for transliteration — a native browser API, no third-party library needed.

Frequently Asked Questions

kebab-case for URLs (Google prefers hyphens over underscores in URLs). snake_case for database columns, Python variables, or Ruby methods. camelCase / PascalCase for JavaScript, Java, C# identifiers.
Accented Latin (é, ñ, ø, ß) is transliterated when the toggle is on. Emoji and non-Latin scripts (Chinese, Arabic, Devanagari) are stripped in kebab/snake modes since they aren't URL-safe — you get a clean ASCII slug from whatever remains.
Common English filler words like "a", "an", "the", "and", "or", "of", "to", "in", "on", "for". Removing them makes slugs shorter and often more SEO-friendly. Off by default — enable if you want it.
No. Everything runs in your browser. Safe to paste sensitive draft titles or unpublished product names.
Yes — pick "Custom separator" from the Style dropdown and type any 1-3 character separator (e.g. |, ~, --, __).
Yes. Free for everyone. No signup, no ads.