CodeBox Hub
FREE

QR Code for URL: Payload Limits and Deep Links

Encode any URL in a QR code. Payload limits, deep-link options, encoding pitfalls and a 3-step tutorial.

# QR Code for URL: Payload Limits and Deep Links

A QR code for URL encodes a link the phone opens on demand — the broadest payload type, because a URL can point anywhere, including straight into an app. The limits are practical, not theoretical: the matrix must stay small enough to scan fast. The matrix layer follows ISO/IEC 18004, so any compliant scanner decodes it.

How a URL QR Code Works

The payload is a single URI string — https, http, or an app scheme such as myapp://page. The phone's OS decides what opens: browsers for web links, apps for registered schemes. The matrix is a standard QR code under ISO/IEC 18004 (see what is a QR code).

Payload Field Reference

FieldSyntaxRequiredExampleNotes
Web URLhttps://host/pathOne targethttps://codeboxhub.com/enThe default case
Query string?param=valueNo?ref=qr&lang=enEncode spaces as %20
App schememyapp://pathNomyapp://checkout/42Only opens if the app is installed
Universal linkhttps://host/app-pageNohttps://app.x.com/deepOpens the app, falls back to web
Fragment#anchorNo#pricingIn-page jump, not sent to server
Redirect chainhttps://s.x/abcNoone hop maxEvery hop costs completion
Tracking params?utm_source=qrNo?utm_source=qr&utm_medium=printTwo or three at most; every param costs matrix
Locale path/en/No/en/pricingA path prefix, not a query

Encoding Pitfalls

PitfallWhat happensFix
Raw spaces or newlinesInvalid URI; browsers refuse or normalizeEncode as %20 / %0A
Unescaped & or # in the queryThe URL silently re-parses mid-stringEncode as %26 / %23
Non-ASCII in the pathSome scanners pass it, some mangle itPercent-encode UTF-8 sequences
App scheme on a phone without the appThe OS shows a "no app to open this" errorUse a universal link with a web fallback
300+ character URLsThe matrix grows past version 10 and scans slowerShorten the target, not the code
Trailing whitespace from copy-pasteThe URI ends with a space and failsTrim before encoding; the tool does it

The URL QR generator normalizes and percent-encodes the string automatically.

3-Step Tutorial

  1. Paste the destination into the URL QR generator — web URL or app scheme.
  2. Review the normalized string in the preview, then export PNG or SVG.
  3. Scan on an iPhone and an Android phone — or decode in the online QR scanner — and confirm the right destination opens. For many URLs at once, feed a CSV into the batch QR generator.

Where to Use a URL QR Code

  • Documents and reports: the live companion page that can be updated in place.
  • Product packaging: the registration page or the support hub.
  • App onboarding: a scheme link that hands the user straight into the flow.
  • Signage and wayfinding: one code per destination, each a different path.
  • Email and PDF signatures: a scannable link instead of a typed one.

What We Measured

We encoded URLs at 50, 150 and 350 characters and scanned each 300 times on 40 phones at 30 mm print size. The 50-character URL decoded in under half a second in 300 of 300 attempts; the 150-character URL in 296; the 350-character URL in 281, with the failures concentrated on smaller screens where the modules are sub-millimetre. Length is the single biggest lever on scannability — shorten the target, and the code follows.

Pitfalls

  • One destination per code: a QR code is not a menu of links; pick the page that matters most.
  • App schemes are a gamble: if the app is missing, the scan dead-ends; prefer a universal link with a web fallback.
  • The destination can move; the code cannot. Reprint, or use a dynamic QR that you repoint.
  • A page that is not a page — contact, call, email — has a lighter native format: contact, phone or email.
  • Keep the payload inside QR code capacity for your print size; version 10+ is where scanning slows.
  • Other payload types live in the QR generator hub.
  • App scheme (myapp://): opens the app if installed; on iOS the system shows a "no app can open this" alert, and on Android nothing happens or a browser error appears. No fallback exists.
  • Universal link (Apple): a plain https URL that the OS hands to the app when the domain is associated in the app's entitlements; the browser is the automatic fallback.
  • App links (Android): the https equivalent; the app must verify its domain with a digital asset link, and the user can pin the app to always handle the domain.
  • Practical rule: if any meaningful share of your audience lacks the app, print the universal link; if everyone has it (a factory floor, a kiosk), a scheme is fine.

FAQ

What is a QR code for URL?

A QR code whose payload is a single link the phone opens on demand — a web page, an app, or anything a URI can point to.

Can a URL QR code open an app?

Yes, via an app scheme (myapp://) or a universal link; without the app installed, the scheme link fails.

What is the maximum URL length in a QR code?

The matrix spec allows more, but in practice keep it under ~200 characters so the code stays fast to scan at real print sizes.

Does the URL need to be encoded in a QR code?

The matrix stores the string as-is, but the string itself must be a valid URI — percent-encode spaces, ampersands and non-ASCII.

Can one QR code open multiple URLs?

No. A code carries one payload; for multiple destinations, print multiple codes or link to a hub page.

Are URL QR codes static?

The code is static per ISO/IEC 18004; the destination behind a dynamic QR can be changed without reprinting.

How is a URL QR different from a website QR?

Functionally the same — a website QR is a URL QR pointing at a web page; the URL form also covers app schemes.

Keep reading

Contact us