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
Pick a style
kebab-case for URLs (recommended). snake_case for database columns or Python identifiers. camelCase / PascalCase for JS or class names.
Set the options
Transliterate accents, strip stopwords (a, the, and…), enforce lowercase, set a max length. Or use Custom separator for exotic needs.
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.