Google, URL structure guidance
- What it says
- Gives no length limit and does not mention length as a ranking or crawling factor
- What it means for you
- No Google-published cutoff to design around
Google's URL guidance sets no character limit. The limits that are documented sit in sitemaps and HTTP, plus what long, complex URLs cost in crawling.
Google's URL structure guidance gives no maximum URL length and does not describe length as a ranking factor. The limits that are documented live elsewhere: the sitemap protocol requires each URL to be under 2,048 characters, and the HTTP standard recommends supporting at least 8000 octets. Complexity causes more trouble than character count.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
<loc> value must be less than 2,048 characterssessionid=...ref=, sort=, cat=Hard to read: https://example.com/p?id=8f3a9c2b71e04d65a1&cat=12&ref=hp&sessionid=44a1f&sort=price
Readable: https://example.com/shoes/trail-runnerRun the command and look at the top ten. Anything near 2,048 characters breaks the sitemap rule.
Check whether length comes from parameters, IDs or a descriptive slug. That tells you which fix applies.
Search your crawl for URLs with several &. Those are the ones likely to produce near-duplicates.
curl -s https://example.com/sitemap.xml \
| grep -o '<loc>[^<]*</loc>' \
| sed -e 's/<[^>]*>//g' \
| awk '{ print length($0), $0 }' \
| sort -rn | head -102 questions people ask next, answered from the sources on this page.
Google's URL structure guidance states no maximum. The sitemap protocol requires each URL to be under 2,048 characters, which is the most concrete documented limit relevant to SEO.
The sources checked here do not describe URL length as a ranking factor. They advise simple, readable URLs because complexity can hamper crawling.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.