API Response Schema Generator
Turn a JSON API response into OpenAPI, JSON Schema or TypeScript.
Example JSON response
Paste a real response body
Generated schema
About the API Response Schema Generator
Paste a sample API response and instantly get an OpenAPI 3 schema, a JSON Schema draft document or TypeScript interfaces — with nullable detection, array item merging, format inference for dates, emails and UUIDs, and optional example values.
Examples
User payload
{"id":1,"email":"a@b.com"}Output
type: object · properties: id (integer), email (string, format: email)Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
API Breaking Change Detector
API & HTTP
Diff two OpenAPI specs and flag breaking changes.
API Changelog Generator
API & HTTP
Generate a Markdown changelog from two OpenAPI versions.
API Consistency Auditor
API & HTTP
Audit an API for naming, casing and response consistency.
API Contract Analyzer
API & HTTP
Lint an OpenAPI or Swagger spec for contract quality issues.
cURL Command Parser
API & HTTP
Parse a curl command into method, URL, headers, and body.
cURL to Fetch Converter
API & HTTP
Convert a curl command into JavaScript fetch() code.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-20 · Runs entirely in your browser