JTON Playground

Fast JSON-compatible parsing with JTON encoding, token insights, and speed context.

Paste JSON, tune JTON output options, compare token footprint instantly, and copy an LLM-ready format hint. It now works in two modes: the real Python backend when available, and a browser-only fallback so the same page can be published on GitHub Pages.

Recommended for most LLM workflows zen_grid=true, row_count=true, delimiter="comma", bare_strings=false, implicit_null=false.
Encoding...
Input size 0
characters
Output size 0
characters
JTON encode time -
auto runtime
Savings -
vs compact JSON
Round-trip Waiting
encode and parse-back check

JSON Input

Paste JSON or load one of the sample datasets.

JTON Output

Live serialized output using your selected options.

Token lens

Color highlights show the rough token makeup of the current JTON output so users can quickly spot bulky strings, repeated identifiers, and punctuation-heavy segments.

Token comparison

Current output versus JSON baselines, plus TOON as a comparison format that is not JSON-compatible.

Dataset token and stdlib-json speed snapshot

Live speed cards below compare Python stdlib json parse/dump against JTON on the current JSON input. The dataset table remains a broader benchmark-style snapshot across flat, nested, and semi-uniform data. TOON is shown for comparison only and is not JSON-compatible.

Static large-file benchmark: akbe_doc_classifier.json (338.1 MB) Parse/decode: stdlib json 1.75 s (193.5 MB/s) vs JTON 2.43 s (138.9 MB/s). Dump/encode in JSON-compatible mode: stdlib json 1.78 s (57.3 MB/s) vs JTON 0.81 s (126.5 MB/s).
Stdlib json parse - Current input, backend benchmark
JTON parse - Current input, backend benchmark
Stdlib json dump - Current input, backend benchmark
JTON dump - Current input, backend benchmark
Dataset Shape JSON compact TOON (not JSON) JTON row-count JTON tab Best savings Visual

Sample datasets

Try realistic structures to see how JTON behaves across flat, nested, and semi-structured data.

Spec snapshot

JTON is a JSON-superset encoding with a tabular mode for repeated objects. It stays readable while reducing tokens for flat datasets.

[3: id, name, role; 1, "Ada", "admin"; 2, "Bob", "user"; 3, "Cara", "ops" ]

LLM-friendly defaults

Row count is enabled by default because it helps structural awareness. Use bare strings and implicit nulls only when you want maximum compactness.

row_count=true, zen_grid=true, delimiter="comma"

Static deployment

This page can be hosted on GitHub Pages. When the Python API is unavailable, it automatically switches to the browser runtime for encode, decode, hints, and token estimates.

local backend -> Python mode | github.io -> static fallback