Skip to content

A symbol for text, and a reader for a still image

Create or read a QR code

A QR code stores the characters you type, plus error-correction bits so a smudge can still scan. This page draws that symbol, and it can read one back from a picture you choose.

Generation uses byte mode and the error-correction level you pick. L sacrifices recovery for capacity. H does the opposite, so a logo covering part of the symbol has a better chance. The quiet zone is the pale margin. Do not crop it. Reading draws the image to a canvas, at most 1024 pixels on the long side, and looks for one code. A blurry photo, a code that is mostly out of frame, or an artistic code with a very low correction level may not resolve.

The text and the picture stay on this device. The PNG is created here. Glazlo does not receive the image.

This tool runs in your browser. Turn on JavaScript to use it.

What a link looks like inside the symbol

The scanner should return the URL as text. It does not visit the page by itself. Your camera app might.

Payload
https://glazlo.com/developers/qr-code
Mode
Byte
A useful level
M, unless the print will be damaged

How to use it

  1. 1Type the URL or the short text. Very long text makes a dense symbol that is harder to scan.
  2. 2Pick an error-correction level and download the PNG if you need a file.
  3. 3To read a code, choose an image. The decoded text appears beside it.

Good to know

  • Capacity depends on the level and on whether the text is short ASCII or longer Unicode.
  • The reader expects a still image. It does not open the camera.
  • A result that looks like a URL is still just text until you choose to open it.

Questions

Why did the reader find nothing?

The code may be out of focus, cropped through the quiet zone, or covered. Try a flatter, closer crop.

Does a higher correction level always help?

It helps damaged prints. It also fits fewer characters, so a long URL can fail to encode at H.

Is the image uploaded to be read?

No. The pixels are decoded in this tab.

Related tools

  • URL encode and decode

    Reserved characters in a URL have jobs. A space, an ampersand, or an equals sign inside a value must be escaped or the query will split in the wrong place.

  • Generate UUID version 4

    A version 4 UUID is a random id in a fixed shape. Databases use it when they do not want a guessable counter. It is not a secret and not a checksum.

  • Base64 encode and decode

    Base64 writes bytes as letters, digits, plus, and slash. It is how a token or a file preview survives a text field. It does not hide the contents from anyone who can read the alphabet.