QR Code Generator Online Free

How Much White Border Does a QR Code Need?

A QR code needs a white border at least four modules wide around every edge. This quiet zone separates the pattern from nearby text, artwork, and background detail.

  • The quiet zone is measured in module widths, rather than a fixed paper measurement.
  • qrcodeonlinefree.com makes black codes on white with a four-module quiet zone.
  • ISO/IEC 18004 calls for this clear space around the QR pattern.
  1. Create your code and keep the white margin included in the downloaded image.
  2. Place the image where text, lines, and pictures stay outside its white border.
  3. Check your layout for cropping that could cut away the margin.
  4. Inspect the final screen view or printed sample for marks inside the clear space.
  5. Scan the code in its finished setting before sharing the design.

Why the clear border matters

A reader needs to tell where the QR pattern ends. Nearby letters, borders, or pictures can compete with its small squares. The quiet zone gives the reader a clear gap around that pattern. Treat the white area as part of the code image. It belongs on every side, including edges close to a page trim or label boundary. A code that looks tidy to a person can still be difficult to scan when surrounding artwork crowds its edges.

How to keep the margin in a layout

Place the complete downloaded file into your document or design. Avoid cropping it tightly to the black squares. If the page has a colored background, keep the code's white area visible. Move captions and decorative frames outside that area. Check image boxes and clipping settings when using a page editor. These can hide part of an image without changing the source file. Look at the exported page too, since that is what people will see or print.

How resizing affects the border

A module is a square within the code's grid. The required margin follows the width of those squares. When you resize the whole image together, its border grows or shrinks with it. Adding a fixed white strip by eye can leave too little space. Keeping the original margin is simpler than rebuilding it later. SVG remains sharp when its size changes. For PNG, choose enough pixels for the planned use, then inspect both the pattern and its surrounding white space.

Can a caption sit inside the white border?

Put the caption beyond the quiet zone. The clear area should contain no letters, arrows, or other marks. Leave room for the full margin before adding a label beneath the image.

Will a white page supply the quiet zone?

A white page can provide clear surrounding space, provided nothing crowds the pattern. Keep the file's included border anyway. That makes its required margin easier to preserve when moving or resizing the image.

Should I remove the border to fit a small label?

Use more label space or shorten the stored content instead. Cutting the margin removes space that readers need. Test a printed sample after adjusting the layout, with the complete border still visible.

Sources: ISO/IEC 18004 · Wi-Fi Alliance · RFC 5545 · RFC 3492

Open QR generator