Monu Tools

二维码生成器

从任意文本或 URL 创建二维码。选择纠错级别、颜色和静区,然后下载为 PNG 或 SVG。一切都在浏览器中运行。

如何使用 二维码生成器

  1. 01

    输入或粘贴你想编码的文本或 URL。

  2. 02

    如需可调整纠错级别、颜色和静区。

  3. 03

    将二维码下载为用于屏幕的 PNG 或用于打印的 SVG。

What a QR code is

A QR code is a two-dimensional barcode that stores text, a link, contact details or a short note as a grid of black and white squares that any phone camera can read. The more data you encode, the denser the grid becomes.

How this generator works

This generator turns whatever you type into a scannable code, and lets you control the error correction level, the foreground and background colors and the size of the quiet zone, the empty margin that scanners need around the code.

Error correction levels

Error correction adds redundancy so a code still scans when it is partly dirty, damaged or covered by a logo. The levels are L, M, Q and H, recovering roughly 7, 15, 25 and 30 percent of the code respectively. Higher levels are more robust but make the code denser, and M is a good default.

PNG or SVG, and why a code might not scan

Download the result as an SVG for print and anything that must scale without blurring, or a PNG for websites, documents and email. SVG stays razor-sharp at any size because it is vector based.

If a code will not scan, the usual culprits are low contrast, a missing quiet zone, or too much data at a high error correction level. Keep it dark on light, leave the margin, and shorten long text where you can.

Static codes and privacy

These are static QR codes: the data is encoded directly into the image, so a printed code cannot be repointed later. If you need to change the destination after printing, encode a short redirect URL that you control and update where it points. Everything is generated in your browser, so nothing you type is uploaded.

常见问题

纠错级别是什么?

它增加冗余,使二维码在部分受损或被遮挡时仍能扫描。较高级别(Q、H)恢复能力更强,但会使二维码更密集。中等(M)是不错的默认选择。

PNG 还是 SVG,我该选哪个?

打印以及任何需要无损缩放的场景使用 SVG。网站、文档和电子邮件使用 PNG。

为什么我的二维码无法扫描?

保持前景与背景之间强对比(深色配浅色效果最好),保留周围的静区,并避免在高纠错级别下使用很长的文本,因为这会让二维码变密。

我的数据会被发送到任何地方吗?

不会。二维码完全在你的浏览器中生成;你输入的文本永远不会离开你的设备。

嵌入此工具

将此工具添加到你自己的网站。复制下方代码片段即可,它会自动保持最新。

<iframe src="https://monu.tools/embed/zh/qr-code-generator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

相关工具