Nhà > Hướng dẫn > How to Resize a QR Code Without Losing Scan Quality
Sharp QR print

How to Resize a QR Code Without Losing Scan Quality

Learn how to resize a QR code without losing scan quality. Follow our guide on vector formats, DPI requirements, and scaling rules for reliable print results.
Updated on Tháng 7 2, 2026
Mục lục

Are you trying to resize a QR code only to end up with a blurry, unscannable result? Getting the dimensions wrong – or using the wrong file format – can make your QR code completely useless after printing. This guide walks you through exactly how to resize a QR code correctly, covering file formats, size rules, resolution requirements, and the most common mistakes to avoid.

Why Resizing a QR Code Goes Wrong

Most QR code quality problems come down to one of two issues: starting with the wrong file format or scaling an image beyond what its resolution can support.

When you take a low-resolution raster image – a JPEG or a small PNG – and stretch it larger in your design software, the scanner has to read blurry, indistinct modules instead of crisp black-and-white squares. Stretching a low-resolution QR code is one of the most reliable ways to produce a blurry, unscannable print result. There’s also a less obvious problem: resizing can unintentionally distort the code’s proportions or strip away the quiet zone – the clear white margin surrounding the code – which causes scanners to misread or completely miss the pattern. Understanding these failure points before you resize is the most direct path to a code that actually works.

Vector vs. Raster: The File Format Decision That Matters Most

The single most impactful choice you make when resizing a QR code is whether you’re working with a vector or raster file.

Vector formats (SVG, EPS, PDF) store the QR code as mathematical instructions rather than a fixed grid of pixels. This means they scale to any size – from a postage stamp to a billboard – without any loss of sharpness or clarity. For anything going to print, vector is the correct choice.

Raster formats (PNG, JPEG, BMP) store the code as a pixel grid with a fixed resolution ceiling. Once you scale them above their original resolution, the software has to invent pixel data, which produces blurring. JPEG is particularly problematic because its compression algorithm smooths edges, directly undermining the sharp contrast a QR scanner needs to read each module.

định dạng Scales Without Loss Đề nghị cho Ghi chú
SVG Đúng Print, large format Best overall for resizing
EPS Đúng Professional print Standard in print design workflows
PDF Đúng Print, sharing Preserves vector data
PNG No (fixed resolution) Web, digital display Acceptable at high resolution
JPEG No (lossy compression) Neither Avoid entirely for QR codes

When you download a QR code for printing, always select SVG or EPS. When you need a raster file for a digital screen or a platform that doesn’t accept vector formats, export a high-resolution PNG – never a JPEG.

Create Print-Ready QR Codes in the Right Format Generate your QR code and download it as a print-ready SVG, EPS, or PDF file using the Trình tạo mã QR Pageloot. No design software required.

Resolution Rules for Raster Files

If you’re working with a PNG for print, resolution – measured in DPI (dots per inch) – determines whether the code stays sharp at its final printed size.

The minimum standard for print is 300 DPI at the final printed dimensions. This means the pixel dimensions of your image file must match the intended physical size at that density. For example:

  • A QR code printed at 1 inch × 1 inch needs at least 300 × 300 pixels
  • A QR code printed at 4 inches × 4 inches needs at least 1,200 × 1,200 pixels

If your file doesn’t meet this threshold at your target size, the individual modules – the tiny squares that carry the QR data – will blur together. At that point, the scanner can no longer distinguish dark from light, and the code fails. For digital screens, a minimum of roughly 240 × 240 pixels is a practical guideline for on-screen display codes, though larger is always safer for zoom and cross-device compatibility. The cleaner solution for print is to skip raster entirely and use a vector file, which gives you infinite scalability with zero resolution concerns.

How to Resize a QR Code Step by Step

Step 1: Start with the Right Source File

Download or export your QR code in SVG or EPS format if it’s going to print. If you only have a raster file, verify that the pixel dimensions support 300 DPI at your target print size before resizing. A PNG QR code can work well for digital placements when exported at sufficient resolution – you can create one directly with a trình tạo mã QR PNG and use it wherever transparency or raster compatibility is required.

QR resizing steps

Step 2: Scale Proportionally

Always maintain the original aspect ratio when resizing. QR codes are square by definition, and stretching them horizontally or vertically distorts the modules from squares into rectangles, which can confuse or defeat scanners. In any design application – Illustrator, Canva, InDesign, Photoshop – lock the aspect ratio before dragging a corner handle. Even a subtle distortion is enough to cause problems with stricter scanner implementations.

Step 3: Preserve the Quiet Zone

The quiet zone is the clear white border surrounding the QR code on all four sides. The ISO/IEC 18004 standard specifies that this margin must be at least four modules wide on every side. When you resize a QR code and place it within a larger design, this zone is frequently the first thing that gets cropped or encroached upon by other design elements. If each module in your code is 2 mm wide, your quiet zone must be at least 8 mm on all sides. Treat this space as non-negotiable – removing it breaks scanner recognition.

Step 4: Check Contrast After Resizing

Resizing onto a colored or textured background can reduce the effective contrast between the code’s modules and its surroundings. Scanners rely on the difference between dark and light areas to read the code. The safest combination remains dark modules on a light background – black on white provides a 21:1 contrast ratio. Aim for a minimum contrast ratio of 4:1 between foreground and background colors, and avoid placing the code on gradients, busy patterns, or reflective surfaces. For detailed guidance, see các phương pháp hay nhất về độ tương phản màu của mã QR.

Step 5: Test Before Printing

Print a proof at the exact intended size on the exact intended material, then test with multiple devices – both iOS and Android – before committing to a full production run. Test at the actual scanning distance users will experience. A code that scans perfectly at arm’s length may fail at the distance it’s actually placed. See how to test QR codes for mobile usability for a full testing checklist.

Minimum and Maximum Size Guidelines

Resizing a QR code responsibly means knowing the size boundaries for your specific use case. The core rule is the tỷ lệ khoảng cách-đến-kích thước 10:1: the maximum intended scanning distance should be approximately ten times the width of the QR code. A code scanned from 20 inches away should be at least 2 inches wide; one scanned from 5 feet away should be at least 6 inches wide; a billboard code scanned from 30 feet away should be at least 36 inches wide.

QR size rule

For common print applications, here are reliable starting points:

Trường hợp sử dụng Minimum Recommended Size
Danh thiếp 0.8 × 0.8 inch (2 × 2 cm)
Flyers and brochures 1.2 × 1.2 inch (3 × 3 cm)
Posters and signage 1.6 × 1.6 in (4 × 4 cm)
Billboards and banners 16 × 16 in (40 × 40 cm) or larger

For business card applications, 0.8 × 0.8 inches is the practical minimum for reliable close-range scanning – going smaller increases the risk of scan failure significantly. See the guide to QR code sizes for business cards for specific recommendations on that format. There is no official upper size limit; scale up as needed based on the scanning distance. For a comprehensive breakdown across every use case, the hướng dẫn kích thước mã QR của chúng tôi covers everything from business cards to billboards. You can also explore cách kích thước mã QR ảnh hưởng đến khả năng hiển thị to understand the broader relationship between dimensions and scan success.

Need a QR Code for Your Business Card? Sử dụng Trình tạo mã QR danh thiếp to create a code sized and designed for business card printing, with SVG export included.

How Data Density Affects Resizing

One factor that complicates resizing is data density – the amount of information encoded in the QR code. The more data a QR code contains, the denser its grid of modules becomes. Denser grids require larger physical sizes to keep individual modules readable at the camera level.

A QR code encoding a long URL with tracking parameters contains far more data than one pointing to a short redirect URL. When you shrink a high-density code, the modules become too small for most smartphone cameras to resolve reliably. Dynamic QR codes solve this problem directly. Instead of encoding a full destination URL, a dynamic code encodes a short internal redirect, keeping the code’s data density low regardless of where it points. This means you can print the code smaller without sacrificing scannability – and update the destination later without reprinting.

Error Correction and Resizing Tolerance

QR codes include built-in error correction that allows them to remain scannable even when partially damaged or obscured. The ISO/IEC 18004 standard defines four levels:

Cấp độ Recovery Capability
L (Thấp) ~7% of data
M (Trung bình) ~15% of data
Q (Tứ phân vị) ~25% of data
H (Cao) ~30% of data

If you’re resizing a QR code to a smaller size, or adding a logo to the center of the code, increasing the error correction level gives you a buffer against module-level damage or scanning imprecision. Level Q or H is appropriate for branded or heavily customized codes. Keep in mind that higher error correction increases data density, which may require a slightly larger minimum size to compensate.

Common Resizing Mistakes to Avoid

  • Using a screenshot as your source file. Screenshots are low-resolution raster captures. Enlarging them for print is one of the most common causes of unscannable QR codes.
  • Stretching the code non-proportionally. Even a slight horizontal or vertical distortion changes module shapes from squares to rectangles, which can prevent scanners from reading the code correctly.
  • Cropping the quiet zone. Resizing within a tight design layout often results in other elements encroaching on the quiet zone. Keep at least four modules of clear space on all sides – this margin is a technical requirement, not a stylistic choice.
  • Assuming a code that works on screen will work in print. Screen display and printed output are different environments. A code that looks sharp at 72 DPI on screen may print blurry at 300 DPI if the underlying file resolution doesn’t support it.
  • Not testing after resizing. Always verify scannability on the final material, at the final size, from the intended scanning distance.

For more in-depth guidance, the hướng dẫn độ phân giải in mã QRcác phương pháp hay nhất để đọc mã QR cover the print-specific details worth knowing before you go to production.

Sizing for Different Printing Materials

The surface you’re printing on affects how large your QR code needs to be, separate from scanning distance considerations. Rough, textured, or curved surfaces can distort modules and reduce effective contrast, requiring you to scale up beyond what the 10:1 rule alone would suggest.

  • Smooth paper or cardstock – Standard size guidelines apply; matte finishes are preferred over glossy to reduce glare and reflections
  • Corrugated cardboard – Add 10–25% to the minimum size to compensate for surface texture and edge irregularities
  • Vải – Smooth polyester can use standard minimums; rough or stretchy textiles often require 25–50% larger codes
  • Metal or glass – High reflectivity causes scanning problems; use matte surfaces or vinyl overlays and increase the code size

For a full breakdown by material type, see kích thước mã QR cho các vật liệu in khác nhau, and for guidance on how the printing method itself affects output quality, cách các kỹ thuật in ảnh hưởng đến khả năng quét mã QR is worth reading before you place a print order. For placement decisions that go beyond sizing, the QR code placement guide for marketing covers positioning by material type and campaign context.

Properly resizing a QR code means choosing the right file format before you resize, maintaining proportions and quiet zone margins throughout, and verifying your output meets resolution and contrast standards at the final printed or displayed size. Starting with a vector file removes most of the risk entirely – it scales cleanly in any direction without the resolution ceiling that raster images impose. If you’re building QR codes for ongoing campaigns, using a mã QR động gives you the additional advantage of updating the destination after printing, so a sizing or placement decision today doesn’t lock you into reprinting costs down the road.

Các câu hỏi thường gặp

What is the best file format for resizing a QR code?

SVG, EPS, or PDF are the best formats for resizing because they are vector-based and scale to any size without losing sharpness. PNG is acceptable for digital use when exported at high resolution. JPEG should be avoided entirely – its compression smooths the sharp edges that scanners need to distinguish each module.

How small can a QR code be and still scan reliably?

The practical minimum for most close-range print applications is 0.8 × 0.8 inches (2 × 2 cm). Going smaller increases the risk of scan failure. For scanning at greater distances, apply the 10:1 rule: the code’s width should be at least one-tenth of the maximum intended scanning distance – so a code scanned from 20 inches away should be at least 2 inches wide.

Does resizing a QR code affect its error correction or data?

No – the encoded data and error correction level are fixed when the code is generated. Resizing changes only the physical or pixel dimensions of the image. What resizing can affect is whether the modules remain clear and distinguishable at the new size, which is why maintaining 300 DPI for print, preserving the quiet zone margins, and scaling proportionally are all essential steps.

Giới thiệu về tác giả

Siim Kostabi là Trưởng nhóm Nội dung tại Pageloot. Anh ấy viết về dịch vụ tạo mã QR tiên tiến của chúng tôi. Với kinh nghiệm sâu rộng hơn nửa thập kỷ về mã QR, Siim là một chuyên gia trong lĩnh vực này. Anh ấy đã có những đóng góp đáng kể trong việc tận dụng công nghệ QR để đơn giản hóa và nâng cao tương tác kỹ thuật số.

Danh mục
Học nhiều hơn về
Khách hàng quét mã QR trên bàn
Tạo mã QR cho Hệ thống đặt hàng
So sánh mã vạch và mã QR
Mã vạch so với mã QR

Nếu bạn cần tạo Mã QR trực tuyến, bạn có thể Tạo mã QR ngay tại đây miễn phí!
Pageloot là Giải pháp Đi tới #1 để tạo và quét Mã QR.

BL-0300

blog-gen

Được hơn 20.000 thương hiệu tin dùng để có thêm doanh số, đánh giá và người theo dõi.

Logo khách hàng
Được tin cậy bởi các thương hiệu hàng đầu
Được đánh giá 4.8 trên 5

Đánh giá 4.86 / 5 sao

Hugo Laurent
Hugo Laurent
Chủ nhà hàng
Trình tạo mã QR dễ dàng và đáng tin cậy nhất từ trước đến nay. Các tệp PDF có thể được tải lên ngay lập tức. Thực đơn nhà hàng của chúng tôi bây giờ là kỹ thuật số.
Lucas Jansen
Lucas Jansen
Nhà phát triển bất động sản
Đây là một công cụ tuyệt vời và mã QR sẽ đưa bạn đến nơi bạn muốn. Chúng tôi chỉ sử dụng mã QR vị trí nhưng có rất nhiều tính năng hữu ích.
Emma Moretti
Emma Moretti
Sản phẩm bán lẻ
Dễ dàng sử dụng và nhanh chóng. Nó hoạt động tuyệt vời và tạo ra một hình ảnh hoàn hảo, vì vậy nhân viên có thể tải xuống vCard của tôi.
Hugo Laurent
Hugo Laurent
Chủ nhà hàng
Trình tạo mã QR dễ dàng và đáng tin cậy nhất từ trước đến nay. Các tệp PDF có thể được tải lên ngay lập tức. Thực đơn nhà hàng của chúng tôi bây giờ là kỹ thuật số.
Lucas Jansen
Lucas Jansen
Nhà phát triển bất động sản
Đây là một công cụ tuyệt vời và mã QR sẽ đưa bạn đến nơi bạn muốn. Chúng tôi chỉ sử dụng mã QR vị trí nhưng có rất nhiều tính năng hữu ích.
Emma Moretti
Emma Moretti
Sản phẩm bán lẻ
Dễ dàng sử dụng và nhanh chóng. Nó hoạt động tuyệt vời và tạo ra một hình ảnh hoàn hảo, vì vậy nhân viên có thể tải xuống vCard của tôi.
Xem thêm mã QR
Biến mọi thứ thành trải nghiệm kỹ thuật số trong vòng chưa đầy 3 phút.

Dùng thử miễn phí 14 ngày.

Không cần thẻ tín dụng.

Giảm giá 30% cho lần mua hàng đầu tiên của bạn

Sử dụng mã:

Chia sẻ tệp MP3 của bạn

Đăng ký tạo mã QR PDF

Tải lên và hiển thị mọi thứ bạn cần:

  • Tập tin âm thanh
  • Podcast
  • Âm nhạc

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

đăng ký để tạo mã QR âm thanh mp3

Nhận thêm lượt quét với khung

Đăng ký để thêm nhiều khung hơn vào mã QR của bạn

Khung kêu gọi hành động giúp khách hàng của bạn tương tác với QR Code một cách dễ dàng. Thử chúng ra!

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để thêm nhiều khung hơn vào mã QR của bạn

Thêm phong cách với hình dạng

Đăng ký để tạo nhiều hình hơn

Mã QR không nhất thiết phải là hình vuông. Hãy thử thay đổi nó để phù hợp với hình ảnh thương hiệu của bạn.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để tạo nhiều hình hơn

Thêm logo vào Mã QR của bạn

Đăng ký để thêm logo của bạn vào mã QR

Làm cho mã QR của bạn nổi bật bằng cách thêm logo và thương hiệu của bạn vào đó.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để thêm logo của bạn vào mã QR

Chuyển hướng thông minh đến App Store

Đăng ký tạo mã QR cửa hàng ứng dụng

Thêm liên kết Ứng dụng của bạn vào Mã QR App Store thông minh của chúng tôi. Người dùng được chuyển hướng dựa trên thiết bị của họ.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR cửa hàng ứng dụng

Tải ảnh lên Mã QR

Đăng ký tạo mã QR hình ảnh

Chia sẻ hình ảnh của bạn một cách dễ dàng. Thay đổi bất kỳ hình ảnh nào một cách linh hoạt trong vòng vài giây.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR hình ảnh

Chia sẻ tệp PDF của bạn

Đăng ký tạo mã QR PDF

Tải lên và hiển thị mọi thứ bạn cần:

  • Thực đơn & bảng giá
  • Hướng dẫn
  • Mọi tài liệu

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR PDF

Chỉnh sửa sau mà không cần in lại

Đăng ký để chỉnh sửa mã QR của bạn mà không cần in lại

Mã QR động cho phép bạn thay đổi nội dung của Mã QR mà không cần phải in mã mới.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để chỉnh sửa mã QR của bạn mà không cần in lại

Khi nào? Ở đâu? Theo dõi lượt quét Mã QR của bạn

Đăng ký để theo dõi mã QR của bạn

Khám phá những Mã QR nào của bạn nhận được nhiều lần quét nhất và điều gì khiến khách hàng của bạn phấn khích nhất.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để theo dõi mã QR của bạn

Tệp sẵn sàng để in có sẵn

Đăng ký tạo mã QR vector như PDF và SVG

.EPS, .PDF, .SVG

Bạn muốn tải xuống Mã QR của mình ở độ phân giải HD? Nhận các định dạng vector hoặc pixel đã sẵn sàng để in.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký tạo mã QR vector như PDF và SVG

Vui lòng chờ. Mã QR của bạn là Đang tải... Đang tải...

Tùy chỉnh theo ý bạn

Đăng ký để lưu mã QR của bạn cho lần sau

Nhận được nhiều lượt quét hơn bằng cách tạo Mã QR tuyệt vời với các màu sắc, biểu trưng và khung kêu gọi hành động khác nhau.

Dùng thử miễn phí 14 ngày khi đăng ký.
Mã QR hết hạn sau thời gian dùng thử.

Đăng ký để lưu mã QR của bạn cho lần sau