Links and QR codes · Free tool

Free QR code generator with colours and no expiry

This QR code generator turns any link or short text into a static code you can colour, download as a PNG and print. The link lives inside the code itself, so it keeps working with no account, no subscription and no expiry date.

What this QR code generator makes

Type or paste a link into the box above and the QR code generator draws the code as you type. Pick a colour for the dark squares, a background colour and an error correction level, then press Download PNG. You get a 1024 by 1024 pixel image with a margin of four modules on every side in your background colour. That margin is the quiet zone scanners look for, so it is part of the code, not decoration.

Everything happens in your browser. The page fetches a small open-source QR library the first time you use it, and the text you type is never sent to OnlySocial or anyone else. There is no sign-up, no watermark and no scan limit, because nothing sits between the code and the link. That is what most people want from a free QR code generator, and it is rarer than it should be.

A QR code is a grid of dark and light squares, called modules, that stores characters. The three large squares in the corners tell a camera where the code is and which way up it sits. The rest of the grid holds your data plus recovery data, so a phone can still read the code when part of it is scuffed, folded or covered. Longer text needs more modules, so a short link gives a smaller, simpler pattern that scans faster and from further away.

Static QR code vs dynamic QR code

This QR code generator makes a static QR code. The link you type is written into the pattern. When someone scans it, their phone reads the link straight out of the squares and opens it. No server is involved, so the code cannot be switched off, cannot run out of scans and does not depend on any company staying in business. As long as the page it points to exists, the code works.

The trade-off is that a static QR code cannot change. If you print a run of flyers with a link to a page that later moves, every flyer points at the old address. It also tells you nothing about who scanned it, when or where, because the scan never touches a system that could count it.

A dynamic code works differently. It stores a short redirect link, and the redirect sends people on to the real page. Because the redirect lives on a server, the owner can change where it goes after printing and count every scan. Some QR sites hand out dynamic codes on a free trial and stop the redirect when the trial ends, which is one reason people meet old menus and posters that open an error page. If you want a code nobody can take away, static is the safe choice.

Static code (this tool)Dynamic code
Where the link is storedIn the pattern itselfOn a redirect server
ExpiryNeverDepends on the provider
Change the link after printingNoYes
Scan countsNoYes
Account neededNoUsually

How to make a QR code with color that still scans

Phone cameras read a code by telling dark modules from light ones, so colour is fine as long as the contrast stays strong. Dark navy, forest green, deep burgundy or charcoal on white or cream scans as well as black. Pale yellow, light grey or pastel pink on white usually fails, because the camera cannot separate the squares from the background in ordinary light.

Keep the code darker than the background. Scanners are built around dark squares on a light field, and while some phone cameras read inverted codes, others do not, so a light-on-dark design is a gamble for anything printed in volume. If your brand colour is pale, use it elsewhere on the flyer or as a frame outside the quiet zone, and keep the code itself dark on light.

The two colour pickers in the QR code generator accept any hex value, so you can match a brand colour exactly. After every change, scan the preview from your screen with two different phones before you download. A QR code with color looks better on packaging and menus, but a code that fails to scan is worse than a plain black one.

  • Dark code on a light background, never the reverse for print
  • Aim for a big difference in brightness, not only in hue
  • Avoid pairs of similar brightness, such as mid red on mid green, which look distinct to you and alike to a camera
  • Test the downloaded PNG on paper, not only the preview on screen

Error correction levels: L, M, Q and H

Every QR code carries extra data that lets a scanner rebuild the parts it cannot read. The QR standard defines four levels, and the menu above lets you pick any of them. A higher error correction level survives more damage but needs more modules, so the same link produces a denser code.

  • L (low) recovers roughly 7% of the code. The smallest pattern, fine for screens and clean, flat print
  • M (medium) recovers about 15%. The tool's default and a sensible choice for cards, flyers and posters
  • Q (quartile) recovers about 25%. Useful on packaging that gets handled, rubbed or bent
  • H (high) recovers about 30%. Best for outdoor signs, stickers that wear and codes that might be partly covered

Logos and error correction

Recovery data is what lets designers place a logo over the middle of a code: the logo hides some modules and the scanner fills the gap. This tool does not add logos. If you add one yourself in a design app, choose H, keep the logo small and centred, and test on several phones. If your link is long and the code looks crowded at H, shorten the link first. A short link at H often scans more reliably than a long one at L.

QR code generator examples for real jobs

These are typical QR code generator settings for common jobs. The addresses are placeholders; put your real page in the box. Every one is a static code, so confirm the address is the one you will keep before anything goes to print.

JobWhat to typeColour and levelWhy
Restaurant table cardhttps://bistro-example.com/menuDark green on cream, MShort link, clean surface, scanned close up
Shop window posterhttps://shop-example.com/saleBlack on white, HSunlight, glass reflections and distance
Product boxhttps://brand-example.com/careBrand navy on white, QBoxes get rubbed and creased in transit
Slide in a talkhttps://example.com/slidesBlack on white, LLarge on screen, no risk of damage
Business cardhttps://example.com/helloCharcoal on white, MPrinted small, so keep the link short
Guest Wi-Fi signWIFI:T:WPA;S:GuestNet;P:yourpassword;;Black on white, MRecent iPhone and Android cameras usually offer to join

Size, file format and printing

The QR code generator downloads a 1024 pixel PNG. At 300 dots per inch that prints sharply up to roughly 8.5 cm wide, which covers cards, menus, labels and most flyers. For a poster or banner, scale the PNG up in your design tool with smoothing turned off (often called nearest neighbour), so the squares stay crisp instead of blurring at the edges.

A common rule of thumb is to make the code about a tenth of the distance it will be scanned from. A code read from 50 cm away should be around 5 cm wide, and a poster read from 3 metres needs something nearer 30 cm. Treat that as a starting point and test at the real distance, in the real light. Many print guides also suggest going no smaller than about 2 cm wide, and bigger for long links.

Leave the quiet zone alone. Cropping the margin, or placing text and graphics right up against the squares, is one of the most frequent reasons a printed code fails. Glossy laminate and curved surfaces such as bottles and cups can also cause glare or distortion, so check a proof before a full run.

Tips before you print a static QR code

Because the code is permanent, the link inside it matters more than the colour. The safest target is an address you own and will not move: your own domain, a stable page such as /menu, or a link in bio page whose address stays fixed while you change what it shows. The code then stays the same while the page behind it keeps up to date.

Static codes can still be measured a little. Add UTM tags to the link with the UTM builder before you make the code, and your analytics will show visits from it as their own source. You will see visits that reached the page, though not scans that never loaded it.

  • Write a call to action next to the code, such as Scan for the menu or Scan to book
  • Test on an iPhone and an Android phone, in the light where the code will live
  • Never print a code that opens a login page, an expiring file share or a trial redirect
  • Keep the PNG and a note of the link it holds, since you cannot edit the code later
  • For WhatsApp chats or Google reviews, use the dedicated link builders, which make the code for you

When a free QR code generator is not enough

A free QR code generator is the right tool for a one-off: a slide, a Wi-Fi sign, a code on a single event poster. Once codes go on things you reprint or cannot recall, such as menus, packaging, vehicles and shop signs, two questions come up. Can I change where it points? How many people scanned it, and from which placement?

OnlySocial's QR codes and short links answer both. Each code points at a branded short link on your own domain, so you can change the destination after printing, and every scan is counted with its source, device and location. Codes carry your colours and logo, live in the same account as your posts and bio page, and can open a WhatsApp chat or a booking page straight away.

You do not have to choose between a tracked code and a static QR code generator. Plenty of businesses keep static codes for things that never change, like a Wi-Fi sign, and use tracked codes where the numbers matter, like a campaign poster in three locations.

How to use the QR code generator

  1. Step 1

    Paste your link or text

    Type the full address including https:// so phones open it as a link instead of showing it as text. Shorter links make simpler codes.

  2. Step 2

    Choose a colour and background

    Pick a dark colour for the code and a light background. The preview updates as you change them.

  3. Step 3

    Pick an error correction level

    Leave it on M for most print, choose H for signs and stickers that may get damaged, or L for screens.

  4. Step 4

    Scan the preview

    Hold two different phones up to the screen and check that both open the right page.

  5. Step 5

    Download the PNG

    Press Download PNG for a 1024 pixel image, then place it in your design with its margin intact.

QR code generator FAQ

More free tools are on the free tools page.

Is this QR code generator really free?

Yes. There is no sign-up, no watermark and no limit on downloads or scans. The code is static, so it does not rely on OnlySocial to keep working.

Do the codes expire?

No. The link is stored in the code itself, so it works for as long as the page it opens exists. Nothing on our side can switch it off.

Can I change the link after I print the code?

Not with a static code; you would need to make and print a new one. If you expect the destination to change, point the code at a page you can edit, or use a tracked code from OnlySocial's QR codes and short links, which you can redirect after printing.

Can I make a QR code with color?

Yes. Choose any colour for the code and for the background. Keep the code dark and the background light with strong contrast, and test it on two phones before printing.

Which error correction level should I choose?

M suits most uses. Choose H for outdoor or heavily handled items, Q for packaging, and L only for screens or very clean print where you want the smallest code.

Can I see how many people scan my code?

A static code cannot count scans. You can add UTM tags to the link so visits show in your analytics, or use OnlySocial's tracked codes, which count each scan with its device and location.

Why won't my QR code scan?

The usual causes are weak contrast, a light code on a dark background, a cropped margin, printing too small for the distance, or a very long link that makes the pattern dense. Fix whichever applies and test again.

What can I put in a code besides a link?

Any short text. Phones show plain text on screen, and some formats are recognised specially, such as WIFI: codes for joining a network. Links are the most reliable use. Text with accents or emoji may not display correctly in every scanner, so stick to plain characters or test carefully.

Does the tool store my links?

No. The code is drawn in your browser and nothing you type is sent to OnlySocial. The page only downloads the open-source library it uses to draw the pattern.

From the makers of this tool

Need codes you can edit and track?

OnlySocial's QR codes point at branded short links you can redirect after printing, count every scan by source and device, and carry your colours and logo next to your posts and bio page.

Scroll to Top