Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Converters & Encoders
  3. Slug Generator
Add to favorites

Slug Generator

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.

Runs locally in your browserMore converters & encodersJump to full guide

Initializing in your browser…

You might also like

QR Code Generator

Generate QR codes from text or URLs

Barcode Generator

Generate barcodes in CODE128, CODE39, EAN13, UPC formats

Color Palette Generator

Generate harmonious color schemes using color theory

An example conversion

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)!
Slug Generator produces

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.

What this converter does

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.

How it works

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.

How to use

  1. 1Paste or type your text.
  2. 2Optionally pick an output format and toggle stop-word removal, transliteration, number handling, or a maximum length.
  3. 3Copy the generated slug.

Key features

  • Converts spaces to hyphens
  • Removes special characters and diacritics
  • Lowercases all letters
  • Handles multiple consecutive spaces gracefully

Where this fits

  • Blog post URLs

    Create readable, SEO-friendly slugs from article titles.

  • Product page paths

    Generate consistent URL segments for product names in an e-commerce site.

Frequently asked questions

What slug formats can I generate?

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.

How are accented or non-English characters handled?

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.

Can I convert many titles at once?

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.

Private by design

Conversions run on your device in JavaScript. The values you enter are never sent over the network.