URL QR Code Generator

Create a QR code for any website link, landing page, or file URL and download it instantly as PNG, SVG, or PDF.

Enter text to generate QR code

What this tool does

A URL QR code is the most common type: someone scans it with their phone camera and the browser opens the link you encoded. Use it anywhere you want to move people from a printed surface to a web page without making them type a long address.

The generator runs entirely in your browser as client-side JavaScript. The text, links, and credentials you enter are encoded directly into the QR matrix on your device — the payload is never transmitted to or stored on a server. The encoder selects the densest QR encoding mode that can represent your data (numeric, alphanumeric, or byte mode), applies the error-correction level you choose, and writes the resulting module grid into the canvas preview above. Because the data lives inside the image itself, the finished code is static: it never expires and never depends on a redirect service.

How a URL code works, where to use it, and how to test it

How the web-address payload works

A URL QR code does not store a website. It stores a character string that happens to be a web address. The encoder writes that string into the matrix using the densest mode that can represent every character. Digits alone can use numeric mode. A string limited to uppercase letters, digits, and a short symbol list can use alphanumeric mode. Almost every real address fails that test because of lowercase letters, so the generator falls back to byte mode and spends eight bits per character. The https:// prefix is part of the payload. Phones use it as a hint to offer “open in browser” rather than “search the web”. There is no lookup server between the scan and the page: the camera reads the string, the operating system classifies it, and the browser requests that exact URL.

Practical places for a link code

Use a URL code when the next step is a page you control: a campaign landing page on a poster, a product manual on packaging, a listing or virtual tour on a for-sale board, a booking form, or a warranty page. It earns its place whenever typing the address would lose people — long slugs, mixed case, or tracking parameters. It is a poor fit when the destination changes often and you cannot keep a redirect in place, because the printed pattern cannot be edited later. Prefer a short, stable path on a domain you own. If you need campaign tracking, append parameters with a server redirect so the encoded string stays short and the squares stay coarse enough to print small.

How to test a URL code before you print

Generate the code, then scan the on-screen preview with a second phone before you download anything. Confirm the browser opens the exact page, not a search-results page — a missing protocol is the usual cause of a search. Check that the page loads on mobile data, not only on office Wi-Fi, and that it is usable on a small screen. Download the PNG and the SVG, print one proof at the size you intend to use, and scan that print under the lighting of the real location. A glossy poster under spotlights fails differently from a screen. Try at least one iPhone and one Android camera, because the “open link” prompt is an operating-system feature, not part of the QR standard. If the address redirects, time the chain; some cameras give up on a slow hop. Scan again a day later and confirm the destination still resolves.

The encoding standard behind a URL code

A URL QR code stores your address as a plain text string inside the matrix. The encoder picks the densest mode that can represent it: numeric mode for digit-only strings, alphanumeric mode for URLs limited to uppercase letters, numbers, and a small symbol set, and byte mode for anything containing lowercase letters or most punctuation. Because real web addresses are mixed-case, almost all URL codes run in byte mode. The https:// prefix is part of the encoded string, not a label — it is what tells a phone to hand the text to the browser instead of treating it as a search query.

Why a scannable link converts better than a typed one

Every character a person has to type by hand is a chance to abandon. A long address with tracking parameters, a slug, or mixed case is rarely entered correctly on the first try, and most people will not attempt it a second time. A QR code removes the keyboard entirely: the camera reads the exact string and opens it, so the address is never mistyped and the visitor lands on the right page without friction. The gain is largest where the URL is long, ugly, or hard to remember — exactly the links campaigns tend to use.

Framing, contrast, and print sizing

Keep a clean quiet zone at least four modules wide around the pattern with no text or artwork intruding, because scanners use that empty border to locate the code. Print on a matte surface so overhead light does not wash out the dark modules, and maintain strong contrast — dark squares on a light background, never inverted colours, which many cameras struggle to read. Size the code to the scanning distance: roughly one-tenth of the distance is a workable starting point, but always proof on a real phone before a full print run rather than trusting a formula.

Download your QR code

PNG for screens, SVG for large-format printing, PDF for print shops.

Optimal settings

Error correction: M (Medium)Min. print size: 1 inch (2.5 cm)

A short URL fits in a low QR version, so Level M error correction is enough to survive minor smudging while keeping the pattern compact. Print at least 1 inch (2.5 cm) square for reliable scanning; if your URL carries UTM tracking parameters that lengthen the string, step up to 1.25 inches and keep Level M so the denser pattern still scans from arm’s length.

Unsure what print size you need for this code?

Read our 10:1 sizing distance guide

How it works

  1. 1You enter a full web address (for example https://your-site.com/spring-sale).
  2. 2The generator encodes that string directly into the QR pattern using error correction so the code stays readable even if it gets slightly smudged.
  3. 3When a phone camera reads the code, it recognises the http/https prefix and offers to open the link in the browser.
  4. 4The code is static — the data lives inside the image itself, so it never expires and never depends on a redirect server.

When to use it

  • Posters and flyers that send people to a campaign landing page
  • Product packaging linking to instructions, warranties, or reviews
  • Business cards that open your portfolio or contact page
  • Real-estate signage pointing to a virtual tour or listing photos

Examples of what to encode

Store homepage

https://yourstore.com

Specific product page

https://yourstore.com/products/classic-mug

Google Form signup

https://forms.gle/your-form-id

PDF menu hosted online

https://yourcafe.com/menu.pdf

What the phone actually decodes

A URL QR code stores your address as raw text inside the QR pattern — there is no redirect server and no lookup step. When a phone decodes the pattern, it sees the exact string you entered and hands it straight to the browser. That is why the code works forever, but also why a typo is permanent: whatever is in the pattern is what opens.

The length of the URL controls the density of the code. A short address like yoursite.com fits in a version 1 pattern (21×21 modules). Add UTM tracking parameters and a long slug, and the generator may need a version 4 or 5 pattern — visibly finer squares that must be printed larger to scan from the same distance. The full QR standard tops out at version 40, which holds 4,296 alphanumeric characters, far more than any URL you would realistically print.

Case matters: https://YourSite.com and https://yoursite.com are different strings to the decoder, even if the server treats them the same. And the https:// prefix is not decoration — it is what tells the phone "open this in the browser" rather than "search for this text".

Link management: keeping your URL code alive for years

The URL you encode is a permanent commitment. Link rot — pages being moved, renamed, or deleted — is the single biggest killer of printed QR campaigns. A code on a product box or storefront sign may be scanned five years after it was printed; if the destination returns a 404, the code is dead weight that only frustrates the person who scanned it.

Use a stable, owned domain rather than a platform path you do not control. yourbrand.com/spring-sale is yours to keep; brand.platform.com/pages/spring-sale-8842 belongs to the platform and dies if you leave. Redirects are your safety net: if you must change a destination, point the old URL at the new one with a 301 redirect. The QR pattern stays the same; the server silently forwards. This single habit lets a printed code survive a full website rebuild without a single reprint.

UTM parameters help analytics but bloat the URL, densifying the code and forcing a larger print size. If you need tracking, use a shortener or a redirect rule that appends parameters server-side, keeping the encoded string short. Test the destination before and after printing — a code that scans perfectly but lands on a broken page is worse than no code at all.

Common mistakes to avoid

  • Leaving out the https:// prefix — some phones treat the text as a search query instead of a link.
  • Encoding a long URL full of UTM parameters, producing a dense code that needs to be printed larger.
  • Linking to a page that redirects two or three times — each hop adds a delay some scanners give up on.
  • Not re-testing printed codes after a website redesign changes your URLs.

Practical tip

Always use the full https:// address. Without a protocol, some phones treat the text as a search query instead of a link. Test the finished code with two or three different devices before you print it.

Frequently asked questions

Do I need to include https:// in the URL?

Yes. The https:// prefix tells the phone to open the link in a browser rather than treating the text as a search query. Without it, some phones search for the words instead of opening the page. Always enter the full address including the protocol.

Can I change where a URL QR code points after I print it?

No — the URL is fixed inside the pattern at generation time. The workaround is to encode a short, stable URL on a domain you own and set up a server-side 301 redirect to the real destination. You can then change the target page without reprinting, because the printed code still points at the same redirecting address.

Will tracking parameters like UTM tags still work?

Yes, but they lengthen the URL and make the pattern denser, which means a larger print size to stay scannable. If you need tracking, keep the encoded string short and append parameters through a server-side redirect rather than baking a long UTM string into the code itself.

How this tool handles your data

Everything here runs in your browser. The text, links, passwords, and contact details you enter are encoded into the QR image on your device — they are never uploaded to or stored on a server. Nothing is retained after you leave the page.

Test and check your code

Before you print or publish, use these free tools to make sure your code scans reliably.