首页 > 指南 > 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 7 月 2, 2026
目录

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.

格式 Scales Without Loss 建议用于 说明
SVG Print, large format Best overall for resizing
EPS Professional print Standard in print design workflows
PDF Print, sharing Preserves vector data
巴新 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 Pageloot QR码生成器. 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 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 二维码颜色对比度最佳实践.

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 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:

用例 Minimum Recommended Size
商业名片 0.8 × 0.8 英寸 (2 × 2 厘米)
Flyers and brochures 1.2 × 1.2 英寸 (3 × 3 厘米)
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 二维码尺寸指南 covers everything from business cards to billboards. You can also explore 二维码尺寸如何影响可见性 to understand the broader relationship between dimensions and scan success.

Need a QR Code for Your Business Card? 使用 名片二维码生成器 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:

级别 Recovery Capability
L(低) ~7% of data
M(中型) ~15% of data
Q(四分位数) ~25% of data
H(高) ~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 二维码打印分辨率指南二维码可读性的最佳实践 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
  • 织物 – 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 不同印刷材料的二维码尺寸, and for guidance on how the printing method itself affects output quality, 打印技术如何影响二维码的可扫描性 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 动态二维码 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.

常见问题

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.

关于作者

Siim Kostabi 是 Pageloot 的内容主管,负责撰写关于我们创新型二维码生成器服务的文章。凭借五年多来在二维码领域积累的深厚专业知识,Siim 是该领域的专家。他致力于利用二维码技术简化和增强数字交互,并取得了显著的成果。.

类别
了解更多关于
扫描品牌二维码
如何 嵌入图片
扫描图片二维码
制作二维码 图片
QR QR码的#1解决方案

如果您需要在线创建QR码,则可以 制作二维码 就在这里免费!
Pageloot是 #1转到解决方案 创建和扫描QR码。

BL-0300

博客生成器

受到超过 20,000 个品牌的信赖,可获得更多销售、评论和关注者。

客户徽标
受到顶级品牌的信赖
评分为 4.8(共 5)

4.86 / 5 星评级

雨果·劳伦特
雨果·劳伦特
餐馆老板
有史以来最容易和最可靠的QR码生成器。PDF文件可以立即上传。我们的餐厅菜单现在是数字化的。
卢卡斯-詹森
卢卡斯-詹森
房地产开发商
这是一个很好的工具,二维码带你到你想要的地方。我们只使用位置二维码,但有许多有用的功能。
艾玛-莫雷蒂
艾玛-莫雷蒂
零售产品
易于使用和快速。它工作得很好,创造了一个完美的图像,所以员工可以下载我的vCard。
雨果·劳伦特
雨果·劳伦特
餐馆老板
有史以来最容易和最可靠的QR码生成器。PDF文件可以立即上传。我们的餐厅菜单现在是数字化的。
卢卡斯-詹森
卢卡斯-詹森
房地产开发商
这是一个很好的工具,二维码带你到你想要的地方。我们只使用位置二维码,但有许多有用的功能。
艾玛-莫雷蒂
艾玛-莫雷蒂
零售产品
易于使用和快速。它工作得很好,创造了一个完美的图像,所以员工可以下载我的vCard。
查看更多QR码
笔记本电脑二维码扫描
使用扫描二维码 PC和Mac
将一切转化为数字体验 不到3分钟。

免费试用 14 天。

无需信用卡。

首次购买可享受 30% 折扣

使用代码:

分享您的 MP3 文件

注册以创建 PDF QR 码

上传和显示你需要的一切。

  • 音频文件
  • 播客
  • 音乐

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以创建音频 mp3 二维码

使用边框获得更多扫描

注册以向您的二维码添加更多框架

呼叫行动框架帮助您的客户与QR码轻松互动。试试吧!

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以向您的二维码添加更多框架

使用形状添加更多样式

注册以创建更多形状

二维码不一定是方形的。试着改变它以适应你的品牌形象。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以创建更多形状

为您的二维码添加徽标

注册以将您的徽标添加到二维码中

通过在二维码上添加你的标志和品牌,使你的二维码脱颖而出。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以将您的徽标添加到二维码中

智能应用商店重定向

注册以创建应用商店二维码

将您的应用程序链接添加到我们的智能应用程序商店QR码。用户会根据他们的设备被重新定向。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以创建应用商店二维码

将图片上传到二维码

注册以创建图像二维码

轻松分享你的图像。在几秒钟内动态地改变任何图像。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以创建图像二维码

分享您的 PDF 文件

注册以创建 PDF QR 码

上传和显示你需要的一切。

  • 菜单和价格表
  • 使用说明
  • 任何文件

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以创建 PDF QR 码

稍后编辑,无需打印

注册即可编辑您的二维码,无需再次打印

动态QR码让你改变你的QR码的内容,而不需要打印新的QR码。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册即可编辑您的二维码,无需再次打印

何时?何地?追踪您的二维码扫描

注册以追踪您的二维码

发现你的哪些二维码收到了最多的扫描,以及什么最能让你的客户兴奋。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以追踪您的二维码

提供可打印文件

注册以创建 PDF 和 SVG 等矢量二维码

.EPS, .PDF, .SVG

想下载高清分辨率的QR码吗?获得矢量或像素格式,可随时打印。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以创建 PDF 和 SVG 等矢量二维码

请等待。您的二维码是 正在加载... 正在加载...

打造专属

注册以保存您的二维码以供日后使用

通过创建具有不同颜色、标识和行动呼吁框架的出色的QR码,获得更多的扫描。

注册即可享 14 天免费试用。.
试用期结束后,二维码将失效。.

注册以保存您的二维码以供日后使用