JSON-stat Builder design a cube, paste your data, export JSON-stat 2.0

Dataset metadata

Optional descriptive fields. label defaults to "Untitled dataset".

About the JSON-stat Builder

The JSON-stat Builder is a browser-based tool for creating JSON-stat datasets interactively. Instead of hand-writing the JSON-stat format, you describe your data through a guided wizard and the tool serializes a correct, validated dataset for you — ready to copy or download. No command line, no build step.

At a glance: design a cube → paste your data → export a valid JSON-stat 2.0 dataset. Click Load demo for a worked example (population by geography, sex and year) in seconds.

Think in cubes

A spreadsheet is a flat grid. JSON-stat is a cube: every observation sits at the crossing of one category per dimension. So you model first — name your dimensions (e.g. geography, sex, year), give each an ordered list of categories (e.g. Spain, France), and assign roles (time, geo, metric). The order you define dimensions in even governs how values are stored.

A guided, step-by-step workflow

  1. Metadata — label, source, updated date, optional href and notes.
  2. Dimensions & categories — define each dimension, its categories, and roles.
  3. Layout — place each dimension on the row or column axis. Presentation only; it never changes the exported cube.
  4. Data — fill the grid with your numbers.
  5. Output — generate, validate, preview, copy, download.

Move back and forth freely — refining an earlier choice is always one click away.

Feed it data your way

Enter values by hand, paste a spreadsheet block, paste CSV/TSV, or paste tidy data (one observation per row). The importer auto-detects tab, comma, semicolon and whitespace separators. An empty cell means a missing value (null); annotate observations with free-form status codes (estimated, provisional, …).

Always valid, by construction

On every Generate, the output is checked with the official JSON-stat tooling — vendored so it works fully offline — running structural and semantic checks, then read back to confirm every cell is reachable. Copy and Download stay disabled until there are zero errors, so you never walk away with a broken file.

Import categories

or load a file:

Unit

Optional — how the values of this metric are expressed. Most datasets leave this blank. One unit per category; blank fields are omitted on export.

Open JSON-stat dataset

Paste a JSON-stat 2.0 dataset document, or choose a .json file. Loading replaces the current dataset.

Dataset extension

Free-form JSON object; merged as-is into the dataset's extension. If you include a status key, the app will not add its status code labels there.

Extension

Free-form JSON object; merged as-is into this dimension's extension. Provider-specific metadata only — the app never interprets it.