Pixel and Prose

QR Code Generator: links, Wi-Fi, email and phone

Updated
Cover image for "QR Code Generator: links, Wi-Fi, email and phone" – Pixel and Prose

Make a QR code for a link, text, Wi-Fi network, email or phone number, pick the colors, and download it as a sharp PNG or a scalable SVG for print. No sign-up and no expiry.

QR code for
Include https:// so phones open it as a link.
Dark colors scan best

The QR code is drawn in your browser, so what you type is never sent anywhere. The code works for as long as the link or details inside it stay valid; the code contains no tracking link and nothing expires. QR Code is a registered trademark of DENSO WAVE INCORPORATED. QR encoding uses the open-source qrcode-generator library by Kazuhiko Arase (MIT License).

QR Code Generator with https://example.com typed in and the matching QR code next to it

How to make a QR code that scans reliably

  • Short content scans faster. A short link makes a simpler code with bigger squares, which scans faster from farther away.
  • A dark code on a light background scans best. Phone cameras read black on white most reliably; a light code on a dark background fails on many scanners. With brand colors, codes with weak contrast between the two colors often fail to scan.
  • The white border matters. The quiet zone around the code, four squares wide, helps phones find it. The downloads already include it, and cropping it off makes scanning fail more often.
  • Size decides scanning distance. A common rule of thumb is at least 2 cm (about 0.8 in) wide, and about one tenth of the distance it will be scanned from.
  • Mistakes show only when someone scans. A mistake in the link or Wi-Fi details only shows when the code is scanned; scanning the downloaded file with two different phones shows it before anything is printed.
White desk with notebooks and a pencil cup, with text on what makes QR codes scan: contrast, white border, size

Which error correction level should I choose?

Error correction lets a code still scan when part of it is dirty, damaged or covered. Higher levels make the code denser. Medium recovers about 15% of a damaged code and keeps the pattern fairly simple. Quartile and High still scan with 25 to 30% of the code damaged, which matters outdoors, on packaging or where the code can be scratched; the cost is a denser pattern that needs to be printed larger.

QR settings for error correction Medium 15 percent, PNG size, code color and background color
LevelCan recover aboutMax. text length
Low (L)7% of the code2,953 bytes
Medium (M)15%2,331 bytes
Quartile (Q)25%1,663 bytes
High (H)30%1,273 bytes

Plain English letters take one byte each. Accented letters and Greek, Cyrillic, Arabic or Hebrew take two bytes; Chinese, Japanese and Korean characters take three; most emoji take four.

Need a strong Wi-Fi password to put in the code? The password generator makes one in your browser.

Frequently asked questions

Do these QR codes expire?

No. These are static QR codes: the link or text is stored inside the pattern itself, not on a server. The code keeps working as long as the content stays valid, for example as long as your website address does not change.

How does the Wi-Fi QR code work?

It stores the network name, security type and password in the standard format that the camera apps on iPhone and Android recognize. Point the camera at the code and the phone offers to join the network, without typing the password.

Wi-Fi QR code made from the example network CafeGuest and its password

PNG or SVG?

PNG works everywhere, including documents, slides and social media. SVG is a vector file that stays sharp at any size, so it can be enlarged for professional printing, signs and large posters without blur; some office apps and social sites do not accept SVG.