This sample QR code holds a line of plain text, so you can scan it with any phone to check the camera reads QR codes, with nothing opening and nothing to install. Aim the camera at the preview above and the sentence appears on screen. Further down are QR code examples for links, WiFi and contacts, a routine for testing your own code before it is printed, and advice on using a stand-in in a design.
How to make a test QR code
- Keep the sentence in the Text field to use the sample as it is, or type a line of your own. Short wording draws a simpler pattern that reads from further away.
- Open your phone camera and aim it at the preview. When the sentence appears, the camera works. Nothing opens, because plain text has no destination.
- To try another kind of code, change the content type above to Website, Wi-Fi or Contact card. The preview redraws with a ready-made example for that type.
- Wait for the Scan-tested label, then download a PNG for a slide or a screen, or an SVG for a layout that will be printed.
Use your own address in a mockup
A stand-in is fine on a screen, but a mockup that gets printed by mistake sends people nowhere. Put the real address in before the file leaves your hands, then scan the final version.
Print size
Minimum printed width for a reliable scan, worked out from the data modules in each example. The same figures apply on A4 and US Letter.
| Example | Modules | Error correction | Minimum (mm) | Minimum (inches) |
|---|---|---|---|---|
| Short test line | 29 | M | 22.2 | 0.88 |
| Placeholder for a mockup | 33 | M | 24.6 | 0.97 |
Sample QR code. If you can read this, your camera scans QR codes.
QR code examples you can scan
A good example is one you can read without trusting anybody. Everything on this page is generated in your browser from the words in the box, so what you scan is what you can see.
Plain text: the safest test
Text is the gentlest thing a code can hold. The phone decodes the characters and shows them, and that is the end of it: no page loads, no app opens and no permission is asked for. If the sentence appears, the camera, the light and the distance are all fine, which makes this the quickest QR code tester there is.
The sentence also shows the code is not tied to a service. A code that holds only text still reads on a phone with no signal.
Link, WiFi and contact examples
Once the plain test passes, try the types people actually print. A URL code offers to open a page. A WiFi code offers to join a network, and a contact code offers to save a card. Each type starts with harmless example data, so you can see how the phone reacts before you enter anything real.
Reading the prompt matters as much as the pattern. A good test code behaves the way you expect: the banner names the right address, the network or the contact, and the choice to proceed is yours.
How to test a QR code before you print it
Testing a test QR code is easy; testing your own is where mistakes get caught. Use the sample to learn what a good result looks like, then run the same checks on the real thing.
Scan-tested in the browser
Every code drawn here is decoded again by the page before a download is allowed. When the label next to the preview reads Scan-tested, a software reader has read the exact pattern back and matched it to what you typed. If a design could not be read, the download stays blocked and the label says why.
That check proves the pattern. It cannot prove how the finished object will look under a shop light, so it is only the first of the checks below.
Two phones, real distance, a printed proof
Print one copy at the true size on the true material and scan it with two different phones, one iPhone and one Android if you can. Stand where a customer would stand, not at arm's length from your desk. Try it in dim light and with a window behind you.
If the proof is borderline, make the code larger before blaming the camera. The guide to QR code size for print gives the smallest safe width for your own link, and our page on how to scan a QR code lists the usual reasons a good pattern still fails.
A sample QR code for a mockup
Designers often need a QR code image to fill the space in a poster, a menu or a package before the real address exists. The sample here works as a fake QR code mockup that still behaves like a real one: it scans, it is the right shape and it takes up the correct amount of room.
Download it as a PNG for a slide or a design file, or as an SVG if the layout tool accepts vectors. Give the stand-in a clear text message, such as the placeholder line above, so anyone who scans it from a proof learns it is not final. Swap in the real code before anything goes to press, and scan the final file once more.
Why random QR codes are a bad idea
Search results for QR code examples are often full of codes you cannot inspect. A picture of a code tells you nothing about where it leads, and a stranger's code on a forum or a flyer is no safer than a stranger's link. The camera shows the address before opening it, and that is the moment to read it carefully.
The safety section of the scan guide covers what to look for, and what a QR code is explains why a pattern cannot run anything on its own. For testing, make your own: it takes seconds and you know what it holds.
Questions
Is this sample QR code safe to scan?
Yes. It holds a line of plain text, so scanning it only shows that sentence on your screen. It has no link, installs nothing and asks for no permission.
What should a test QR code show?
Something you can recognise at a glance, such as a short sentence or a made-up address on a reserved example domain. Avoid anything that opens a real site you do not control.
Can I download the sample as an image?
Yes. Once the label reads Scan-tested, download it as a PNG, JPEG or SVG. The file is made in your browser and works as a QR code image for a slide, a document or a layout.
How do I check my own QR code works?
Wait for Scan-tested, then print a copy at the real size and scan it with two phones from the distance a customer would use. Change the content only after you have tested the final version.
Can I use a fake QR code in a design mockup?
Yes, as long as it is clearly a stand-in. Use a text code that says it is a placeholder, and replace it with your real code and a fresh scan test before the file goes to a printer.