Test data generator from a schema

Paste a JSON Schema or an XSD and get test data that conforms to it: types, formats, patterns, ranges, enumerations, lists and nested objects. With the same seed the result is always identical. Export as JSON, XML or CSV.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Drop a .json or .xsd file on this area (5 MB max), or

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. Paste the JSON Schema or XSD, or drop a file.
  2. Choose the number of records, the seed and the output format (JSON, XML or CSV).
  3. Copy or download the data; with the same seed you regenerate it identically, "New seed" gives you different data.

Frequently asked questions

Why is the data always the same?

The generator uses a seed: the same schema, seed and number of records give the same result, which makes tests repeatable. Change the seed to get different data.

Which parts of the schema are respected?

Types, required, enum, const, format (date, email, uuid…), simple patterns, lengths, ranges, multipleOf, minItems/maxItems, uniqueItems, $ref to $defs, allOf, oneOf and anyOf. Whatever cannot be respected is listed in the warnings.

Is my data sent to a server?

No: generation runs in your browser.

Privacy

The schema stays in your browser: it is not sent to any server.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain