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.

JSON Converters

Convert JSON to and from YAML, XML, CSV, Excel and TOML, or generate TypeScript, C#, Go, Java and SQL from a JSON sample. Every converter is free, works as you type and runs entirely in your browser, so your data is never uploaded.

Data format converters

Move data between JSON and the other text formats used for configuration and data exchange.

  • JSON to YAML conversion
    JSON to YAML ConverterConvert JSON to clean, readable YAML for config files, Kubernetes and CI pipelines.
  • YAML to JSON conversion
    YAML to JSON ConverterConvert YAML, including anchors and multi-document files, to formatted JSON.
  • XML to JSON conversion
    XML to JSON ConverterConvert XML to JSON with attributes, repeated elements and text nodes mapped predictably.
  • JSON to XML conversion
    JSON to XML ConverterConvert JSON to well-formed XML with a root element of your choice.
  • JSON to TOML conversion
    JSON to TOML ConverterConvert JSON to TOML for Cargo, pyproject and other config files.
  • TOML to JSON conversion
    TOML to JSON ConverterConvert TOML tables, arrays of tables and dates to JSON.

Spreadsheet and table converters

Turn JSON into rows and columns, or spreadsheet rows back into JSON.

  • JSON to CSV conversion
    JSON to CSV ConverterConvert a JSON array to CSV, with nested objects flattened into columns.
  • CSV to JSON conversion
    CSV to JSON ConverterConvert CSV with a header row to a JSON array of objects, with numbers and booleans typed.
  • JSON to Excel conversion
    JSON to Excel ConverterConvert JSON to an Excel .xlsx spreadsheet you can open in Excel, Numbers or Google Sheets.
  • Excel to JSON conversion
    Excel to JSON ConverterConvert an Excel .xlsx, .xls or .ods sheet, or pasted cells, to JSON.
  • JSON to HTML table conversion
    JSON to HTML Table ConverterConvert a JSON array to an HTML table you can paste into a page or email.

JSON to code

Generate typed classes, interfaces, structs and SQL from a sample JSON document.

  • JSON to TypeScript conversion
    JSON to TypeScript ConverterGenerate TypeScript interfaces or types from a JSON sample.
  • JSON to C# conversion
    JSON to C# Class ConverterGenerate C# classes with properties for System.Text.Json or Newtonsoft.Json from JSON.
  • JSON to Go conversion
    JSON to Go Struct ConverterGenerate Go structs with json tags from a JSON sample.
  • JSON to Java conversion
    JSON to Java Class ConverterGenerate Java POJO classes with getters and setters from JSON.
  • JSON to SQL conversion
    JSON to SQL ConverterGenerate a CREATE TABLE statement and INSERT rows from a JSON array.

Need data to convert? Create realistic sample JSON with the JSON Generator, or describe it with the JSON Schema Generator.