> codebench_TOOL: HomeLOCAL-ONLY⌘K Switch

QR Code Generator

Tool guide

Generate QR codes from text or URLs

Input: This tool processes input in your browser. Check in Network (opens in a new tab)

How error correction changes a QR code’s width

Input
Options
Size:256px
EC Level:
Foreground:#000000
Background:#ffffff
Preview
Enter text to generate QR code

Enter a payload to generate a preview. Adjust size, colors or error correction before downloading. The print example keeps the address fixed and measures two real SVG exports so you can distinguish symbol modules from the file’s built-in margin.

How to use it

  1. Choose Run example to compare two encodings of one audio tour address. No QR payload or download setting in your workspace changes.
  2. To check the file yourself, paste the address, set EC Level to M, and download the SVG. Its viewBox is 29 units wide.
  3. Switch only EC Level to H, wait for the preview and download again. The viewBox is now 33 units wide.

Worked example

Example input
https://example.org/a/7
Example output
M: 25 × 25 modules; SVG viewBox 0 0 29 29
H: 29 × 29 modules; SVG viewBox 0 0 33 33

Each SVG is four modules wider than its symbol: two light modules on each side. At the same printed width, the H export fits more modules into that width, so each module is smaller.

What to watch for

The SVG viewBox is not a physical print size. Keep four clear modules per side in the final layout, counting the two included in this export. Test the finished print with a scanner.

Frequently asked question

Will a higher error correction level always scan better?
No. It adds redundancy, but the larger grid in this example makes the individual modules smaller at the same print size. Check both the quiet zone and the smallest print size you will actually use.

Browse Generator tools

Further reading

> codebench $Ctrl+Enter Run