The simplest way: use a free QR code generator

You create a QR code for a website by pasting the URL into a QR code generator, then downloading the image. The generator encodes your link into a square pattern of black and white dots that a phone camera can read. Most generators are free, take 30 seconds, and produce an image you can print, email, or embed anywhere.

The most straightforward option is QR Code Generator (qr-code-generator.com). Paste your full URL (including https://), choose the size you want, and download the PNG or SVG file. Other reliable free generators include QR Server (qr.net), Unitag (unitag.io), and GoQR (goqr.me). They all work the same way and produce codes that work indefinitely.

The URL you encode must be complete and correct. If you paste example.com instead of https://example.com, the code will still work, but some phones may not recognize it as a link. Test the code with your own phone before printing or distributing it.

Key Takeaways

  • Paste your full website URL into a free QR code generator, download the image, and the code is ready to use immediately.
  • The code works forever once created — you do not need to renew it, and changing your website does not break the code.
  • Test the code with your phone before printing or sharing it to make sure the URL is correct.
  • SVG format is better than PNG if you plan to resize the code, because it stays sharp at any size.
  • Dynamic QR codes (from paid services) let you change the destination URL later without creating a new code, but are unnecessary for most uses.

Static codes versus dynamic codes: when to use each

A static QR code is what you get from free generators. The URL is baked into the image itself. Once you create it, the destination never changes. If you print 1,000 flyers with a static code pointing to your homepage, that code will point to your homepage forever, even if you redesign the site or move it to a new domain.

A dynamic QR code uses a redirect service. You create the code once, but it points to a short URL that you control. Later, you can log into the service and change where that short URL points, without changing the code itself. Services like Bitly (bitly.com), TinyURL (tinyurl.com), and QR Code Generator Pro offer this. Dynamic codes are useful if you print codes on physical materials and might need to change the destination later — for example, a poster that points to a seasonal sale page that changes monthly.

For most cases, static codes are fine. Use dynamic only if you know you will need to change the link after the code is already in use.

Choosing the right image format and size

QR code generators offer two main formats: PNG and SVG. PNG is a standard image file that works everywhere but gets blurry if you enlarge it. SVG is a vector format that stays sharp no matter how large you scale it. If you plan to print the code large (on a poster or billboard), download SVG. If you are embedding it in a document or email at a fixed size, PNG is fine.

The size you download does not matter much — you can resize the image later in any image editor or document. What matters is the physical size when people scan it. A QR code needs to be at least one inch by one inch to scan reliably from a phone held at normal distance. Smaller codes work but require the phone to be closer. Larger codes are always better if space allows.

Most generators let you adjust the error correction level, usually shown as L, M, Q, or H. Higher levels (Q or H) let the code work even if part of it is damaged or obscured — useful if you are printing on a material that might wear. The default (M) is fine for most uses.

Adding a logo or custom styling

You can place a small logo in the center of a QR code without breaking it, as long as the logo does not cover more than 20 to 30 percent of the code. Most paid generators and some free ones (like Unitag) let you upload a logo and adjust the colors. The code will still scan, but only if you use high error correction (Q or H level) and keep the logo small.

If you are adding a logo yourself in an image editor, place it in the center and make sure it is not too large. Test the code with multiple phones before using it widely. Some phones struggle to read heavily customized codes, so simpler is usually safer.

Changing the colors (making the code blue instead of black, for example) works fine as long as there is strong contrast between the code and the background. A black code on white always works. A dark blue code on light gray might not. Test before printing.

Embedding QR codes in documents and websites

Once you have the image file, you can insert it into a PDF, Word document, or web page the same way you would any image. In Microsoft Word, use Insert > Pictures. In Google Docs, use Insert > Image > Upload from computer. On a website, use an <img> tag pointing to the image file.

If you are embedding a code on your own website, make sure the image is hosted reliably — either on your own server or a service like Cloudinary or AWS S3. Do not rely on a third-party QR generator's server to host the image, because if that service goes down, your code disappears from your page.

For print materials, download the image at high resolution (300 DPI or higher) before sending to a printer. Most generators default to screen resolution (72 DPI), which looks fine on a monitor but prints blurry. Check your printer's requirements and ask the generator for a high-resolution version if available.

Tracking scans and analytics

Free static QR codes do not track scans — you have no way to know how many people scanned the code or where they came from. If you need that information, use a dynamic code service. Bitly, QR Code Generator Pro, and Unitag all track clicks and show you analytics like scan count, location, and device type.

Analytics are useful for marketing — for example, if you print the same code on different materials, you can create separate dynamic codes for each material and see which one gets more scans. But they require a paid account (usually $5 to $20 per month) and add complexity. For internal use or one-time distribution, tracking is rarely worth the cost.

Common mistakes and how to avoid them

The most common mistake is not testing the code before using it. Always scan the code with your own phone before printing or sharing. A typo in the URL will create a code that scans but leads nowhere.

The second mistake is making the code too small. If people have to hold their phone inches away from the code to scan it, they will not bother. One inch by one inch is the minimum; larger is always better.

The third mistake is printing a code with poor contrast. A light gray code on a white background will not scan. Make sure the code is dark and the background is light, or vice versa. Test on the actual material before printing thousands of copies.

Finally, do not assume a code will work forever if you are using a dynamic redirect service. If the service shuts down or you stop paying, the code stops working. For permanent codes, use static codes and make sure the URL itself is stable.

Frequently Asked Questions

Can I change where a QR code points after I create it?

Not with a static code — the URL is permanently encoded in the image. With a dynamic code from a service like Bitly or Unitag, you can change the destination by logging into your account. Dynamic codes cost money and require maintaining an account, so use them only if you know you will need to change the link later.

How long does a QR code last?

A static code lasts forever. The image itself does not expire, and the code will scan as long as the URL it points to still exists. If you point the code to a page that no longer exists, the code still scans but leads to a 404 error. Dynamic codes last only as long as the redirect service is running and you keep paying.

What if someone scans a QR code and it leads to a phishing site?

QR codes themselves are not dangerous — they are just images. The danger is in the URL they encode. Before scanning a code you did not create yourself, look at the URL if your phone shows it. If it looks suspicious or does not match where you expect it to go, do not open it. When you create codes, use only legitimate URLs you control.

Can I create a QR code offline without an internet connection?

No, you need internet to access a QR code generator. However, once you download the image, you can use it offline. Some programming libraries (like Python's qrcode module) let you generate codes locally on your computer without an internet connection, but that requires coding knowledge.

Do I need to pay for a QR code generator?

No. Free generators like QR Code Generator, QR Server, and GoQR create codes that work perfectly and last forever. Pay only if you need dynamic codes (to change the destination later) or analytics (to track scans). For most uses, free is enough.