Task path / input to outcome
How to create a QR code
- 01
Enter the content
Type or paste a URL, plain text, or a compact payload into the Content field — from 1 to 2,000 UTF-8 bytes, with the limit shown in the panel header. Non-Latin text consumes several bytes per character, so watch the byte budget rather than the character count; after a successful run the status line reports the exact bytes encoded.
- 02
Pick the error correction level
Choose L, M, Q, or H under Error correction. M, the default, survives everyday smudges and is right for screens and clean print; Q and H recover from larger damage at the cost of a denser symbol at the same content length. Reserve H for codes that will be printed small, handled often, or partly covered.
- 03
Tune the size and margin
Target size accepts 128–1024 px and margin 0–16 modules. Actual PNG and SVG dimensions use an integer number of pixels per module, so they may differ from the target. The result shows the module grid, actual size and physical size estimate at a selected DPI. A dense code benefits from a larger size; a margin below 4 modules shows a repair action.
- 04
Set the colors
Use dark marks on a light background. The 3:1 contrast check is only an initial filter, not a scan guarantee — glossy paper, curved stickers, and low light all erode contrast further, so test the exported artwork in the real conditions.
- 05
Generate the code
Press Generate QR code; the renderer library loads into the tab on demand, so the first run takes a moment. The preview renders as a safe PNG and the generated SVG is validated and never injected into the page. If the payload exceeds capacity at the chosen correction level, the tool says so — shorten the content or step the level down.
- 06
Export PNG, SVG, or copy the markup
Download toolars-qr-code.png for slides and documents, toolars-qr-code.svg for print and design tools, or grab the vector source with Copy SVG to paste into code. Changing any option clears the preview, so generate again after edits, and keep the quiet-zone margin in the exported artwork.