使用方法: JSON 二维码生成器
JSON 二维码生成器 是一款免费在线qr工具,可在浏览器中即时validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version。粘贴数据、调整选项即可实时获得结果——无需安装、无需注册,任何数据都不会上传到服务器。
说明
Validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version.
- qr
- 由于全部计算都在客户端完成,使用 API 密钥、令牌或私有日志等敏感数据处理时,JSON 二维码生成器 同样安全。
使用方法
使用 JSON 二维码生成器 只需三步:
- 将数据粘贴到输入框(或载入示例)。
- 根据目标格式或使用场景调整选项。
- 复制、下载或查看输出——输入时结果实时更新。
运行
示例
The JSON is validated and minified first, so the payload occupies the fewest possible modules.
输入
{"name":"26173","tools":["qr","base64"],"count":22}
输出
<div class="qr-out">
<div class="qr-preview"><img src="data:image/png;base64,iVBORw0KGgo=" alt="QR code" width="256" height="256" style="max-width:100%;height:auto;image-rendering:pixelated"></div>
<div class="qr-meta">
<table class="tb-table"><tbody>
<tr><th>Detected type</th><td>JSON</td></tr>
<tr><th>Version</th><td>4 (33×33 modules)</td></tr>
<tr><th>Error correction</th><td>M</td></tr>
<tr><th>Quiet zone</th><td>4 module(s)</td></tr>
<tr><th>Payload size</th><td>51 bytes (UTF-8)</td></tr>
<tr><th>Contrast</th><td>21.00:1</td></tr>
<tr><th>Validation</th><td class="ok">VALID</td></tr>
<tr><th>Render → decode self-test</th><td class="bad">FAILED (decoded ≠ payload)</td></tr>
</tbody></table>
</div>
</div>
<div class="qr-payload"><strong>Payload</strong><pre class="ex-io">{"name":"26173","tools":["qr","base64"],"count":22}</pre></div>
<div class="tb-btns qr-actions">
<button class="btn btn-primary" data-qr-dl="png">Download PNG</button>
<button class="btn" data-qr-dl="svg">Download SVG</button>
<button class="btn" data-qr-copy="payload">Copy payload</button>
<button class="btn" data-qr-copy="svg">Copy SVG</button>
<button class="btn" data-qr-copy="image">Copy image</button>
<button class="btn" data-qr-print>Print</button>
</div>
<p class="ex-note">Generated and verified entirely in your browser. No data is uploaded.</p>
此输出由工具真实运行产生,并非人工编写。
使用场景
JSON 二维码生成器 常见的使用场景:
- Validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version.
参数说明
| key | 选项 | type | allowed | default | JSON 二维码生成器 |
|---|---|---|---|---|---|
type | Content type | select | text, url, wifi, email, phone, sms, vcard, mecard, geo, calendar, whatsapp, telegram, bitcoin, ethereum, upi, json, custom | — | json |
ec | Error correction | select | M (M ≈ 15% (default)), L (L ≈ 7%), Q (Q ≈ 25%), H (H ≈ 30% (needed for logos)) | — | M |
version | Version (0 = auto) | number | — | 0 | — |
margin | Quiet zone (modules) | number | — | 4 | 4 |
scale | Module size (px) | number | — | 8 | — |
fg | Foreground | color | — | #000000 | — |
bg | Background | color | — | #ffffff | — |
dot | Module style | select | square (Square), rounded (Rounded), dots (Dots) | — | — |
corner | Finder pattern style | select | square (Square (safest)), styled (Styled) | — | — |
输入: — · 输出: HTML · live: ✗
常见问题
什么是 JSON QR Code Generator?
JSON QR Code Generator 用于validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version。它完全在浏览器内运行,数据保持私密。
JSON QR Code Generator 可以免费使用吗?
可以。JSON QR Code Generator 免费、无次数限制,无需注册或安装。
我的数据会被上传吗?
不会。所有处理都在本地浏览器完成,不会发送到任何服务器。
注意事项
- 结果不会随输入实时更新——修改输入后请点击「运行」。
- 输出以格式化内容呈现;如需纯文本请使用「复制」。
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。
相关工具
二维码生成器Create QR codes for text, URLs, Wi-Fi, vCard, email, phone, SMS, geo, calendar, WhatsApp, Telegram, Bitcoin, Ethereum, UPI and JSON, with error correction, quiet zone, colours and PNG/SVG export.URL 二维码生成器Turn any link into a scannable QR code, adding https:// when the scheme is missing and warning about unsafe schemes.Wi-Fi 二维码生成器Build a standards-compliant WIFI: payload with SSID, password, WPA/WEP/open encryption and hidden-network flag so phones join the network on scan.vCard 二维码生成器Generate a vCard 3.0 contact QR code with name, organisation, title, phone, email, website, address and note.MECARD 二维码生成器Build a MECARD contact payload — the compact alternative to vCard that fits in a smaller, lower-version QR symbol.邮箱二维码生成器Create a mailto: QR code with prefilled recipient, subject and body.