How Long Can a URL Be? Real Limits for Links You Share

How Long Can a URL Be? Real limits for links you share

There is no single maximum URL length. The HTTP standard, RFC 9110, recommends that software support URLs of at least 8,000 octets, but the limits that matter for marketing are far lower: a 160-character SMS, a QR code that gets denser with every character, and GA4, which accepts a page URL of up to 1,000 characters.

Long links usually grow by accident. A product URL picks up a variant ID, five UTM tags and an ad click ID, and suddenly it’s 283 characters. It still works in a browser, but in a text message or on a printed flyer it causes real trouble.

What does the standard say about URL length?

RFC 9110, the current HTTP semantics standard, says in section 4.1: “It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements.”

That’s a floor, not a ceiling. Servers and tools can accept longer URLs, and some set their own limits lower. In practice, the limit you hit first comes from the channel where you share the link.

Which limits matter when you share links?

URL length limits on a log scale: one SMS 160 characters, GA4 page_location 1,000 characters, QR code version 40 level L 2,953 bytes, RFC 9110 recommended minimum support 8,000 octets; an example link of 283 characters is marked

Limits that matter when you share a link, with a 283-character example

Where Limit Source
One SMS, GSM-7 160 characters, 153 per part when split Twilio docs
A post on X Every link counts as 23 characters X developer docs
GA4 page_location 1,000 characters GA4 event collection limits
QR code, version 40, level L 2,953 bytes Measured with segno
HTTP recommended minimum 8,000 octets RFC 9110

Google’s help page on GA4 event collection limits lists the URL-related ones: page_location must be 1,000 characters or fewer, page_referrer 420 and page_title 300. The SMS limits are covered in short links in SMS marketing, and X’s 23-character rule in every link on X counts as 23 characters.

What happens to a 283-character link?

Capsulink built an example on 2026-12-04: a product page URL with a variant ID, five UTM tags and a gclid, 283 characters in total. Then it compared it with the short link cli.re/boots:

A 283-character URL needs 2 SMS parts and a version 12 QR code with 65 x 65 modules; the short link cli.re/boots fits in 1 SMS part and a version 2 QR code; both fit GA4 page_location

The same destination as a long URL and as a short link (measured 2026-12-04)

The QR code size guide turns module counts into millimetres.

How to keep shared links short

  1. Keep the long URL as the destination. Put the UTM tags and IDs on the long URL, and share a short link that points to it. The UTM parameters guide has the naming rules.
  2. Drop what the page doesn’t need. Session IDs and tracking leftovers copied from the address bar make the link longer without helping anyone.
  3. Use short, clear UTM values. utm_campaign=winter26 works as well as a sentence.
  4. Pick a short ending. /boots beats /winter-boot-sale-2026-landing for anything printed or spoken.

Capsulink forwards tags added to a short link, so the same short link can carry different tags per channel. Just keep each tag in one place, as shown in double UTM tags in email links.

FAQ

What is the maximum length of a URL?

There’s no fixed maximum. RFC 9110 recommends supporting at least 8,000 octets. Tools you share links in have much lower practical limits, like 160 characters for one SMS.

Does GA4 cut off long URLs?

GA4’s collection limits say page_location must be 1,000 characters or fewer. Keep tagged URLs well under that.

How long a URL can a QR code hold?

A version 40 QR code at error correction level L holds 2,953 bytes, measured with segno. It’s 177 x 177 modules, which is hard to scan when printed small.

Why does my text message split into two parts?

A GSM-7 SMS holds 160 characters. A longer message is split into parts of 153 characters, and a long URL alone can push it over. A short link usually keeps it in one part.

This article is about:

Alexander Bickov

Alexander Bickov is a digital product designer with over 15 years’ of experience in UX/UI design and digital marketing. Through his work, he aims to connect people and products using strategy, creativity and technology. Alexander has built digital services and products for many different organizations ranging from small startups to large companies. His projects has been featured in the iOS App Store, Wall Street Journal, CNN, Business Insider, Forbes and Big Think. You can find him on Twitter and LinkedIn.

Join as contributor

Become a contributor and help our readers level-up their digital marketing skills.

Subscribe to newsletter

Receive the latest digital marketing, content marketing, and social media tips straight to your inbox.

Brought to you by Capsulink, a simple custom link management platform

All-in-one Custom URL shortener that allows you to gain deeper control over your links. Includes Smart links, Branded links, API URL shortener and more.