Skip to content
Fabric is here

Generate SDKs forall your APIs

Transform your OpenAPI specifications into type-safe TypeScript code, React Query hooks, Zod validators, Faker.js mocks, and more.

$

Works seamlessly with

Two Powerful Tools

Choose the right tool for your needs or use them together for maximum productivity

Kubb

OpenAPI to TypeScript, React-Query, Zod, Faker.js, ...

The ultimate toolkit for generating type-safe API clients, hooks, validators, and mock data from your OpenAPI specifications.

  • React Query & SWR hooks
  • Zod validators
  • Faker.js mock data
  • MSW handlers
  • TypeScript types
  • Axios clients

Fabric

A language-agnostic toolkit for code generation.

A language-agnostic engine for generating any code or file with JSX and TypeScript. The foundation that powers Kubb.

  • JSX-based templates
  • TypeScript support
  • Plugin system
  • File management
  • AST transformation
  • Custom parsers

From OpenAPI to Type-Safe Code

Kubb transforms your OpenAPI specification into production-ready TypeScript code with a powerful plugin system

Powerful Plugin Ecosystem

Generate exactly what you need with our extensive plugin library

View all plugins

From Spec to Code

Watch how Kubb transforms your OpenAPI specification into production-ready code.

petstore.yaml

Trusted by developers worldwide

Join thousands of developers using Kubb and Fabric to generate type-safe code

Kubb@kubb/core
npm
Loading...
Total Downloads (Year)
...Weekly
14+Plugins
Fabric@kubb/fabric-core
npm
Loading...
Total Downloads (Year)
...Weekly
6+Plugins
3+Parsers

Growing Fast

0+
GitHub Stars
0+
Contributors
14+
Official Plugins
0
Yearly Downloads

Backed by amazing sponsors

Support the development of Kubb and help us build the future of API code generation.

Loading sponsors...

Released under the MIT License.