Sample URL QR Codes: 10 Ready Test Links

Author

QRScannerAI

These ten sample URL QR codes expose every way a scanner can mishandle a link: truncating tracking parameters, lowercasing paths, hiding punycode lookalikes, and silently launching unknown schemes. Each entry gives you the exact string to encode and what a correct reader should do with it. Generating and scanning all ten takes about fifteen minutes and tells you more about a reader than an afternoon of casual testing.

URL codes look like the simplest QR payload, and that is exactly why they make the best probes. Everyone ships them, so every reader has been optimized for them — which means the bugs hide in the corners: the percent signs, the ampersands, the port numbers. This is the URL slice of our sample QR codes for testing library, with the payloads chosen so each one isolates a single behavior.

What a URL Code Stresses

A URL exercises three separate layers of the pipeline, and a failure in any one of them looks like a broken QR code even when the code is fine. First, encoding: the string becomes modules under the rules of ISO/IEC 18004, which picks the most efficient mode (numeric, alphanumeric, or byte) and adds error correction. Longer URLs need bigger grids — "versions" in QR terminology — so payload length visibly changes the code's density. Second, decoding: the scanner reconstructs the exact string, byte for byte. Third, handling: the reader decides what to do with the string — show a preview, open a browser, hand it to an app. Layers one and two are standardized; layer three is where every scanner disagrees, and where these ten tests aim.

The 10 URL Test Codes

Encode each string exactly as written — the ampersands, percent signs, and capitals are the test. Scan with the reader you're evaluating and compare what opens against the "expected result" column.

#URL to encodeExpected resultWhat it proves
1https://example.comPreview shows the domain; page opens normallyBaseline decode and open
2http://example.comPreview and address bar clearly show plain http://No silent https masking
3https://example.com/landing?utm_source=qr&utm_medium=print&utm_campaign=testAll three UTM parameters arrive in the address bar and the analytics reportTracking survives the scan
4https://example.com/docs/install?v=2#troubleshootingPage opens with the URL still ending in #troubleshootingFragments pass through intact
5https://example.com/Products/OverviewPage loads, not a 404Path casing is preserved, not lowercased
6https://example.com:8443/statusThe :8443 port survives into the address barPorts and odd URL anatomy are kept
7https://example.com/store/outdoor/camping/tents?page=2&sort=price_asc&color=green&ref=qr_poster&campaign=spring2026&placement=lobbyThe complete URL opens; the code itself is visibly denserLong URLs still decode whole — at a size cost
8https://xn--pple-43d.deReader displays the true domain (punycode or its Unicode form), never a plain-ASCII lookalikeHomograph domains stay visible
9myapp://settingsReader asks before launching an unknown scheme; nothing auto-runsCustom schemes are not auto-executed
10https://example.com/files/annual%20report.pdfThe %20 opens as a space — once, not twicePercent-encoding survives without double-decoding

Case 7 doubles as a sizing demo: notice how much smaller each module got compared to case 1 at the same print size. That density is the practical reason long campaign URLs need bigger prints — the damaged-code limits guide explains why denser codes also have less scratch margin.

What the Results Mean

A reader that passes all ten cases will show a consistent personality, and it looks like this: it previews the decoded domain before opening, it keeps the protocol visible (case 2), it never edits the string (cases 3–7 and 10), and it treats unusual payloads as a question for the user rather than a command (cases 8 and 9). That personality is what you should demand from the reader your audience will actually use.

Failure personalities are just as informative. A reader that truncates at the ampersand will still pass case 1 and fail case 3 so quietly you might blame your analytics. A reader that hides punycode turns case 8 into a phishing hazard — the string xn--pple-43d.de is the encoded form of a Unicode domain, and users are safer seeing the odd truth than a friendly disguise. A reader that auto-launches myapp:// will do the same for schemes you never intended, which is how codes end up triggering app stores or dialers unexpectedly.

Run the same ten codes against a second reader to see the disagreement for yourself — the 10-point scanner test checklist wraps that comparison into a repeatable pass/fail flow.

Common URL Failures

When a URL code misbehaves in production, the cause is almost always one of five things — and four of them are fixable at generation time:

  • Tracking parameters truncated. Some "open in app" handlers chop the query string. Symptom: UTM reports show a spike of naked URLs. Fix: shorter destination or a dynamic redirect you control.
  • Scanner-injected redirects. A few scanner apps route every URL through their own tracker first. Symptom: referral data shows an unfamiliar middleman. Fix: nothing you can print — choose scan methods that decode directly, and test with case 3.
  • Case-folded paths. A reader that lowercases everything turns /Products into a 404 on case-sensitive servers. Fix: use case-insensitive routes, or test with case 5 before printing.
  • Density blowups. A 200-character URL produces a code too small to scan at poster distance. Fix: send posters to a short, stable redirect — one that you control and never repoint carelessly.
  • Expired destinations. The code scans perfectly and lands on a 404 because the campaign page died. That's a link-management failure, not a QR failure — but it looks identical to the user.

The pattern across all five: the code did its job; something in the URL's journey didn't. That is why URL test codes belong in every pre-print pass — they catch the journey problems while they are still free to fix.

Frequently Asked Questions

What size should QR codes be for reliable scanning?

Use the 10:1 rule: scan distance divided by ten gives the minimum width, so a code scanned from 50 cm should be at least 5 cm wide. URL length shifts the number upward — long URLs produce denser codes with smaller modules, so print them larger or shorten the destination.

Do QR codes work without internet connection?

The scan itself does — decoding happens on the device and needs no connection. Opening the URL, of course, needs internet. That split is why a code can "scan" perfectly in airplane mode and still fail to open anything.

How can I tell if a QR code is static or dynamic?

Scan it twice, then change what the destination points at and scan again. A static code encodes the final URL forever — the payload never changes. A dynamic code encodes a short redirect the provider can repoint, so the payload stays the same while the destination moves. Case 3 in the table is the probe: watch the parameters through a dynamic redirect too.

What's the best way to test QR code quality?

Run these ten codes and judge the reader's personality: preview before open, no string edits, honest handling of odd payloads. For the physical side — print size, contrast, quiet zone — use the 10-point test scanner checklist on the printed proof, not on screen.

Can damaged QR codes still work?

Often, yes — every code carries error correction that recovers roughly 7–30% of its data depending on the level chosen at generation. But the margin shrinks as density grows, which links damage resistance directly to URL length. The damaged QR code guide gives the full limits.

What are the different types of QR codes for testing?

URLs are one family of a handful: WiFi payloads test network joining, vCards test contact parsing, plain text tests display. Each stresses different handling code, which is why a good toolkit spans them — the WiFi WiFi test codes and vCard test codes follow the same pattern as this page.

Why do QR codes fail on certain devices?

Because decoding and URL handling are implemented independently by each platform and app, they disagree at the edges — inverted codes, exotic payloads, preview behavior. A matrix of two or three devices catches the disagreements before your audience does.

What tools should I use for QR code testing?

Three tools cover it: the native camera app (what most of your audience uses), one third-party reader (where edge-case bugs surface), and a browser scanner that decodes a pasted screenshot (deliberate, previewable, works on desktop). Run all ten codes through all three and you have a complete reader picture.

Wrap-Up

Ten strings, fifteen minutes, and a complete verdict on any URL scanner: cases 1–2 check honesty about protocol, 3–7 check that the string survives untouched, 8–10 check that unusual payloads are surfaced rather than silently handled. Run them before every campaign, keep the case table next to your sign-off checklist, and the next "the QR code is broken" ticket will resolve into what it almost always was — a URL that changed after the code was printed.