Image & Media

QR Code Generator

Turn text or a URL into a QR code, with adjustable size, colors, and error correction. Runs entirely in your browser; nothing you type is ever sent anywhere.

Text or URL
Error Correction
Size
Enter text or a URL to generate a QR code.

Quick Learn

A QR code is a two-dimensional barcode that encodes text — a URL, a Wi-Fi password, a vCard, plain text — as a grid of black and white squares, along with error correction data that lets a scanner recover the content even if part of the code is dirty, scratched, or partially obscured. That resilience is tunable: a higher error correction level can recover from more damage, at the cost of a denser, more complex-looking code for the same data.

This tool builds the QR code entirely in your browser and renders it as a PNG you can copy or download — nothing you type is sent anywhere. It supports the same four error correction levels the QR standard defines (L, M, Q, H) and lets you customize size and colors, though the default black-on-white is the safest choice for real-world scanning.

Best Practices

  • •Keep foreground darker than background — inverting the contrast (light modules on a dark background) causes many phone cameras and scanners to fail, even though it displays fine on screen.
  • •Higher error correction (Q or H) is worth the denser code if the QR will be printed small, placed somewhere that gets scuffed, or has a logo overlaid on it — L is fine for a code that will only ever be displayed cleanly on a screen.
  • •Test a generated code with an actual phone camera before printing it anywhere at scale — screen rendering and real-world scanning conditions (lighting, angle, print quality) aren't the same thing.
  • •Shorter input produces a simpler, more reliably-scannable code — a full URL like https://example.com/page scans more easily than a long one packed with tracking parameters.

More Image & Media Tools

See all Image & Media tools

Frequently Asked Questions

Is my text or URL uploaded anywhere?

No. The QR code is generated entirely in your browser — nothing you type is sent to a server or stored anywhere.

What do the error correction levels (L, M, Q, H) mean?

They control what percentage of the code's data can be damaged or obscured and still be read correctly: L recovers about 7%, M about 15%, Q about 25%, and H about 30%. Higher levels make the code visually denser for the same input.

Why did I get an error saying the data is too big?

QR codes have a maximum capacity that depends on the error correction level — roughly 2,000-3,000 bytes at the lowest level, less at higher levels. Very long text, especially combined with a high error correction level, can exceed that limit.

Can I put a QR code in a color other than black on white?

Yes, using the foreground/background color pickers — but keep the foreground meaningfully darker than the background. Low-contrast or inverted color codes often fail to scan even though they look fine displayed on a screen.

Can I use this for Wi-Fi passwords or contact cards, not just URLs?

Yes — a QR code just encodes whatever text you give it. Wi-Fi and contact-card QR codes use a specific text format (like WIFI:T:WPA;S:MyNetwork;P:MyPassword;; for Wi-Fi) that most phone camera apps recognize automatically; paste that format into the text field here.

Want the engineering deep-dives behind tools like this one?