DevToolCase
Sign in Sign in

Generate a QR code

Make a QR code for a link, a text, a Wi-Fi network, an e-mail or a phone number, with your colors, and download it as SVG or PNG.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

The QR code appears here as you type.

Runs entirely in your browser: nothing you type is sent or stored.

How a QR code works

A QR code is a grid of dark and light squares, the modules. The three large squares in the corners tell the camera where the code is and which way up it stands; the rest holds the data and the error correction codes.

Its size is its version: version 1 has 21 × 21 modules, each next version 4 more per side, up to version 40 and its 177 × 177 modules. The smallest version that holds the content is chosen. Digits alone, or upper-case letters with a few signs, are stored more compactly than other text, which is stored as UTF-8 bytes: accents and emoji are fine, but take more room.

Error correction levels

Part of the code repeats the data in another form, so that it still reads when it is scratched, dirty or partly hidden. The more is repeated, the larger the code for the same content.

LevelCan be damagedGood for
L7%screens and clean prints, the smallest code
M15%most uses: the usual default
Q25%labels in warehouses, workshops, outdoors
H30%a logo laid over the middle of the code, harsh conditions

Wi-Fi QR codes

Scanned with the camera of an Android phone or an iPhone, a Wi-Fi QR code offers to join the network, without typing the password. It holds a text such as WIFI:T:WPA;S:Café Guest;P:coffee\;time;;, made of the security (WPA, WEP or nopass), the network name, the password, and H:true for a hidden network.

  • The characters \, ;, ,, : and " of the name or password are escaped with a backslash, as the format requires: this is done for you.
  • A name or a password that looks like hexadecimal (BADA55) is put in double quotes, otherwise some phones would read it as bytes.
  • WPA covers WPA2 and WPA3 personal. Enterprise networks, with a user name, cannot be joined this way.

Before printing

  • Keep the quiet zone, the blank margin around the code: the standard asks for 4 modules. A code printed right next to text or an image may not scan.
  • Dark modules on a light background, with a strong contrast. Inverted codes (light on dark) and pale colors fail on many phones.
  • Size: about 2 × 2 cm at the very least, and a tenth of the scanning distance (a poster read from 3 meters needs a code of 30 cm).
  • Download it as SVG for print: it stays sharp at any size. The PNG suits documents and web pages.
  • Test it with two or three phones, and open the link it holds, before printing a thousand copies.

Your content stays yours

The code is drawn in your browser: nothing you type is sent to a server, not even your Wi-Fi password. And the code holds your content itself, not a link to someone else's site.

Many QR code sites make “dynamic” codes instead: a short link to their server, which redirects to your address. Those codes count every scan, and stop working when the subscription ends or the site closes. A static code like this one works for as long as its content does. For a link with special characters, the URL encoder helps; for product labels, see the bar code generator.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.