QR Generator

Turn a link, some Wi-Fi details or any text into a QR code you can download as PNG or SVG. The code is drawn by this page — nothing is sent anywhere.

Content

A shorter URL makes a simpler, easier-to-scan code.
Higher levels survive more damage but pack in more modules.
The white margin around the code.
Your text is kept in this browser only, so it survives a reload. Clear removes it.

Preview

Your QR code will appear here.

Scanners need the quiet zone to find the code. Keep at least the standard four modules when printing.

Private by design. This page has no backend. The QR code is computed by JavaScript running on your own device and your text is never sent anywhere.

How the code is built

This tool implements the QR Code Model 2 standard itself, in JavaScript, using the same algorithm as the well-known library by Project Nayuki (MIT licence — thank you). Nothing is requested from a third-party API, which is why the code appears instantly and works offline.

Choosing a size

QR codes come in 40 sizes called versions. Version 1 is 21×21 modules and each step up adds four modules per side. This tool always picks the smallest version that fits your text, then — if there is room — quietly upgrades the error-correction level rather than leaving the spare space empty. That is why the level shown under the code is sometimes higher than the one you picked.

Encoding modes

Three encodings are available and the best one for your text is chosen automatically: numeric mode packs digits at 10 digits per 33 bits, alphanumeric mode handles uppercase letters, digits, space and a few punctuation marks at 2 characters per 11 bits, and byte mode carries everything else as UTF-8. Lowercase text always falls back to byte mode, which is one reason a lowercase URL makes a denser code than the same URL in capitals.

Error correction

Reed–Solomon codes add redundant codewords so a scanner can rebuild data from a partly damaged image. Low adds about 7% redundancy, Medium 15%, Quartile 25% and High 30%. For a printed poster where sunlight and wear are likely, pick High; for a code shown on a screen, Medium is the usual choice.

The quiet zone

The white margin around the code is part of the standard, not decoration: it is how a scanner tells where the symbol starts. Four modules on every side is the recommendation, and the PNG and SVG exports include it.

Common uses

Linking a printed flyer to a website, putting a Wi-Fi password on a noticeboard, sharing a contact card, adding a scannable code to a ticket or a product label, and sending people to an app store listing.

How to use the QR Generator

  1. Paste a URL or any text into the content box, or press Sample.
  2. Choose the error-correction level and a scale, and toggle a quiet zone if needed.
  3. Download the QR code as a PNG or SVG, or copy it to the clipboard.

Frequently asked questions

What error-correction level should I use?

Higher levels (Q or H) survive more damage or a logo overlay at the cost of a denser code; M is a good default.

Can I download the code as a vector?

Yes. The SVG download is a true vector that scales without blurring.

Is the QR code uploaded anywhere?

No. The code is generated in your browser, so the text it encodes never leaves your device.