QR Code Generator
Turn any text or URL into a scannable QR code. Set the size, error correction level, and colors, see it live, and download a PNG. Everything runs in your browser.
About the QR Code Generator
The QR Code Generator turns any text or link into a scannable QR code right in your browser. Set the size, pick an error correction level, and choose foreground and background colors, then download the result as a PNG. It works for website links, plain text, contact details, or any short string you want to share. The QR code is built and drawn entirely on your device, so nothing you type is uploaded or stored.
How it works
- Type or paste your text or URL into the input field.
- Adjust the size, pick an error correction level, and set the foreground and background colors.
- Watch the QR code redraw live on the canvas as you change settings.
- Click Download PNG to save the image to your device.
Features
- Live canvas preview that updates as you type and adjust settings.
- Size control from small to large for print or screen use.
- Four error correction levels (L, M, Q, H) to balance density against scan reliability.
- Custom foreground and background colors with a color picker and hex input.
- One-click PNG download, all generated in your browser.
Frequently asked questions
Is my data sent to a server?
No. The QR code is encoded and drawn entirely in your browser with built-in code. Nothing you enter is uploaded, logged, or stored anywhere.
What does the error correction level do?
It sets how much of the code can be damaged or covered while still scanning. L recovers about 7%, M about 15%, Q about 25%, and H about 30%. Higher levels add more data, which makes the pattern denser, so pick the lowest level that still scans reliably for your use.
Why does my QR code fail to scan?
The most common causes are low contrast between the colors and a light foreground on a dark background. Keep a dark foreground on a light background, hold enough contrast, and raise the error correction level if the content is long.
Can I change the colors?
Yes. You can set both the foreground (the pattern) and background colors. For best results keep the foreground darker than the background so scanners can read it clearly.
What size should I use?
For screens, 256 to 512 pixels is usually enough. For print, use a larger size so the code stays sharp. The downloaded PNG matches the size you choose.