Slug Generator

Convert any title into a clean, SEO-friendly URL slug. Bulk mode, stop-word removal, transliteration, history and more.

Preset:
Input Title
Options
Generated Slug
26 chars
hello-world-this-is-a-test
SEO ScoreA83% (5/6)
Length 3–75 characters
Contains 2–5 words
Starts with a letter
No consecutive separators
Lowercase only
No special characters
URL Preview
https://example.com/posts/hello-world-this-is-a-test
All Formats
URL SlugSEO-friendly URL path
hello-world-this-is-a-test
snake_casePython, database fields
hello_world_this_is_a_test
camelCaseJavaScript variables
helloWorldThisIsATest
PascalCaseClass names, React components
HelloWorldThisIsATest
SCREAMING_SNAKEConstants, ENV variables
HELLO_WORLD_THIS_IS_A_TEST
dot.caseFile naming, config keys
hello.world.this.is.a.test

What is Slug Generator?

A slug generator converts human-readable titles, headings, or phrases into clean URL-safe strings used in web addresses. A good slug is lowercase, uses hyphens instead of spaces, and strips special characters — for example, the title "10 Best Coffee Shops in New York!" becomes "10-best-coffee-shops-in-new-york".

Slugs are used everywhere on the web: WordPress posts, blog URLs, product pages in e-commerce, API endpoint names, and file paths in static site generators. A well-formed slug improves search engine optimisation by including relevant keywords directly in the URL, makes links shareable and readable, and avoids encoding issues caused by spaces and special characters.

This tool goes beyond simple hyphenation. It supports multiple output formats including URL slugs, 'snake_case', and 'camelCase', making it useful for developers naming variables, files, or database columns. CMS presets for WordPress, Shopify, and Ghost apply the exact rules each platform expects. An integrated SEO checker flags slugs that are too long, contain stop words, or lack keywords, helping content creators make better URL decisions before they publish.

How to Use Slug Generator

  1. Type or paste your title

    Enter any title, heading, or phrase into the input box. Special characters, accents, and punctuation are handled automatically.

  2. Choose a format or preset

    Select URL slug, snake_case, or camelCase — or pick a CMS preset like WordPress or Shopify for platform-specific output.

  3. Review the SEO check

    The SEO checker highlights issues such as excessive length, stop words, or missing keywords.

  4. Copy your slug

    Click copy to send the finished slug to your clipboard, ready to paste into your CMS or code.

Key Benefits

SEO-friendly output

Generates clean, keyword-rich slugs that search engines can read and rank effectively.

Multiple formats

Switch between URL slugs, snake_case, and camelCase to match your project's naming conventions.

CMS presets

Built-in presets for WordPress, Shopify, and Ghost apply each platform's exact slug rules automatically.

Instant preview

The output updates in real time as you type, so you can refine your title and see the slug change immediately.

Frequently Asked Questions

A URL slug is the part of a web address that identifies a specific page in a readable way. For example, in "example.com/blog/my-first-post", the slug is "my-first-post".

Generally no. Words like "a", "the", "and", and "of" add length without SEO value. The tool flags them so you can decide whether to remove them.

Best practice is to keep slugs under 60 characters. Longer slugs can be truncated in search results and are harder to share.

Yes. Accented characters like e with an accent or a with an umlaut are automatically transliterated to their ASCII equivalents before the slug is generated.

Related Tools