How to Create a QR Code for a Link (Step by Step)
By Saerly Team · SAER Technologies · · 8 min read
Paste your link into a QR code generator, choose static or dynamic, style it, download it and test it on several phones before printing. Here is the full process, with the checks most people skip.
To create a QR code for a link, copy the full URL, paste it into a QR code generator, choose whether you want a static or a dynamic code, adjust the design, and download it as PNG or SVG. Before you print anything, scan the code with at least two or three different phones at the real size and distance it will be used. The whole job takes a few minutes; the testing step is what saves you from reprinting.
Key takeaways
- A QR code for a link simply stores the URL as a pattern of black and white squares that a phone camera can read.
- Static codes hold the URL directly and can never be changed. Dynamic codes hold a short link, so the destination can be updated later and scans can be counted.
- Use SVG for print and PNG for screens and social posts.
- Keep strong contrast, a clear border (quiet zone), and a size of at least about 2 x 2 cm for close scanning.
- Always test on multiple phones, in real lighting, before sending a file to the printer.
What you need before you start
You only need two things: the link you want people to open and a QR code generator. It helps to think about three questions first, because the answers decide which type of code you should make.
- Will the destination ever change? A restaurant menu PDF, an event page or a seasonal offer usually changes. A permanent homepage usually does not.
- Do you want to know how many people scanned it? If yes, you need the scan to pass through a tracked short link.
- Where will it be printed or shown? A business card, a shop counter, a poster across a room and a billboard all need different sizes.
If you answered "yes" to either of the first two questions, plan for a dynamic QR code. If not, a static one is fine. We cover the trade-offs in detail in static vs dynamic QR codes.
Step 1: Get the final, correct link
Open the page you want people to land on and copy the address from the browser bar. Check that it starts with https://, that it loads on a phone (not just on your laptop), and that it does not require a login that customers will not have. Remove anything that should not be there, such as session IDs or internal tracking codes.
If you plan to measure where scans come from, add UTM parameters now, for example utm_source=poster&utm_medium=qr&utm_campaign=diwali_sale. A UTM builder makes this easy and avoids typos. Long URLs with many parameters create denser QR codes that are harder to scan, which is one more reason to put a short link in front of them.
Step 2: Shorten the link (recommended)
A QR code that stores a long URL has more modules (the small squares) and looks busier. A code that stores a short link like saerly.com/menu is simpler, scans faster from further away, and tolerates small print defects better. Shortening also gives you a place to collect click and scan data.
You can create a short link with a URL shortener, then make the QR code from it, or let a dynamic QR tool do both at once. If you are new to short links, what is a URL shortener explains how the redirect works.
Step 3: Choose static or dynamic
Static QR code
The URL is written straight into the pattern. It works forever without any service in the middle, which is good for things you never want to depend on a third party. The downside is that a typo or a changed page means printing a new code, and you get no scan data.
Dynamic QR code
The pattern stores a short link. When someone scans it, the short link redirects to your real destination. Because the redirect happens on the server, you can point it somewhere else later without changing the printed code, and every scan can be counted. In Saerly, dynamic QR codes are tied to a Saerly short link and scans are reported separately from ordinary link clicks, so you can see how much traffic came from print versus shares.
Step 4: Generate the code
With the free Saerly QR code generator you can paste a link and download a QR code without creating an account. If you sign up for a free account, you can also create dynamic QR codes (10 per month on the free plan) and see scans in your dashboard. The general steps are the same in any good tool:
- Paste your short link or full URL into the input box.
- Pick static or dynamic.
- Preview the code that appears.
Step 5: Design it without breaking it
Most generators let you change colours, the style of the dots and corner squares, and add a logo in the centre. These changes are safe as long as you follow a few rules:
- Dark on light. Keep the code dark and the background light. Inverted codes (light on dark) do not scan in some camera apps.
- Strong contrast. Navy on white works; light grey on white or red on green does not.
- Quiet zone. Leave an empty margin of about four modules around the code. Do not let text, borders or photos touch it.
- Logo size. If you add a logo, raise the error correction level to Q or H and keep the logo small. Error correction lets the code survive damage: roughly 7% for L, 15% for M, 25% for Q and 30% for H.
For the full list of design rules, read QR code design best practices.
Step 6: Download the right file format
| Format | Best for | Why |
|---|---|---|
| SVG | Print: flyers, posters, packaging, standees, banners | Vector, so it stays perfectly sharp at any size |
| PNG | Screens: websites, slides, WhatsApp, Instagram posts | Works everywhere; download a large size so it does not blur |
Send your printer the SVG whenever possible. If a design tool only accepts images, export a large PNG (1000 pixels wide or more) and do not stretch it beyond that.
Step 7: Choose the print size
A useful rule of thumb is that the code should be about one tenth of the scanning distance. Someone holding a card at 20 to 25 cm needs a code of roughly 2 to 2.5 cm. A poster read from 1 metre needs about 10 cm. A banner viewed from 5 metres needs about 50 cm. Around 2 x 2 cm is the practical minimum for anything printed; go bigger if the URL is long or the print surface is rough.
| Where it is used | Typical distance | Approximate code size |
|---|---|---|
| Business card, product tag, wedding card | 20-25 cm | 2-2.5 cm |
| Table tent, counter standee at a kirana or cafe | 30-50 cm | 3-5 cm |
| A4 flyer or poster on a wall | 1 m | about 10 cm |
| Real-estate site board or shop banner | 3-5 m | 30-50 cm |
Step 8: Test before you print
This is the step that people skip and regret. A code that scans perfectly on your laptop screen can fail on glossy paper, under a tube light, or on an older phone. Test it like this:
- Print a test copy at the final size on similar paper, not just on screen.
- Scan with several phones, ideally one iPhone and one or two Android phones of different ages, using the built-in camera app and, if your audience uses them, Google Lens or a payment app's scanner.
- Scan at the real distance and angle. If it will be on a wall at eye level, test from where customers will actually stand.
- Test in real light. Check under bright sun, dim indoor light and with glare from lamination.
- Check where it lands. Make sure the page opens on mobile data, not only on your office Wi-Fi, and that it loads fast.
- Confirm tracking. For a dynamic code, check that your test scans appear in analytics.
If a scan is slow or fails, increase the size, increase contrast, shrink or remove the logo, or shorten the link so the pattern is less dense.
Step 9: Add a clear call to action
A bare square does not tell people why they should scan. Add a short line next to it, such as "Scan to see today's menu", "Scan to pay with UPI", "Scan for the venue location" on a wedding card, or "Scan for floor plans and price list" on a property board. People scan more readily when they know what they will get.
Step 10: Keep an eye on it after launch
With a dynamic code, check your scan numbers after a few days. If a flyer drop produced few scans, the placement, size or call to action may need work. If the destination page moves, update the short link instead of reprinting. Link analytics show scans over time, countries, cities and devices, which helps you decide where to place codes next. Link click analytics explained walks through what each number means.
Common mistakes to avoid
- Pointing the code at a page that is not mobile friendly.
- Printing a static code with a URL that later changes or expires.
- Placing the code on a curved bottle, a fold, or the edge of a page where it bends.
- Using a very large logo or very light colours that make the code unreadable.
- Putting a code on a website that people are already viewing on their phone; give them a tappable link there instead.
Frequently asked questions
Can I create a QR code for a link for free?
Yes. You can generate a static QR code and download it as PNG or SVG for free, and Saerly lets you do this without an account. A free account also lets you create a limited number of dynamic QR codes each month.
Do QR codes for links expire?
A static QR code never expires because the URL is stored in the pattern itself, though it stops being useful if the page goes offline. A dynamic code keeps working as long as its short link is active.
What size should a printed QR code be?
Aim for about one tenth of the scanning distance, with roughly 2 x 2 cm as a practical minimum for close-up items like cards. Larger is safer for posters and boards read from a distance.
Should I use PNG or SVG?
Use SVG for anything printed because it stays sharp at any size. Use PNG for websites, presentations and social media posts.
Can I change the link after printing the QR code?
Only if it is a dynamic QR code. A static code stores the URL directly, so changing the destination means printing a new code.
Try Saerly free
Shorten links, create QR codes and track every click. 100 free links a month — no credit card.
#qr code#qr code generator#dynamic qr code#how to#print