OneWebDesk

URL Slug Checker

Check a URL slug for length, special characters, uppercase and spaces, and suggest a clean slug.

A URL slug is the final part of a page address (for example my-new-post in /blog/my-new-post), and it tells both readers and search engines what the page is about at a glance. Paste a slug or a full URL and this checker flags common problems — length, uppercase letters, spaces, underscores, special characters and stray hyphens — then suggests a clean, search-friendly slug.

A good slug is short, lowercase and hyphen-separated. After tidying the slug, pair this with the meta title length checker and the SEO meta checker to polish the title and description too.

Findings
Slug under test: My New Blog Post!

Several issues found. We recommend replacing it with the suggested slug below.

LengthOK60 characters or fewer — good.
UppercaseWarningContains uppercase letters. Make it lowercase.
Spaces/underscoresWarningContains spaces or underscores (_). Use hyphens (-) instead.
Special charactersWarningContains characters other than a-z, 0-9 and -. Remove them.
Leading/trailing/double hyphenOKNo leading, trailing or double hyphens.
Non-ASCII charactersOKAll ASCII characters.
Suggested slug
my-new-blog-post

Rules for a good slug

A slug that is easy for both search engines and people to read follows these guidelines.

  • Use lowercase only (mixed case risks duplicate URLs)
  • Separate words with hyphens (-), not underscores (_)
  • Keep it under 60 characters with only the key terms
  • Remove special characters and spaces outside a-z, 0-9 and -
  • No leading/trailing hyphens or double hyphens (--)

Examples and output

You can paste a full URL or path, not just a bare slug — the checker automatically extracts the last path segment.

  • My New Blog Post! → suggestion: my-new-blog-post
  • https://example.com/blog/Hello_World → checks last segment Hello_World → suggests hello-world
  • café-menu → accented/non-ASCII characters get percent-encoded in URLs, so prefer plain ASCII keywords

Character-by-character conversion

Here is exactly how the checker normalizes each kind of character. The principle is to keep meaningful separators (spaces become hyphens) while stripping decorative symbols.

Input characterConversionExample
Uppercase A-ZlowercasedSEO-Guideseo-guide
Space / tabsingle hyphen -my new postmy-new-post
Underscore _hyphen -hello_worldhello-world
Symbols ! ? . , @ # &removed10% off!10-off
Repeated hyphens --collapsed to onea---ba-b
Leading/trailing hyphentrimmed-sale-sale
Accents é ü ñstripped or percent-encoded (prefer ASCII transliteration)cafécaf / cafe

A real conversion, step by step

Here is what happens when you paste a real blog title as-is. Input: 2026 SEO Trends: What's NEXT?!

  • 1. Lowercase → 2026 seo trends: what's next?!
  • 2. Strip : ' ? !, spaces → hyphens → 2026-seo-trends-whats-next
  • 3. Length 28 chars, no repeated or edge hyphens → passes
  • Suggested slug: 2026-seo-trends-whats-next (optionally drop filler words down to 2026-seo-trends)

Common pitfall

The most common mistake is "beautifying" the slug of a post that is already ranking. Changing a slug changes the URL itself, which breaks existing inbound links, search rankings and social shares. If you must change it, always set a 301 permanent redirect from the old URL to the new one so the accumulated authority carries over. Another myth is that stuffing keywords helps — a slug like best-cheap-buy-shoes-online-sale-discount reads as spam and backfires.

Frequently asked questions

Can I paste a full URL?
Yes. If you enter a URL or path, the checker extracts only the last path segment (the slug) and ignores any query string or hash.
Why should slugs be lowercase?
Some servers treat different cases as separate URLs, which can create duplicate content. Sticking to lowercase avoids this.
Why hyphens (-) instead of underscores (_)?
Google tends to read hyphens as word separators but underscores as word joiners, which can hurt single-word matching. Use hyphens to separate words.
Can I use non-ASCII characters like accents or Korean?
You can, but they get percent-encoded in URLs, making the link long and hard to read. For sharing, readability and compatibility, prefer ASCII keywords.
Are my inputs sent to a server?
No. All checks and the slug conversion run entirely in your browser; the slug or URL you enter is never transmitted or stored anywhere.

Related tools

SEO / Indexing