OpenAPI Validator
Check a local Swagger 2.0, OpenAPI 3.0 or OpenAPI 3.1 document for schema errors and broken internal references. Read the reported paths without querying your API.
Open toolGenerate plain Java model classes from a JSON object or object array. Download a ZIP with separate class files, then review inferred types and add your serializer mapping.
Enter the inputs, then select Generate Java.
Result will appear here
Use quicktype to infer nested sample types and render Java classes.
Processing uses bundled libraries in this browser. The download contains the generated source or document, rather than a link to a conversion service.
Start with the supported input, then check the generated result.
Use JSON sample, Root type name. The form starts with an example you can replace.
Review a ZIP of plain Java model class files inferred from JSON. Download the generated file and check it in the application where you plan to use it.
These workflows use the formats and behavior supported by this implementation.
Start a new Java model from a representative response object. Include examples of the nested fields your application actually receives.

Nested objects and arrays produce inferred model types. One sample does not establish every allowed shape or optional field.

Read the generated source for imports and serializer expectations. Compile it with your own Java version and dependencies.

Keep the output format and conversion policy in view.
A ZIP of plain Java model class files inferred from JSON. Use quicktype to infer nested sample types and render Java classes.
Compare the result with the original before replacing a source file. Conversion limits are listed below.

Check these conditions before relying on the result.
The ZIP keeps one public class per file in package io.quicktype. These are plain types; add your own serializer mapping. Source inference does not define a complete contract or compile the output. Check integer ranges, nullable fields and names in your own project.
Input and results are not stored after leaving or reloading. Keep the original and download any output you need.

Check a local Swagger 2.0, OpenAPI 3.0 or OpenAPI 3.1 document for schema errors and broken internal references. Read the reported paths without querying your API.
Open toolConvert a supported WOFF font to a TrueType container while keeping its table content. Use a font you have permission to convert and review the downloaded TTF.
Open toolDraft proto3 messages from a JSON sample. Review inferred scalar types, nested messages and numbered fields before adopting the schema in a protocol.
Open toolChoose another tool for your next calculation, conversion, or text task.
Inspect quoted CSV cells in a readable table without uploading your data.
Open toolCheck CSV quoting and consistent column counts, then review the record count and selected delimiter.
Open toolCompare two JSON values by structure. See changed paths without treating object key order as a difference.
Open toolValidate JSON against a draft-07 or 2020-12 schema. Review error paths without sending the documents to a server.
Open toolGenerate the supported output, review it, and save a copy for your next step.
Answers about using JSON to Java class Generator and understanding its results.
It produces a ZIP of plain Java model class files inferred from JSON. The ZIP keeps one public class per file in package io.quicktype. These are plain types; add your own serializer mapping. Source inference does not define a complete contract or compile the output. Check integer ranges, nullable fields and names in your own project.
Processing runs in this browser with local bundled libraries. No input is sent to a conversion server. Download your result before leaving the page.