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 toolInfer TypeScript interfaces from a JSON sample. Copy or download the nested definitions, then review optional fields and number precision against your actual API.
Enter the inputs, then select Generate interfaces.
Result will appear here
Use quicktype to infer object structures, arrays and nullable types.
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 TypeScript interfaces inferred from a JSON sample. 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.
Generate interfaces from a representative response before writing application code. Include an object array when several records show optional fields.

Inspect inferred arrays, nested objects and nullable values. Sample inference cannot discover shapes that are absent from the input.

Compare the definitions with the API contract and compile them in your project. Large integers should be represented as strings when JavaScript cannot preserve them.

Keep the output format and conversion policy in view.
TypeScript interfaces inferred from a JSON sample. Use quicktype to infer object structures, arrays and nullable types.
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 output is sample-derived source, not a verified API contract. Review optional fields and numeric precision. This page does not compile or execute TypeScript.
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 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.
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 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 TypeScript interface Generator and understanding its results.
It produces TypeScript interfaces inferred from a JSON sample. The output is sample-derived source, not a verified API contract. Review optional fields and numeric precision. This page does not compile or execute TypeScript.
Processing runs in this browser with local bundled libraries. No input is sent to a conversion server. Download your result before leaving the page.