QR Code Generator

Make a QR code for a link, a Wi-Fi network, a contact card and more. It updates as you type, is drawn entirely in your browser, and points straight at your content with no tracking redirect.

What should the code do?

Style & error correction

Error correction

Higher levels add spare modules so a scanner can recover a damaged or covered centre.

What is inside the code

How it works

Pick what the code should do: open a link or text, join a Wi-Fi network, save a contact card, start an email, call or text a number, or drop a map pin. Fill in the fields and the code redraws as you type. What is inside the code shows the exact text a phone will read, such as WIFI:T:WPA;S:Cafe;P:…;;.

Everything happens on this page. The QR encoder runs in your browser, so a Wi-Fi password or phone number is never sent to a server. Many free QR sites upload what you type, or quietly encode their own short link so they can count scans and switch the code off later. These codes contain your content directly, so they never expire.

Error correction is spare data woven through the modules. Level L recovers about 7% damage, M about 15%, Q about 25% and H about 30%. That spare capacity is why a logo can sit in the middle and a phone still reads it. Tick Show a pretend logo to see the idea; for a real logo use H, keep it small and leave the three corner squares clear.

Under Style you can change colours (the contrast check warns before you make an unscannable code), the quiet zone border (4 modules is the standard), and the PNG size up to 2048 px. SVG stays sharp at any print size; Copy SVG code gives markup you can paste straight into HTML.

Need QR codes from a script or as a live <img src>? Anvil's free QR SVG API returns image/svg+xml with no key. See also how Wi-Fi QR codes work, contact card QR codes and why a QR code will not scan.

Questions

Do these QR codes expire?

No. The content is in the code itself; there is no redirect that can be switched off or start showing ads.

Is my Wi-Fi password uploaded?

No. The code is drawn by JavaScript on this page. Nothing you type is sent to a server, and you can check by generating a code with your network switched off.

How do I make a Wi-Fi QR code?

Choose Wi-Fi, type the network name and password, pick the security type (WPA for almost every modern router) and download the PNG or SVG. iPhone and Android cameras offer to join the network when they scan it.

How much fits in one QR code?

Up to about 2,900 bytes at level L, less at higher levels. Short content gives a simpler code that scans more reliably from further away.

Why can a QR code still work with a logo in the middle?

Because of error correction. Levels Q and especially H leave enough redundant modules that a scanner can rebuild the data under a centred logo. Always test a real scan after adding artwork.

Can I use colours?

Yes, as long as the dark modules stay clearly darker than the background. Light-on-dark (inverted) codes fail on many phone cameras, so the tool warns about them.

Is there an API?

Yes. Anvil's keyless /v1/qr.svg endpoint at api.oddlathe.com returns a QR as SVG (or /v1/qr for JSON).

Related tools

Guides