Skip to content
JS
Alternatives

typebox alternatives

8 packages that do the same job as typebox: ts-json-schema-generator, json-schema-typed, zod, valibot, superstruct, typanion, json-schema-to-typescript, @zodios/core. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
typebox
This package
8.2m+56221%-06 days agoESM onlyBundled-
ts-json-schema-generator687.5k+116%-86 months agoCommonJSBundled-
json-schema-typed38.2m+3031%-010 months agoESM onlyBundled-
zod211.9m+403%-011 days agoESM + CommonJSBundled-
valibot13.4m+704%-015 days agoESM + CommonJSBundled-
superstruct4.7m+93%-02 years agoESM + CommonJSBundled-
typanion3.5m+71%-03 years agoCommonJSNone-
json-schema-to-typescript2.6m+127%-828 days agoCommonJSBundled-
@zodios/core270.5k--03 years agoESM + CommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

Generate JSON schema from your Typescript sources

Compared with typebox

  • 12x fewer weekly downloads (687.5k vs 8.2m)
  • 8 dependencies vs 0
  • CommonJS vs ESM only
  • Declares Node.js >=22.0.0 vs none declared
  • Last release 4 Mar 2026 vs 18 Sept 2026
  • 4.1x fewer GitHub stars (1.7k vs 7k)

JSON Schema TypeScript definitions with complete inline documentation.

Compared with typebox

  • 4.7x more weekly downloads (38.2m vs 8.2m)
  • Last release 17 Nov 2025 vs 18 Sept 2026
  • 60x fewer GitHub stars (117 vs 7k)

TypeScript-first schema declaration and validation library with static type inference

Compared with typebox

  • 26x more weekly downloads (211.9m vs 8.2m)
  • ESM + CommonJS vs ESM only
  • Last release 13 Sept 2026 vs 18 Sept 2026
  • 6.3x more GitHub stars (44k vs 7k)

The modular and type safe schema library for validating structural data

Compared with typebox

  • 1.6x more weekly downloads (13.4m vs 8.2m)
  • ESM + CommonJS vs ESM only
  • Last release 9 Sept 2026 vs 18 Sept 2026
  • 1.3x more GitHub stars (9k vs 7k)

A simple and composable way to validate data in JavaScript (and TypeScript).

Compared with typebox

  • 1.7x fewer weekly downloads (4.7m vs 8.2m)
  • ESM + CommonJS vs ESM only
  • Declares Node.js >=14.0.0 vs none declared
  • Last release 6 Jul 2024 vs 18 Sept 2026
  • About the same number of GitHub stars (7.1k vs 7k)

Simple runtime TypeScript validator library

Compared with typebox

  • 2.3x fewer weekly downloads (3.5m vs 8.2m)
  • CommonJS vs ESM only
  • No types vs bundled types
  • Last release 6 Aug 2023 vs 18 Sept 2026
  • 25x fewer GitHub stars (274 vs 7k)

compile json schema to typescript typings

Compared with typebox

  • 3.1x fewer weekly downloads (2.6m vs 8.2m)
  • 8 dependencies vs 0
  • CommonJS vs ESM only
  • Declares Node.js >=16.0.0 vs none declared
  • Last release 28 Aug 2026 vs 18 Sept 2026
  • 2.1x fewer GitHub stars (3.3k vs 7k)

Typescript API client with autocompletion and zod validations

Compared with typebox

  • 30x fewer weekly downloads (270.5k vs 8.2m)
  • ESM + CommonJS vs ESM only
  • Last release 22 Aug 2023 vs 18 Sept 2026
  • 3.6x fewer GitHub stars (1.9k vs 7k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.