Free images tool

Make a QR code for a link or text and download it as an 800 pixel PNG

For menus, posters, business cards, slides and packaging mock-ups that need a code people can scan with a phone camera. The code is built in your browser with the open-source qrcode library; the text you enter is not sent to any server.

800 pixel PNG, sharp enough to printLevel H error correction, about 30 percentStatic code: no tracking, no expiry
QR Code Generator

Type a link or some text and generate. The preview appears below with a card that downloads the 800 pixel PNG.

Runs on your device

What the QR Code Generator does

A QR code is just text arranged as a grid of dark and light modules. Point a phone camera at it and the phone reads the text back; if the text starts with https:// the phone offers to open it as a link. This generator takes whatever you type into the Text or URL field, encodes it with the qrcode JavaScript library and shows the result as a PNG you can download as qr-code.png.

The settings are fixed and chosen for print. The image is 800 pixels wide with a three-module white border, the dark modules are a near-black #17132a on white, and the error correction level is H, the highest of the four levels, which lets a reader recover the content when up to about 30 percent of the code is damaged or covered. The preview on the page is shown at 280 pixels; the file you download is the full 800.

It suits anyone who wants a dependable static code without an account: a restaurant linking to a menu, a shop linking to a review page, a teacher sharing a form, an event poster with a ticket link, or a plain-text code for a Wi-Fi name or a serial number. It does not create dynamic codes that can be redirected later, and it does not count scans.

How to use it

Enter the text or link

Type or paste into the Text or URL field. For a web address include the https:// prefix so phone cameras treat it as a link. The Generate button stays disabled until the field has content.

Generate the code

Press Generate. The qrcode library picks the smallest symbol version that fits your text at level H, from 21 by 21 modules upward, and renders it to an 800 pixel PNG data URL in your browser.

Test it, then download

Scan the preview with a phone before you print anything. Press Download on the result card to save qr-code.png, and place it with white space around it on whatever you are designing.

What the code contains and how much fits

The code stores your text exactly as typed, character for character, with nothing added. Edit a letter and the pattern changes. There is no shortening, no redirect and no copy kept anywhere, which also means a typo in a URL is permanent once printed; the FAQ covers how to leave yourself an escape hatch.

The qrcode library's automatic mode splits the input into segments and uses the most compact encoding for each: digits take 10 bits per three characters, upper-case letters and a few symbols 11 bits per two, and everything else goes into byte mode as UTF-8, where accented letters and emoji take two to four bytes each. Lower-case URLs therefore use byte mode and fill the code faster than an all-caps or numeric string would.

Capacity depends on the error correction level. At level H the largest symbol, version 40 at 177 by 177 modules, holds 1,273 bytes, 1,852 alphanumeric characters or 3,057 digits according to the library's capacity table. Long inputs produce very dense codes that are hard to scan from a print; if your text exceeds the limit the tool reports that the QR code could not be created. Keep URLs short, and use a short link of your own if the real address is long.

Why error correction level H, and what it costs

QR codes carry Reed-Solomon error correction codewords alongside the data. DENSO WAVE, the format's inventor, describes four levels: L recovers about 7 percent of codewords, M about 15, Q about 25 and H about 30. The qrcode library documents the same figures. Level M is the usual default, and this generator uses H instead.

The gain is resilience. A code at level H keeps scanning when a corner is torn, a sticker is scuffed or a glare spot covers part of it, and it tolerates small printing errors. The cost is density: the same text at level H needs more modules than at level M, so the modules are smaller at a given print size and the code should be printed a little larger. For a short URL the difference is one or two symbol versions and rarely matters.

The level cannot be changed in this tool. If you need the sparsest possible code for a very long text, a generator that exposes level L or M will produce a less dense pattern.

Printing and placing the code so it scans

The PNG includes a white border of three modules. DENSO WAVE's guidance calls for a quiet zone of four modules on every side, so leave extra white space around the image when you place it on a colored or busy background rather than cropping up to the edge.

Keep the dark-on-light contrast. Do not invert the colors, print on glossy dark material, or stretch the image to a non-square shape. Scale the PNG by whole multiples where you can; at 300 dots per inch the 800 pixel image prints about 6.8 centimeters wide without any resampling.

  • Scan from the distance people will use: a code read from across a room must be printed larger than one on a table card.
  • Test with more than one phone, including an older one, before a print run.
  • Put a short caption next to it, such as "Scan for the menu", so people know why they should scan.

Limits to know before you rely on it

  • The code is static: it stores the exact text entered and cannot be redirected, edited or tracked after printing.
  • Size, colors, margin and error correction level are fixed; there is no logo, color or style option.
  • Capacity at level H is 1,273 bytes, 1,852 alphanumeric characters or 3,057 digits; longer input fails with a message.
  • The built-in white border is three modules, below the four-module quiet zone the specification calls for, so add space around it.
  • The on-page preview is 280 pixels; download the file to get the 800 pixel version.
  • Only one code is generated at a time; there is no bulk or CSV mode.

Questions people ask about the QR Code Generator

Does the QR code expire or stop working?

No. The image contains the text itself, not a reference to this site, so it works for as long as the content it points to exists. The only thing that can break it is the destination going away.

Can I change where the code points after I have printed it?

Not directly, because the URL is encoded in the pattern. The workaround is to encode a short address on a domain you control and change where that address redirects. Set that up before you generate the code.

How much text can I put in it?

At level H, up to 1,273 bytes of general text, 1,852 alphanumeric characters or 3,057 digits in the largest version. In practice anything beyond a couple of hundred characters produces a dense code that phones struggle with from a print, so keep URLs short.

Why will my phone not scan the printed code?

The usual causes are too little white space around it, printing too small for the module count, low contrast or a reflective surface, and stretching the image. Reprint larger with a clear margin and test again. Since the code uses level H, minor damage or dirt is rarely the cause.

Can I add a logo or change the colors?

Not in this tool. The dark modules are fixed at #17132a on a white background. You can place a small logo over the center in an image editor; level H tolerates roughly 30 percent loss, so a logo covering well under a quarter of the code usually still scans, but test it every time.

Is the text I enter sent to a server?

No. When you press Generate the browser loads the qrcode library code from the site, then encodes your text locally and produces a PNG data URL in memory. The text itself is never transmitted or stored.

Sources and further reading