compare
Ajv vs Valibot
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Ajv | Valibot |
|---|---|---|
| Language | TypeScript | TypeScript |
| Licence | MIT | MIT |
| Stars | 15k | 9.1k |
| Latest | v8.20.0 | v1.5.0 |
| Last push | 2026-09-06 | 2026-11-21 |
| Release cadence | about 35 days between releases | about 11 days between releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 21 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Zod. Alternatives to Zod →
PartialAjvValidates against JSON Schema documents, with no built-in TypeScript type inference from the schema.
Full replacementValibotModular, tree-shakeable schemas with type inference, and a Zod migration guide.
Ajv
- v8.20.02026-04-24fix: add support for node 22/24, drop node 16/21
- v8.19.02026-04-24fix prototype pollution via format keyword using $data ref
- v8.18.02026-02-14feat: allow tree-shaking by adding "sideEffects": false to package.json
- v8.17.12024-07-12bump version to 8.17.1
- v8.17.02024-07-10The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second att…
Valibot
- v1.3.0-i18n2026-09-14v1.3.0 (i18n)
- v1.8.0-to-json-schema2026-09-11v1.8.0 (to-json-schema)
- v1.5.02026-09-09Many thanks to @tats-u, @idleberg, @yslpn, @francisjohnjohnston-web, @MaxFreedomPollard, @mahirhir, @ItzXynx, @LeSingh1…
- v1.4.22026-06-28Many thanks to @Faze-up and @chatman-media for contributing to this release.
- v1.7.1-to-json-schema2026-06-08v1.7.1 (to-json-schema)
Ajv
✓ signed The latest release, v8.20.0, carries a signature GitHub verified.
Loading the security report
Valibot
✓ signed The latest release, v1.5.0, carries a signature GitHub verified.
Loading the security report