A QR code example is just a square pattern that stores a short piece of data, such as a web address, a phone number or Wi-Fi details. If you want a sample to test, learn from or put in a design mock-up, this guide shows the common types, the text each one stores, and what makes a code scan reliably.
What a QR Code Sample Contains
A QR code does not hold a page or a file. It holds text, and your phone decides what to do with that text. A web address opens in the browser, a phone number opens the dialer, and so on. That is why the same generator can make many kinds of codes: you only change the text you type in. Our guide to how QR codes work explains the structure in more detail.
Common QR Code Examples and the Text Behind Them
Paste any of these into a generator to make a sample. Replace the example values with your own.
- Website link:
https://example.com - Plain text:
Welcome to our event - Email:
mailto:hello@example.com - Phone number:
tel:+15551234567 - Text message:
SMSTO:+15551234567:Hello - Location:
geo:40.7128,-74.0060 - Wi-Fi:
WIFI:T:WPA;S:NetworkName;P:password;;
Phones differ a little in how they treat each format, so test every sample on your own device before you print it.
Real-World Uses
- Restaurant menus: a code on the table links to the menu page.
- Business cards: a code links to a portfolio, a website or a contact file.
- Flyers and posters: a code sends people to a landing page or a booking form.
- Product packaging: a code links to instructions or support.
- Events: a code shares a schedule, a map or a registration link.
- Review requests: a code links to your review page.
What Makes a Sample Code Scan Well
- Strong contrast. Dark code on a light background is the safest choice.
- A clear border. Leave blank space around the code and do not crop it.
- Enough size. For print, aim for about 2 x 2 cm or larger, and test the printed version.
- Short data. A short link makes a simpler, easier-to-scan pattern. A URL shortener can help.
- Error correction. A higher level lets a code survive small damage, but makes the pattern denser.
Make Your Own Sample in a Minute
Open the QR code generator, paste one of the example strings above, choose a size and generate the code. Download the PNG and scan it with your phone. If you are making a design mock-up, use a code that points to a page you control, so people who scan it do not land somewhere unexpected.
Frequently Asked Questions
Can I use a sample QR code in my design?
Yes, but make sure the code works and points to a safe page you own. A broken or random code looks unprofessional.
Do QR codes expire?
A static code stores its data inside the pattern, so it does not expire. The page it links to can disappear, though.
Can I make a QR code that is not black and white?
Yes, but keep strong contrast between the code and its background so scanners can read it.
Is a QR code the same as a barcode?
No. A QR code is two-dimensional and stores more data than a traditional barcode. See our barcode generator for the one-dimensional kind.
Last reviewed October 2026.