PIXELDESK / PRACTICAL GUIDE

Make a static QR code that survives export and print

Prepared by Operance Labs · Reviewed

A static QR code stores its content in the code itself. PixelDesk’s QR generator creates the chosen payload locally and offers PNG and SVG downloads. It does not create a managed redirect or collect scan statistics.

Start with the destination, not the decoration

For a website code, enter the complete address including HTTPS and check it for typing mistakes. For Wi-Fi or a contact, review every field before generating. An exported code can reveal the information it contains to anyone who scans it, so do not put a private password on a public poster.

Shorter content can fit a smaller QR version at the same correction level. Avoid adding unnecessary text or tracking parameters when they do not serve the task. A static website code keeps pointing to the address you encoded; keeping that page available is a separate responsibility.

Preserve the blank border and square modules

PixelDesk keeps a four-module quiet zone around the symbol. That clear area is part of the exported code, not spare whitespace to crop away. Place other graphics outside it. Keep the image square and use a dark foreground on a clearly lighter background. Increasing error correction does not make arbitrary low contrast, stretching or missing borders safe.

Choose PNG or SVG for the final job

Use PNG when a document editor or upload form needs a bitmap. Choose a sufficiently large pixels-per-module value and avoid shrinking it with blurry interpolation. Use SVG where the layout software supports vector artwork, especially when the final physical size is still changing. Both files contain the same intended payload; neither format guarantees that a particular print will scan.

Test the file people will actually see

  1. Download the code rather than testing only the editor preview.
  2. Open the saved PNG in the local QR reader and compare its decoded content with your original input. The reader displays text without automatically opening a link.
  3. Place the code in the real layout, export that document and inspect the code again.
  4. Make a test print at the intended size and scan it with a phone under representative lighting and distance.

Do not rely on one universal minimum size: payload density, camera distance, ink, material and lighting all affect the result. Test before committing to a print run. If a scanner cannot read it, increase size or contrast, shorten the payload and check that no border was removed.

Implementation reference

PixelDesk bundles the MIT-licensed encoder locally. Project Nayuki’s QR encoder documentation explains the library’s version, correction and module-based export controls. The practical checks above describe how to use PixelDesk’s own exports; the library author does not endorse this site.

Explore all practical guides · Report a documentation issue