1 The data
The starting point: a JSON order list of — roughly ten times more than a QR code can hold (~3 KB at best). This is what it looks like:
2 The analysis
The server profiles the data statistically, then pressure-tests every distribution option for real — each payload is actually built and the QR encoder is actually asked:
| Option | Payload | Fits in one QR? |
|---|
3 The QR code
Scan it with your phone — open the mobile scanner and point the camera at the screen, or paste what any scanner gives you into the decoder page. Or let the demo do it itself:
4 Back to JSON
The payload from the QR code goes to the decoder, which reads the type header, fetches the profile's dictionary and schema from the server, and unpacks:
5 That's the demo
The recipe: keys and known values are never transmitted (schema encoding), the rest is brotli-compressed against a dictionary built from sample files, then packed as Base45 into the QR code's alphanumeric mode — the same core idea as the EU covid certificate, packed considerably harder. Dictionaries are versioned and immutable, so codes printed today keep decoding forever even as the dictionary grows. There is also a standalone C++ encoder/decoder that downloads a profile's configuration and dictionaries and works offline. Try your own data in the tool: paste, hit Analyze, pick a type.