How to Create a QR Code for a URL: Steps, Testing and Size
Turn any link into a QR code: copy the URL, choose static or dynamic, download it, test it on two phones and print it at the right size. Plus UTM tags and bulk URLs.


To create a QR code for a URL, copy the full address of the page, starting with https://, paste it into a QR code generator as a URL code, download the image and scan it with two different phones before you print. The simplest kind is a static code, which stores the address itself and can never change. If the page might move, or you want to know how many people scan the code, make a dynamic code instead: it stores a short link that you can point to a new address after printing.
What follows about Chrome and the iPhone camera comes from Google's and Apple's help pages, read on November 21, 2026.
How to create a QR code for a URL
A URL and a link are the same thing here, so these steps work whenever you want to make a QR code from a link:
- Open the page in a browser and copy the address from the address bar. Copy all of it, starting with https://.
- Open a QR code generator and choose the URL (or website) type.
- Paste the address. Choose static or dynamic if the tool asks.
- Change the colors if you want, but keep the code dark on a light background.
- Download the image: SVG for print, PNG for screens and documents.
- Scan it with an iPhone and an Android phone and check that it opens the right page.
For a link that will never change, you can stop there. If the page might move, or you'll print hundreds of copies, the choice between static and dynamic matters more than the generator you use.
Make one in the free CodeQR generator
The CodeQR QR code generator works without an account. URL is the default type: paste your address, pick colors and a pattern, and download a PNG. SVG and high-resolution downloads unlock when you create a free account.
The tool makes static codes. It draws the code in your browser from exactly what you type, without adding https:// or checking the address, so paste the full URL and open it once in a browser before you download.
Chrome can make one too. On a computer, Google's Chrome Help says you go to the page you want to share, select More, then Cast, save, and share, then Create QR code, and you can download the result.
Static or dynamic: which one your URL needs
A static code stores the URL in the pattern. The phone reads the address and opens the page directly, so the code works for as long as that page exists. Its scans can't be counted, and if the URL changes or breaks, the only fix is a new code and a reprint.
A dynamic code stores a short link. When someone scans it, the short link redirects to your URL. That gives you two things a static code can't: you can change the destination after the code is printed, and every scan is counted.
Static is fine for an address that will stay put, like your home page, when you don't need numbers. Choose dynamic when you print in quantity, when the code belongs to a campaign, or when someone else controls the page's address. Our guide to static vs dynamic QR codes goes deeper.
Create a dynamic QR code for a URL in CodeQR
Dynamic URL codes are available on every CodeQR plan, including Free. In the dashboard:
- Open QR Codes and click Create QR Code.
- In Select QR Code format, choose Dynamic and click Continue. Static is selected by default.
- Keep URL as the QR type and paste the address in Destination URL.
- Give the code a title so you can find it later, then click Create QR Code.
- Click Export and choose SVG for print or PNG for screens.
Before it saves the code, CodeQR checks that the destination is a valid URL and that its domain isn't on CodeQR's list of blocked domains. On the Free plan, codes carry the CodeQR logo in the middle; paid plans can use your logo or none (see pricing).
The help article on creating a dynamic QR code has screenshots of each step, and another shows how to change the destination after printing. If you made a static code by mistake, the editor can turn it into a dynamic one, but copies you already printed keep the old address.
Test the code before you print
Scan the code on screen first, then scan a printed proof at the final size. On an iPhone, Apple's guide says to open Camera, keep it in Photo mode, frame the code and tap the link that appears at the bottom of the screen. How you scan on Android depends on the phone, so test with at least one Android phone as well.
Then check:
- The page that opens is the one you meant.
- It loads on mobile data, not only on your office Wi-Fi.
- It doesn't ask for a sign-in. Open the URL in a private browser window; if it asks you to sign in there, it will ask everyone who scans the code.
- For a dynamic code, the scan shows up on the code's card in CodeQR.
Add UTM parameters to the URL
If you use Google Analytics, add UTM parameters to the destination so scans show up under your campaign instead of as direct traffic. For example: https://example.com/menu?utm_source=flyer&utm_medium=qr&utm_campaign=spring.
With a static code, those parameters are printed into the pattern and can't be fixed later, and the longer address makes the pattern denser. In CodeQR, the UTM Builder in the editor fills them in for you, and it is available for dynamic codes only. Our guide to UTM codes for QR codes explains which values to use.
Choose the size and the file
Print the code at least 2 × 2 cm (0.8 × 0.8 in), and larger the farther away people stand. A common rule of thumb is a code about one tenth as wide as the scanning distance. Leave a blank margin around it and send the printer an SVG, which stays sharp at any size. Our guide to QR code size for print has sizes for cards, flyers and posters.
A long URL makes a static code denser, and a denser code needs more room to scan reliably. A dynamic code always holds a short link, so its pattern doesn't get denser when your address gets longer.
Why a URL QR code doesn't open the page
- The address is incomplete or has a typo. Make a new code from the full URL, starting with https://.
- The page moved or was deleted. A dynamic code can be pointed to the new address; a static code has to be replaced.
- The page needs a login. Test it in a private window.
- The code is too small, too light or printed on a busy background.
Our help article on QR codes that don't scan or open the wrong page covers more cases.
QR codes for many URLs at once
For a list of URLs, such as one code per product or per store, don't make them one by one. In CodeQR, the QR Codes page has an Import from CSV option next to the Create QR Code button, and each row can be static or dynamic. See how to import QR codes from a CSV file.
If the list lives in your own system, use the API. POST https://api.codeqr.io/qrcodes creates one code, dynamic unless you send "static": true, and returns its short link and image URL. POST https://api.codeqr.io/qrcodes/bulk creates up to 100 codes per request. You need an API key, and the API reference lists the fields.
Questions about QR codes for URLs
Copy the full address, starting with https://, paste it into a QR code generator as a URL code, download the image and scan it with two phones before you print. Choose a dynamic code if you want to change the link later or count scans.