itsez.dev

OpenAPI to TypeScript

Generate TypeScript interfaces from OpenAPI schemas

CategoryConverters
Runs in browserYes

ABOUT

What is OpenAPI to TypeScript?

Read the components.schemas section of an OpenAPI JSON document and generate TypeScript interfaces, aliases, enums, arrays, and references. The result is deliberately focused on data models rather than client generation.

ABOUT US

Small tools, built for the web.

Utilities that run entirely in your browser. No install, no signup, and your data never leaves your machine.

Read more

FAQ

Questions, answered.

Does it generate an API client too?

No. It generates TypeScript data models from components.schemas. Use a dedicated generator when you need requests, hooks, or a fully typed client.

Which OpenAPI versions are supported?

The converter reads the shared schema shape used by OpenAPI 3 and Swagger 2 documents supplied as JSON.

Does it infer missing schemas from endpoint responses?

No. Schemas must be present under components.schemas or definitions.