JSONGenerator
GeneratorSchemaConvertersExamplesDocs

JSONGenerator

Free online tools for generating random JSON data and JSON Schemas.

Quick Links

  • JSON Generator
  • JSON Schema Converter
  • Examples
  • Docs
  • Blog
  • About
  • Contact
  • Privacy Policy

Converters

  • JSON to YAML
  • YAML to JSON
  • XML to JSON
  • JSON to XML
  • JSON to TOML
  • TOML to JSON
  • JSON to CSV
  • CSV to JSON
  • JSON to Excel
  • Excel to JSON
  • JSON to HTML table
  • JSON to TypeScript
  • JSON to C#
  • JSON to Go
  • JSON to Java
  • JSON to SQL

Support

Having issues? Contact us.

© 2026 JSON Generator. All rights reserved.

About JSONGenerator

JSONGenerator (jsongenerator.io) is a set of free tools for working with JSON. It started as a template-driven generator for random JSON test data and now also creates JSON Schemas and has 16 converters between JSON and other formats. Everything runs in your browser, and there is no sign-up.

What you can do here

  • JSON Generator: describe the shape of the data in a JSON template, use 50+ template tags such as firstName() or int(1, 100), and generate realistic random JSON for mock APIs, fixtures and test databases. The template tag reference documents every tag, and the examples give you ready-made templates.
  • JSON Schema Generator: paste JSON and get a JSON Schema that describes it, as draft 2020-12, draft-07 or draft-04.
  • JSON converters: JSON to and from YAML, XML, TOML, CSV and Excel, plus JSON to an HTML table, SQL, TypeScript, C#, Go and Java.
  • Blog: practical guides on JSON, data formats and test data, such as seeding test databases in CI/CD.

Who it is for

Developers who need mock API responses or fixture files, testers who need large or varied datasets, and anyone writing documentation or tutorials who needs sample JSON.

How your data is handled

Generation, schema creation and conversion all run in your browser. The JSON and templates you work with are not uploaded to our servers; each tool keeps your latest input in your browser's local storage so it is still there when you come back. The only thing sent to our servers is a message you submit through the contact form.

The site is free to use and is supported by advertising (Google AdSense). It uses Google Analytics to understand how the tools are used. The privacy policy explains the cookies involved and your choices.

Standards and accuracy

Generated output is standard JSON (RFC 8259), so it works with any language or tool. Blog posts are written by the JSONGenerator team or, for guest posts, by the credited guest author, and are reviewed by the JSONGenerator team. Each post shows when it was published and last updated, and posts are revised when the tools or the formats they cover change.

Contact

Found a bug, have a question or want a new template tag or converter? Send a message through the contact form; feature suggestions are welcome.