QR Code Generator
Generate a QR code from text or a URL, with color and error-correction options, locally.
Turn text or a URL into a QR code you can style
This tool encodes whatever text or URL you type into a QR code, redrawing it live as you change the size, error-correction level, margin or colors. It covers the everyday case of linking a printed flyer or business card to a page, but since it just encodes raw text, it also works for a Wi-Fi payload, a vCard or plain notes. The encoding runs through a JavaScript library in the page itself, so the text going into the code is never sent to a server first.
How to use the QR Code Generator
- Type or paste the text or URL you want encoded into the editor.
- Pick an output size from 160px up to 800px.
- Choose an error-correction level: L, M, Q or H, trading code density for damage tolerance.
- Set the margin and pick dark and light colors for the code, if the default black-on-white doesn't fit.
- Download the result as a PNG for screens or an SVG for print at any size.
Error correction lets a scanner still read the code if part of it is damaged or obscured, at the cost of a denser pattern for the same data: L recovers about 7% of the code, M about 15%, Q about 25% and H about 30%.
The tool encodes exactly the text you give it, with no built-in field structure, so for a Wi-Fi network's SSID and password specifically, the dedicated Wi-Fi QR tool builds the correctly escaped payload for you.
Frequently asked questions
- Which error-correction level should I use?
- M (15%) is a reasonable default for most uses; go up to Q or H if the code will be printed small, placed on a curved or textured surface, or partly covered by a logo, since higher levels tolerate more damage.
- Can I put a logo in the middle of the QR code?
- This tool doesn't overlay a logo image, but choosing a higher error-correction level such as Q or H leaves enough redundancy that a small logo added afterward in an image editor often still scans.
- Can this generate a Wi-Fi or contact card QR code?
- You can paste a Wi-Fi or vCard payload string in by hand and it will encode correctly, but the Wi-Fi QR code generator and similar dedicated tools build that payload's exact field syntax for you.
- Is the text I encode sent to a server to build the QR code?
- No, the QR pattern is computed by a JavaScript library running in your browser tab, so the URL, message or any other text you type is never transmitted before the code is drawn.