使用方法: 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.