How to Create a QR Code
A good QR code is more than a pattern of squares: it gives someone a clear, reliable next step. Use this walkthrough to choose the right format, prepare the destination, make the code, and check it before you print or publish it.
1. Decide what the scan should do
Start with the visitor’s task, not with the design. If you want to open a website, choose a URL code. If guests need internet access, use WiFi. For a business card, a vCard can package contact details; for a direct response, consider phone, email or SMS. Plain text is suitable for a short instruction that does not need a web connection.
QRCodeBarn creates free static codes for URL or text, WiFi, email, SMS, phone and vCard details. A static code stores its information in the pattern itself. It cannot be edited after printing, so the destination and spelling matter. We do not provide dynamic redirects, short links or scan analytics. For a detailed comparison, see static and dynamic QR codes.
2. Prepare the destination first
Finish and test the page, document or contact details before encoding them. Check the address character by character, including capitalisation where the website may care about it, punctuation, and any tracking parameters. Open the URL on a phone that is not logged into your editing tools. Confirm it loads over mobile data and that its buttons and text fit a small screen.
Use a destination that will remain useful. A café might link to a menu page on its own website rather than a temporary file-sharing link. A printed event poster could point to the event information page, not directly to an expiring ticket checkout. If the URL is long, clean up unnecessary parameters before creating the code; a shorter payload usually makes a simpler, less dense pattern.
For campaign measurement, add UTM parameters such as utm_source, utm_medium and utm_campaign to your own destination URL, then review visits in GA4. Our guide to using UTM links with QR codes explains the setup. A QR image does not itself report scans.
3. Enter the information in QRCodeBarn
Open the QRCodeBarn generator and select the matching code type. Enter the complete URL or data in the relevant fields. For WiFi, use the exact network name and password, and select the correct security type; a mismatch in any one of these can prevent connection. For vCard details, include only information you are happy to share with anyone who can scan it.
Review the entered content before generating. Look for a missing character in the web address, an incorrect phone country code, an old email address, a space accidentally added to a WiFi name, or a typo in a contact’s name. A static code faithfully preserves what you enter, including mistakes.
4. Choose a design that remains readable
Colour and a logo can make the code feel part of your brand, but readability comes first. Choose a dark foreground against a light background; avoid low-contrast combinations, gradients that obscure modules, and busy photographs beneath the pattern. Keep the clear margin around the outside, known as the quiet zone, free of text and graphics.
If you add a logo, keep it modest and centred, and leave the three large corner markers unobstructed. Error correction can help a code survive limited damage, but it is not a licence to cover data modules. Make a sample and test it before committing. For more visual guidance, read how to choose QR code colours and how to use a logo in a QR code.
5. Download the right file
Use PNG when you need an image for a website, email, slide deck or ordinary office document. It is a convenient raster file, but enlarging it too far can make the edges soft. Choose SVG for artwork that a designer or printer needs to scale; it is vector-based and stays crisp at different sizes. QRCodeBarn provides both PNG and SVG downloads.
Save the original download with a clear filename, such as event-registration-2026.svg, along with a note of the encoded destination. Do not rely on a screenshot of the preview as your master file. When using a layout programme, place the original file rather than re-drawing the modules.
6. Test the actual file and printed sample
Scan the downloaded file, not only the generator preview. Try at least two different phones if available, and check that the phone offers the action you expect and reaches the correct destination. If the code is for WiFi, verify that it joins the intended network. Do not test only while connected to an internal office network that customers cannot access.
For print, make a proof at the final size and scan it under ordinary lighting from the distance people will stand. A short URL often works at around 2 cm square, but that is a starting point, not a guarantee: viewing distance, print quality, contrast and payload density all matter. A useful rule of thumb is that a scan distance is roughly ten times the code width. If a test fails, enlarge the code, simplify its content, restore stronger contrast or remove design elements. See a practical QR code testing checklist.
7. Place it with a clear instruction
Put the code where a person can comfortably stop and use a phone. Avoid curved or reflective surfaces, folds, seams, dark corners and places where furniture or hands will cover it. Leave enough clear space around it and do not crop its edges. Pair it with a short explanation such as “View the menu” or “Connect to guest WiFi”, so people know why they might scan.
Match the code size to the situation. A poster viewed across a room needs to be larger than a label held in the hand. Do not place multiple codes close together without labels that distinguish their destinations. Include an accessible alternative when the information is essential, such as a readable web address or printed instructions.
8. Keep the destination working
A static QR pattern does not expire, but a web page, domain or linked document can move. Keep the destination live, renew the domain, check the code periodically and update the page instead of changing the printed code’s target. If the offer or event ends, replace the destination page with a useful explanation rather than a dead link. Back up the downloaded artwork and record where it was used.
Frequently asked questions
Can I create a QR code for free?
Yes. QRCodeBarn offers free static QR codes for supported information types, with PNG and SVG downloads; there is no charge to create the code here.
Can I make a QR code on my phone?
Yes. On a phone, use QRCodeBarn in your browser; on a computer, the same generator is convenient for arranging artwork for print. A computer is optional.
Can I change a QR code after printing?
A static QR code cannot be edited after printing because its data is fixed in the pattern. You can change the destination page itself, but changing the encoded address requires a new code and usually a reprint.