QR Code Generator

Turn a URL or any text into a QR code and download it as a PNG image. Codes are generated in your browser, contain your data directly and never expire.

Download PNG

How this QR code generator works

A QR code is a two-dimensional barcode standardised as ISO/IEC 18004. This page encodes your text with the open-source qrcode JavaScript library (version 1.5.1) running in your browser and draws the result on a canvas. The codes are static: the text itself is stored in the pattern, with no redirect service in between, so a code keeps working for as long as its destination does and nobody can track who scans it.

How to create a QR code

  1. Type or paste a URL or any text into Text / URL. Leading and trailing spaces are removed.
  2. Choose a Size: 180px, 240px, 320px or 512px. This is the width and height of the PNG, including the white border.
  3. Click Generate. Changing the text or size has no effect until you click it again.
  4. Click Download PNG to save qrcode.png, then scan it with a phone before you print or publish it.

What the generator chooses for you

Error correction and capacity

QR codes use Reed–Solomon error correction, so a partly damaged or dirty code can still be read. Higher levels recover more damage but leave less room for data:

LevelRecovers roughlyUsed here
L7% of codewordsNo
M15% of codewordsYes
Q25% of codewordsNo
H30% of codewordsNo

At level M, the largest code holds 5,596 digits, 3,391 upper-case alphanumeric characters, or 2,331 bytes of other text. We confirmed these limits with the same library version: one character more produces the error below. Long URLs are worth shortening anyway, because a denser grid is harder to scan from a distance.

What can a QR code contain?

Any text. Phone camera apps recognise some formats and offer an action, though support varies between phones and scanner apps:

ContentText to encode
Websitehttps://example.com/menu
Emailmailto:[email protected]?subject=Order
Phone calltel:+441234567890
Wi-Fi loginWIFI:T:WPA;S:MyNetwork;P:secret;;
Locationgeo:51.5007,-0.1246

In a Wi-Fi string, T is the security type (WPA, WEP or nopass), S the network name and P the password. A backslash must precede any ;, ,, :, \ or " inside the name or password.

Printing and scanning tips

Common problems and fixes

Message or symptomCauseFix
“Could not generate QR code: The amount of data is too big to be stored in a QR Code”The text exceeds the level M capacity above.Shorten it, link to a page that holds the content, or use a URL shortener you trust.
“Enter some text or a URL.”The field is empty or only spaces.Type something, then click Generate.
Phone joins the wrong network, or not at allSpecial characters in the Wi-Fi name or password were not escaped, or the security type is wrong.Escape them with \ and check T:.
Downloaded code shows old textThe text was edited without clicking Generate.Click Generate, then download again.
Printed code will not scanToo small, blurred by scaling, low contrast, or the margin was cropped.Print larger from the 512px file with high contrast and an intact border.

Frequently asked questions

Is the text I enter sent anywhere?

No. The code is generated by JavaScript in your browser, so Wi-Fi passwords and other private text stay on your device.

Do these QR codes expire?

No. The data is stored in the code itself and no third-party redirect is involved. A URL code stops being useful only if the page it points to disappears.

Can I change the code after printing it?

No, a static code cannot be edited. If the destination might change, encode a URL on your own domain that you can redirect later.

Can I add a logo or change the colours?

Not with this tool, which draws black modules on white. Logos work by covering modules and relying on error correction to fill the gap, which needs a high level such as H; with level M there is little room to spare.

Can I use the codes commercially?

Yes. The images are yours to use on packaging, menus, flyers or websites. “QR Code” is a registered trademark of DENSO WAVE, which does not charge for using the technology.

Can I get an SVG or a larger PNG?

The page exports PNG only, up to 512 pixels. For large-format print, scale the 512px image by a whole-number factor with smoothing turned off, which keeps the module edges sharp.

Related tools