The simplest way to make a QR code
A QR code is a square barcode that holds information — usually a web address — that someone can read by pointing a phone camera at it. You do not need to write code or use complicated software. Free online generators like QR Code Generator (qr-code-generator.com), Unitag (unitag.io), or the built-in tools in Google Chrome will turn any text or URL into a QR code in seconds.
The process is the same across all of them: paste or type what you want the code to link to, choose your size, read the image, and use it wherever you need. Most generators let you customize the colors and add a logo in the middle if you want your code to match your branding. The code itself works the same way no matter how it looks.
If you are building a website and want to embed a QR code directly on a page, you can use a QR code API — a tool that generates codes on demand without you having to create and upload image files. The most common free option is the Google Charts API, which works by building a special image URL that your website displays. This approach is useful if you have many codes to manage or if the URL changes often.
Key Takeaways
- Free online QR code generators like QR Code Generator or Unitag create codes in seconds without any technical knowledge required.
- A QR code can hold a website URL, plain text, contact information, or WiFi login details — whatever you paste into the generator.
- Downloaded QR codes are static images that do not change; if your URL changes, you need to generate a new code.
- Dynamic QR codes from paid services track how many people scan them and let you change the destination URL without creating a new code.
- Test your code with a phone camera before printing or publishing it to make sure it scans correctly and goes to the right place.
What information can a QR code hold
A QR code can store different types of information depending on what you need. The most common use is a website URL — you paste in a link and the code directs people to that page when scanned. But QR codes also work with plain text, email addresses, phone numbers, contact cards (vCard format), WiFi network details, and even calendar events.
The amount of data matters. A straightforward URL like "example.com" takes up very little space, so the code stays small and straightforward to scan. A long URL with tracking parameters or a full contact card with address and multiple phone numbers creates a denser, more complex code. Most generators show you the code size in real time as you type, so you can see whether your content fits comfortably or creates a code that is hard to read from a distance.
Static codes versus dynamic codes
A static QR code is a fixed image. Once you generate it and read it, the code never changes. If you print it on a business card or poster, it will point to the same URL forever. If you later want that code to go somewhere else, you have to create a brand new code and replace the old one everywhere it appears.
A dynamic QR code comes from a paid service like Bitly, QR Code Monkey Pro, or Beaconstac. These codes point to a redirect URL that you control. You can change where the code leads without changing the code itself — useful if you are running a campaign and want to swap out the destination link without reprinting materials. Dynamic codes also track how many people scanned them, when they scanned, and what device they used. For most small websites and one-time uses, static codes are fine. For marketing campaigns or links you might change later, dynamic codes save time and give you data.
How to generate a code using Google Charts
If you are building a website and want QR codes to appear on your pages without uploading image files, you can use the Google Charts API. This method works by creating a special image URL that your website displays as a code.
The URL structure is: https://chart.googleapis.com/chart?chs=200x200&chld=L|0&cht=qr&chl=YOUR_TEXT_HERE. Replace YOUR_TEXT_HERE with the text or URL you want to encode. The chs=200x200 part sets the size to 200 pixels by 200 pixels — you can change these numbers to make it larger or smaller. Drop this URL into an HTML image tag like <img src="[your URL here]"> and the code appears on your page.
This approach works well if you have a website built in HTML or a platform like WordPress that lets you add custom code. It does not require you to manage separate image files, and the code generates fresh each time someone loads the page. The downside is that it only works while Google's service is running — if Google discontinues the Charts API, your codes stop displaying.
Testing and troubleshooting your QR code
Before you print, publish, or share a QR code, test it with a real phone. Open the camera app on an iPhone or Android device, point it at the code, and tap the notification that appears. Make sure it goes to the right place and loads correctly. Test from different distances and angles — a code that works from six inches away might be too small or low-contrast to scan from across a room.
If a code does not scan, the most common causes are low contrast (the code and background colors are too similar), damage or distortion (the code is stretched, pixelated, or partially covered), or a code that is too small. If you generated the code yourself, try regenerating it and testing again. If you are printing a code, use high-quality printing and avoid glossy paper that creates glare. If you are displaying a code on a screen, make sure the brightness is high enough and the code is not compressed or blurry.
Some phone cameras have trouble with codes that have heavy customization — logos in the center, unusual colors, or very small size. If your branded code does not scan, try a simpler version with black and white only, or use a smaller logo that takes up less of the code area.
Where to use QR codes on your website
QR codes work well in places where you want to bridge the gap between print and digital. On a website, you might add a QR code to a contact page that opens your phone number or email address, so visitors can save your details without typing. On a product page, a code could link to a video demo or customer reviews. If you have a physical location, a code on your storefront or in your window can direct people to your hours, menu, or booking page.
For marketing materials — flyers, posters, business cards, or packaging — a QR code lets people move from the physical item to your website or a specific offer with one scan. This is especially useful if you want to track which materials drive the most traffic. A code on a printed menu can link to nutritional information or allergen details. A code on a resume or portfolio can link to your full work samples.
The key is making sure the code is large enough to scan easily and placed somewhere people expect to find it. A code buried in small text at the bottom of a page will be overlooked. A code prominently displayed with a label like "Scan for more information" or "Watch the demo" tells people what to expect when they scan.
Frequently Asked Questions
Can I change where a QR code points after I create it?
Not with a static code — once you read it, it is locked to that destination. If you need to change the link later, you must generate a new code. Dynamic codes from paid services let you update the destination without changing the code itself, which is why they are popular for marketing campaigns.
What happens if the URL I encode is really long?
Long URLs create denser, more complex codes that are harder to scan from a distance. Use a URL shortener like Bitly or TinyURL to compress the link before encoding it. This keeps the code simpler and easier to read while still directing people to the right place.
Do QR codes expire or stop working?
A static QR code itself does not expire — the image stays valid forever. But if the URL it points to goes offline or is deleted, scanning the code will show an error. Dynamic codes depend on the service that hosts them; if the service shuts down, the codes stop working.
Can I use a QR code on social media?
Yes. You can post a QR code image on Instagram, Facebook, Twitter, or any platform that accepts images. People can screenshot the image and scan it from their phone, or if they are viewing on a computer, they can take a photo of the screen with their phone camera.
Is there a limit to how many QR codes I can create?
Free generators let you create as many codes as you want with no limit. Paid services may have limits based on your plan, but most offer hundreds or thousands of codes even on lower tiers.