Free JSON QR Code Generator
Encode structured JSON data into a QR code — write raw JSON with real-time validation, or build it visually with typed key-value fields. Includes automatic minification and a live capacity check.
Builds a flat JSON object from these fields — choose the right type so numbers and true/false values aren't quoted as text.
We build custom web tools, calculators, converters, API integrations and WordPress websites for businesses and agencies. Have a project in mind? Copy our email and send us your requirements.
Write or paste JSON above, or build it field by field, and the tool turns it into a QR code your own app or device can read and parse. It checks the JSON as you type, can minify it to save space, and shows how much of the code's capacity you are using.
How to Make a JSON QR Code
- Choose a mode. Use JSON Editor to paste or write raw JSON, or Build With Fields to add key and value pairs without writing brackets and quotes.
- Fix any errors. The validation message points to what is wrong, such as a missing comma or an unquoted key.
- Leave minify on unless you need the spacing. It removes line breaks and indentation so more data fits.
- Watch the capacity bar and choose size, colours and error correction.
- Generate, scan-test with your app, and download the PNG or copy the image.
Who Needs a JSON QR Code?
A phone camera that scans a JSON QR code just shows the raw text. JSON codes are useful when your own software does the scanning and reads specific fields. Typical cases:
- Device setup: pass a configuration to an IoT device or kiosk app, such as
{"site":"store-12","mode":"kiosk"}. - Offline hand-off: move a small record between two apps without a network connection.
- Testing: create fixed test inputs for an app that reads QR codes.
- Labels for internal systems: encode an ID plus a few attributes your warehouse or lab app understands.
If people with ordinary phones will scan the code, encode a link with the URL QR Code Generator or readable text with the Text QR Code Generator instead.
How Much JSON Fits in a QR Code?
The largest QR code (version 40) holds up to 2,953 bytes at Low error correction, 2,331 at Medium, 1,663 at Quartile and 1,273 at High (DENSO WAVE QR code version table). In practice you should stay well below that: a code near full capacity has tiny modules that need a large print and a good camera. Tips:
- Minify the JSON. Indentation can add many bytes for nothing.
- Use short keys such as
"id"instead of"identifier". - Do not embed big data. Store a long record on a server and put just its ID or link in the code.
- Remember non-English characters take more than one byte each in UTF-8.
The Field Builder Makes Flat JSON
Build With Fields creates one level of key and value pairs, for example {"name":"Asha","room":"204"}. For nested objects or arrays, switch to the JSON Editor and write the structure directly. Always test the downloaded code with the app that will read it. For many records at once, generate a code per row with the Bulk QR Code Generator, pasting one minified JSON object per line. More tools are in the QR code tools hub.
Frequently Asked Questions
Is this JSON QR code generator free?
Yes. Creating and downloading JSON QR codes is free, with no account.
Will a normal phone camera understand the JSON?
It shows the raw text but does nothing special with it. JSON codes are meant for an app that reads and parses the data.
Can I build nested JSON with the field builder?
No, the builder makes a flat object. Use the JSON Editor for nested objects and arrays.
Why does my JSON say it is invalid?
Common causes are single quotes instead of double quotes, a trailing comma after the last item, or an unquoted key. The validation message shows where the problem is.
Should I minify the JSON?
Usually yes. The data stays the same, but the code is smaller and easier to scan.
Is my data sent to a server?
No. The JSON is validated and the code is generated in your browser.
