Create URL-friendly slugs from text for SEO and clean URLs
Turn any title or sentence into a clean, URL-friendly slug. Spaces become hyphens, special characters are stripped, and everything is lowercased automatically. Beyond the standard kebab-case output, you can switch between seven formats including snake_case, camelCase, PascalCase, dot.case, Title Case, and CONSTANT_CASE. Optional settings let you remove common stop words, transliterate accented and non-ASCII characters to plain ASCII, drop numbers, and cap the slug at a maximum length. Batch mode converts a whole list at once and exports to CSV, the SEO tab scores your slug and flags issues, and compare mode shows every format side by side. All processing happens in your browser.
Initializing in your browser…
A CMS title with punctuation and accents needs to become a clean, stable URL path.
Title
Crème Brûlée: 10 Tips & Tricks (2024)!
URL slug
creme-brulee-10-tips-and-tricks-2024
Accents are folded to ASCII (`è`→`e`), `&` is expanded to "and", punctuation is dropped, spaces become single hyphens, and the result is lowercased, producing a slug that is readable, safe in a URL, and stable across systems that mangle Unicode. Consistent slugs also protect SEO by keeping canonical paths from changing.
Turn any title or sentence into a clean, URL-friendly slug. Spaces become hyphens, special characters are stripped, and everything is lowercased automatically. Beyond the standard kebab-case output, you can switch between seven formats including snake_case, camelCase, PascalCase, dot.case, Title Case, and CONSTANT_CASE. Optional settings let you remove common stop words, transliterate accented and non-ASCII characters to plain ASCII, drop numbers, and cap the slug at a maximum length. Batch mode converts a whole list at once and exports to CSV, the SEO tab scores your slug and flags issues, and compare mode shows every format side by side. All processing happens in your browser.
Internally the generator runs every input through the same pipeline before applying a format. It first transliterates non-ASCII characters using a built-in lookup table (TRANSLITERATION_MAP): accented letters fold to their base form (é, ñ, ü become e, n, u), ligatures expand (æ to ae, œ to oe, ß to ss), and common symbols are spelled out rather than dropped, so & becomes 'and', @ becomes 'at', # becomes 'hash', % becomes 'percent', + becomes 'plus', and even Greek letters like α and β become 'alpha' and 'beta'. Turn transliteration off and those same characters are simply removed instead of converted. It then strips anything outside letters, digits, spaces and hyphens with a /[^\w\s-]/g regex, and collapses any run of spaces, underscores or hyphens down to a single separator, which is why double spaces and trailing punctuation never leave stray dashes. The seven formats differ only in the final join: kebab, snake, dot and constant lowercase (or uppercase, for CONSTANT_CASE) and join with -, _ or .; camelCase and PascalCase strip separators entirely and re-case each word boundary.
The stop-word filter checks each word against a built-in list of 88 English function words (a, the, and, of, with, is, how, what, and similar) and drops them before formatting, and the optional max-length cap is separator-aware: rather than slicing mid-word, it backs up to the last hyphen, underscore or dot within the limit so the slug never ends on a partial word (camelCase and PascalCase, having no separators, get a hard character cut). The SEO tab grades the kebab-case result out of 100, subtracting points for concrete problems: 15 points if it exceeds 60 characters, 10 if it carries more than 8 words (it suggests aiming for 3-6), 2 per stop word still present, and 5 each for starting with a digit or choosing a non-kebab format, then it lists the offending stop words and exact issues. Compare mode renders all seven formats for one input at once, batch mode processes one title per line and exports an eight-column CSV (Original plus each format) as slugs-export.csv, a URL preview slots the slug into templates for blog posts, products, API endpoints, file paths or GitHub repos, and your last 20 generated slugs are kept in the browser's local storage under the slugHistory key. Configurations are encoded in the page URL, so a fully set-up generator can be shared with a link.
Create readable, SEO-friendly slugs from article titles.
Generate consistent URL segments for product names in an e-commerce site.
Seven formats: kebab-case, snake_case, camelCase, PascalCase, dot.case, Title Case, and CONSTANT_CASE. Use compare mode to see all seven for the same input at once.
With transliteration on (the default), accented letters like é, ñ, and ü are mapped to their plain ASCII equivalents, and symbols such as & become 'and'. You can turn transliteration off if you prefer to strip those characters instead.
Yes. Batch mode takes one title per line, generates all formats for each, and lets you export the results as a CSV file. Everything runs locally in your browser, so nothing is uploaded.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.