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

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