Generate a High-Resolution QR Code From Text or a Link
Type any text or URL, choose the size and colours, and download a print-ready PNG.
About the QR Code Generator
This generator takes text, not a file — there is nothing to add from your device. Type or paste whatever the code should carry, whether that is a web address, a phone number, a plain message or a WiFi credential string, and a PNG is produced at 256, 512 or 1024 pixels square. The 1024 option is the one to pick for anything being printed, because a code enlarged from a small export will develop soft edges that scanners dislike.
Two colour pickers set the foreground and background, and there is a genuine constraint attached to them. Scanners do not read colour; they convert the image to light and dark and look for contrast. The tool checks your combination as it generates and warns you when the contrast is too low or when the foreground is lighter than the background, because an inverted code defeats most phone cameras. Since the payload never leaves the page, a code encoding something private is not disclosed to anyone in the process of creating it.
Key Features
- Takes text, not a file: There is no upload step at all — the content is whatever you type into the box.
- Three export sizes: 256, 512 or 1024 pixels square, with the largest intended for print.
- Custom colours: Separate pickers for the foreground and the background let the code match a brand palette.
- Contrast is checked: A warning appears when the colours are too close together or inverted, before you rely on a code that will not scan.
- High error correction: Codes are built at the strongest correction level, so they still read when partly smudged or obscured.
How to Use the QR Code Generator
- Type or paste the text, link or credential you want the code to carry.
- Choose an export size — pick 1024 pixels if the code is going to be printed.
- Set the foreground and background colours, keeping the foreground clearly the darker of the two.
- Generate, read any contrast warning, then download the PNG.
How It Works
Codes are produced by the qrcodejs library served from /assets/vendor/js/qrcode.min.js, at the highest of the four error-correction levels, which reserves roughly a third of the code's capacity for recovery data. The rendered result is copied onto a canvas at your chosen dimension and exported as a PNG. The contrast warning is computed from the relative luminance of the two colours you picked, using the standard contrast-ratio formula, and flags anything below a four to one ratio. Practical limits: the more characters you encode the denser the grid becomes, so a very long URL at 256 pixels can be hard for a camera to resolve.
When You Need It
A café owner printing a card for the guest WiFi encodes the network name and password into a single code so visitors connect without asking staff. That string is a live credential, and pasting it into an online generator hands the password to whoever runs the site and to any logging behind it. The same reasoning applies to codes pointing at an unlisted document link, a private event page, or a personal phone number on a conference badge.