Summarising the other answers, here are the JSON schema generators proposed so far:

Online:

  • https://www.liquid-technologies.com/online-json-to-schema-converter (1 input)
  • http://www.jsonschema.net (1 input)
  • https://easy-json-schema.github.io (1 input)
  • https://json.ophir.dev/ (1 input, nice UI)

Python:

  • https://github.com/gonvaled/jskemator (1 input but allows iteration)
  • https://github.com/perenecabuto/json_schema_generator (1 input)
  • https://github.com/rnd0101/json_schema_inferencer (1 input I think)
  • https://pypi.python.org/pypi/genson/ (multiple inputs)
  • https://pypi.python.org/pypi/skinfer (multiple inputs)

NodeJS:

  • https://github.com/Nijikokun/generate-schema (multiple inputs (pass object array))
  • https://github.com/easy-json-schema/easy-json-schema (1 input)
  • https://github.com/aspecto-io/genson-js (multiple inputs)

Ruby:

  • https://github.com/maxlinc/json-schema-generator (1 input)
Answer from Steve Bennett on Stack Overflow
๐ŸŒ
QuickType
quicktype.io โ€บ schema
JSON to JSON Schema
Instantly generate JSON Schema models from JSON.
Discussions

validation - Tool to generate JSON schema from JSON data - Stack Overflow
We have this json schema draft. I would like to get a sample of my JSON data and generate a skeleton for the JSON schema, that I can rework manually, adding things like description, required, etc, ... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Did anybody use the json schema for code generation?
Hi, After spending hours trying to convince various tools/projects to generate source code from the openehr json schemas, I finally gave up. The schemas are truly extensive, a huge amount of work must have gone into these, so thanks a lot to Code24 for the initial effort and all the other ... More on discourse.openehr.org
๐ŸŒ discourse.openehr.org
0
October 23, 2020
JSON Schema generator
Iโ€™ve been using https://github.com/deepmap/oapi-codegen for this exact purpose as I found it to be the most robust. You need to convert the schemas to OpenAPI specs first though (IIRC there are tools for that) and make sure to use the correct parameters with oapi-codegen. Itโ€™s not fantastic, but it does work very well for our use case. More on reddit.com
๐ŸŒ r/golang
10
2
February 8, 2023
JSON schema generator
I just searched google and these 2 popped up: JSON Schema Tool Free Online JSON to JSON Schema Converter Both seem to work fine More on reddit.com
๐ŸŒ r/vscode
4
17
September 20, 2021
๐ŸŒ
Transform
transform.tools โ€บ json-to-json-schema
JSON to JSON Schema
An online playground to convert JSON to JSON Schema
๐ŸŒ
npm
npmjs.com โ€บ package โ€บ prisma-json-schema-generator
prisma-json-schema-generator - npm
June 22, 2024 - A generator, which takes a Prisma 2 schema.prisma and generates a JSON Schema in version 7 of the specification (https://json-schema.org/).
      ยป npm install prisma-json-schema-generator
    
Published ย  Jun 22, 2024
Version ย  5.1.5
Author ย  Valentin Palkovic
๐ŸŒ
Objgen
objgen.com โ€บ json
JSON Generator
You need to enable JavaScript to run this app
Find elsewhere
๐ŸŒ
JSON Schema
json-schema.org โ€บ tools
JSON Schema - Tools
Toolings below are written in different languages, and support part, or all, of at least one recent version of the specification ยท Listing does not signify a recommendation or endorsement of any kind
๐ŸŒ
Newtonsoft
newtonsoft.com โ€บ jsonschema โ€บ help โ€บ html โ€บ GenerateSchema.htm
Generate JSON Schema
JSchemaGenerator generator = new JSchemaGenerator(); JSchema schema = generator.Generate(typeof(Person)); // { // "type": "object", // "properties": { // "Name": { // "type": [ "string", "null" ] // }, // "Age": { "type": "integer" } // }, // "required": [ "Name", "Age" ] // }
๐ŸŒ
openEHR
discourse.openehr.org โ€บ implementation
Did anybody use the json schema for code generation? - Implementation - openEHR
October 23, 2020 - Hi, After spending hours trying to convince various tools/projects to generate source code from the openehr json schemas, I finally gave up. The schemas are truly extensive, a huge amount of work must have gone into these, so thanks a lot to Code24 for the initial effort and all the other contributors who brought the schemas to their current state.
๐ŸŒ
JSON Schema
json-schema.org
JSON Schema
Discover JSON Schema tooling to help your organization leverage the benefits of JSON Schema. Because JSON Schema is much more than a Specification, it is a vibrant ecosystem of Validators, Generators, Linters, and other JSON Schema Utilities made by this amazing Community.Explore
๐ŸŒ
GitHub
github.com โ€บ vega โ€บ ts-json-schema-generator
GitHub - vega/ts-json-schema-generator: Generate JSON schema from your Typescript sources ยท GitHub
-p, --path <path> Source file path -t, --type <name> Type name -i, --id <name> $id for generated schema -f, --tsconfig <path> Custom tsconfig.json path -e, --expose <expose> Type exposing (choices: "all", "none", "export", default: "export") -j, --jsDoc <extended> Read JsDoc annotations (choices: "none", "basic", "extended", default: "extended") --markdown-description Generate `markdownDescription` in addition to `description`. --full-description Include the full raw JSDoc comment as `fullDescription` in the schema.
Starred by 1.7K users
Forked by 230 users
Languages ย  TypeScript 99.4% | JavaScript 0.6%
๐ŸŒ
Upqode
upqode.com โ€บ home โ€บ json schema generator tools: user guide 2021
JSON Schema Generator Tools: User Guide 2021 - Web Design Agency - Upqode
August 12, 2025 - The tool is simple to use, and it supports the latest schema draft 07. With this tool, you can generate a JSON schema from your file or an example from the JSON validator.
๐ŸŒ
Stoplight
stoplight.io โ€บ json-guide
JSON Schema & Validator | JSON Generator & Editor Guide | Stoplight
Let's look at what keywords can make up a JSON Schema file. JSON Schema files often start with the following metadata keywords:
๐ŸŒ
Json2CSharp
json2csharp.com
Convert JSON to C# Classes Online - Json2CSharp Toolkit
JSON: { 'test' : 'test'} C#: [JsonPropertyName("test")] public string test { get; set; } Class Settings ยท Generate Immutable Classes ยท Creates readonly classes that are instantiated using the class constructor. JSON: { 'test' : 'test'} C#: public Root( string test) { this.test = test; } public string test { get; } Use Record Types ยท
๐ŸŒ
Js
json-schema-faker.js.org
JSON Schema Faker โ€“ Generate Realistic Test Data
Control generation with command-line flags. # Deterministic output with seed jsf schema.json --seed 42 # Include all optional properties jsf schema.json --all-optionals # Override array/string constraints jsf schema.json --min-items 5 --max-length 20 # Use schema defaults and examples jsf schema.json --use-defaults --use-examples # Read from stdin cat schema.json | jsf - # Combine options jsf schema.json -o output.json -c 5 --seed 42
๐ŸŒ
json-everything
docs.json-everything.net โ€บ schema โ€บ schemagen โ€บ schema-generation
Generating JSON Schema from .Net Types | json-everything
9 hours ago - JsonSchema.Net.Generation is an extension package to JsonSchema.Net that provides JSON Schema generation from .Net types.
๐ŸŒ
GitHub
github.com โ€บ justsml โ€บ schema-generator
GitHub - justsml/schema-generator: Convert JSON/CSV to Typed Data Interfaces - Automatically โœจ๐Ÿš€
Convert JSON/CSV to Typed Data Interfaces - Automatically โœจ๐Ÿš€ - justsml/schema-generator
Author ย  justsml
๐ŸŒ
GitHub
github.com โ€บ invopop โ€บ jsonschema
GitHub - invopop/jsonschema: Generate JSON Schemas from Go types ยท GitHub
Generate JSON Schemas from Go types. Contribute to invopop/jsonschema development by creating an account on GitHub.
Starred by 911 users
Forked by 127 users
Languages ย  Go
๐ŸŒ
JSON Formatter
jsonformatter.org โ€บ json-to-jsonschema
Best JSON to Jsonschema Converter
JSON to Jsonschema Online with https and easiest way to convert JSON to Jsonschema. Save online and Share.
๐ŸŒ
JSON Schema
json-schema.org โ€บ learn โ€บ getting-started-step-by-step
Creating your first schema
The most basic schema is a blank JSON object, which constrains nothing, allows anything, and describes nothing: ... By adding validation keywords to the schema, you can apply constraints to an instance.