Cách dùng: Bộ tạo JSON mã QR
Bộ tạo JSON mã QR là công cụ qr trực tuyến miễn phí, giúp validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version ngay trong trình duyệt. Dán dữ liệu, chỉnh tùy chọn và nhận kết quả tức thì — không cài đặt, không đăng ký, không tải lên máy chủ.
Mô tả
Validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version.
- qr
- Vì mọi tính toán đều ở phía máy khách, Bộ tạo JSON mã QR an toàn với dữ liệu nhạy cảm như API key hay token.
Cách dùng
Dùng Bộ tạo JSON mã QR chỉ ba bước:
- Dán dữ liệu vào ô nhập (hoặc nạp ví dụ).
- Chỉnh tùy chọn theo định dạng mong muốn.
- Sao chép, tải hoặc xem kết quả — cập nhật khi bạn gõ.
Chạy
Ví dụ
The JSON is validated and minified first, so the payload occupies the fewest possible modules.
Đầu vào
{"name":"26173","tools":["qr","base64"],"count":22}
Đầu ra
<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>
此输出由工具真实运行产生,并非人工编写。
Tình huống sử dụng
Những tình huống phổ biến mà Bộ tạo JSON mã QR hữu ích:
- Validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version.
Tham số
| key | Tùy chọn | type | allowed | default | Bộ tạo JSON mã QR |
|---|---|---|---|---|---|
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) | — | — |
Đầu vào: — · Đầu ra: HTML · live: ✗
FAQ
JSON QR Code Generator là gì?
JSON QR Code Generator dùng để validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version. Chạy hoàn toàn trong trình duyệt nên dữ liệu của bạn được bảo mật.
JSON QR Code Generator có miễn phí không?
Có. Không giới hạn, không đăng ký, không cài đặt.
Dữ liệu của tôi có bị tải lên?
Không. Mọi xử lý diễn ra ngay trên máy bạn.
Cần lưu ý
- 结果不会随输入实时更新——修改输入后请点击「运行」。
- 输出以格式化内容呈现;如需纯文本请使用「复制」。
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。