QR Code Generator

Type a link or some text, then say where the code will live. The code is made in your browser, keeps its white border, and downloads as SVG or PNG.

How it works

A QR code stores text as a square grid of dark and light modules. The more text, the bigger the grid: version 1 is 21 modules a side, and version 40 is 177.

Every QR code also carries error correction, in four levels. L can rebuild 7% of a damaged code, M 15%, Q 25% and H 30%. More correction means more modules for the same text.

You do not pick the level. You say where the code will be used, and the page picks it: L for a small print, where bigger modules matter most, up to H for a code that has to survive real damage. If the chosen size has spare room, the level is raised for free.

The code is a static one. The text sits inside the code itself, so it works for as long as the link does, with no account, no redirect service and no expiry date.

How to use it

  1. 1 Type or paste a link or some text into the box.
  2. 2 Choose where the code will be used: printed small, on a screen or paper, somewhere it may get scratched, or somewhere it must survive damage.
  3. 3 Check the code with your phone camera straight from the screen.
  4. 4 Download it as SVG for print and design work, or as PNG for documents and websites.

Good to know

  • Shorter text makes a simpler code. A short link scans faster and from further away than a long one with tracking tags.
  • Keep the white border. Scanners use the quiet zone to find the code, and cropping it off is a common reason a printed code fails.
  • Print dark on light. Most phone cameras cope with an inverted code, but some older scanners do not.
  • As a rough rule, a code can be scanned from about ten times its own width. A 3 cm code reads from about 30 cm.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Making a QR code for a café menu, from the link to the table sticker

Picture a small café that wants a QR code on each table so customers can read the menu on their phones. The menu lives at https://example.com/cafe/menu. That address is 29 characters long. Typed into this page with "Screen or paper" chosen, it becomes a version 3 code: 29 modules a side, plus a white border 4 modules wide on every side. The page reports level Q, raised from the M that was asked for, because version 3 had room for the extra correction anyway.

The stickers will sit on tables where coffee gets spilled and plates slide over them. That is the case for "May get scratched". For this link the answer is the same version 3 code at level Q, so nothing changes in size. Choosing "Must survive damage" moves it to level H and version 4, 33 modules a side. The modules get smaller at the same sticker size, but a scanner can now rebuild 30% of the code. For a sticker that is wiped down every day, that trade is worth making.

Now size. The café wants stickers 3 cm wide. With 41 modules across (33 plus the border), each module is about 0.7 mm, which a phone camera reads easily from a seated position. The usual rule of thumb is that a code reads from about ten times its own width, so 3 cm works at around 30 cm, about the distance from a face to a table. For a poster read from 3 metres, the same code would need to be about 30 cm wide.

For printing, the café downloads the SVG. It is a vector file, one square per module, so the print shop can scale it to any size without blur. For the website and the social post, the PNG is easier: it is about 1,000 pixels wide, and every module edge falls on a whole pixel, so it stays crisp. Before ordering a hundred stickers, someone prints one on the office printer and scans it with two different phones.

This page has limits worth knowing. It makes static codes only: once printed, the code points to that exact link forever, so if the menu might move, use a link you control and can redirect. It does not add logos or colours, because both cut into the error correction and the contrast that scanners need. It does not count scans. And it cannot make a code more readable than its print: a code printed too small, too blurry or on a shiny surface can fail at any level.

Frequently asked questions

Does this QR code expire?

No. The link or text is stored in the code itself, so there is nothing to expire. Codes from some sites stop working because they point to that site's redirect, which is switched off when a subscription ends. This page makes no redirect.

Which should I download, SVG or PNG?

SVG is a vector file, so it stays sharp at any size and is the better choice for print, signs and design tools. PNG is a picture about 1,000 pixels wide, which suits documents, slides and websites.

Can I track how many people scan it?

Not with the code alone. A static code goes straight to your link, so nobody counts the scans. To count them, put tracking on the page the link opens, for example with a tagged link your analytics already reads.

What does "Raised from M" mean?

QR codes come in fixed sizes. When your text fills only part of a size, the leftover space can hold more error correction at no cost, so the code gets the higher level and the same number of modules.

Is the text sent anywhere?

No. The code is made by JavaScript in this tab. What you type is not uploaded, logged or stored.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.