Skip to content
SPECIFICTION
Get listed

Ajv

ajv.js.org

Free plan WebSelf-hosted
Visit ajv.js.org
Spec score 8.0 #10 of 29 in JSON Tools

Spec sheet

What it does
Ajv validates JSON data against declarative JSON Schema or JSON Type Definition schemas by compiling them into JavaScript code.Read 8 Oct 2026 · ajv.js.org
Deployment
Ajv can run server-side in Node.js or in browsers, and can generate standalone validation code for deployment with an application.Read 8 Oct 2026 · ajv.js.org
Integrations
Ajv documents use in Node.js, browsers, Electron apps, and WeChat mini-apps, and provides plugins such as ajv-formats, ajv-errors, and ajv-i18n.Read 8 Oct 2026 · ajv.js.org
Security
Ajv warns that schemas from untrusted sources can create performance and security risks and recommends limiting schema size and depth.Read 8 Oct 2026 · ajv.js.org
Support
Ajv is included in a Tidelift subscription for centralized support in addition to support from maintainers.Read 8 Oct 2026 · github.com
License
The project is distributed under the MIT License, which permits use, copying, modification, distribution, sublicensing, and sale subject to its terms.Read 8 Oct 2026 · ajv.js.org
Browser CSP limitation
Runtime compilation in a browser with Content Security Policy requires 'unsafe-eval'; standalone precompiled code is an alternative described by the docs.Read 8 Oct 2026 · ajv.js.org
Creator
The project news identifies Evgeny Poberezkin as Ajv's creator.Read 8 Oct 2026 · ajv.js.org
Format validation limitation
JSON Schema formats are supplied by the separate ajv-formats plugin, and the docs caution that some format regular expressions may be unsafe with untrusted data.Read 8 Oct 2026 · ajv.js.org
JSON parsing and serialization
Ajv can compile parsers and serializers from JSON Type Definition schemas.Read 8 Oct 2026 · ajv.js.org
Performance
Ajv generates optimized validation functions, and its documented model compiles schemas once for repeated validation.Read 8 Oct 2026 · ajv.js.org
Standards
It supports JSON Schema drafts 04, 06, 07, 2019-09, and 2020-12, as well as JSON Type Definition.Read 8 Oct 2026 · ajv.js.org
TypeScript
Compiled validation functions can act as type guards, and Ajv provides TypeScript utility types for schemas and data.Read 8 Oct 2026 · ajv.js.org

Plans and prices

Ajv Free Free to use under the MIT License JavaScript JSON Schema and JSON Type Definition validation · no hosted service or usage limits stated Read 8 Oct 2026 · ajv.js.org

Every Ajv plan and price →

Where Specifiction places it

Alternatives to AjvAll alternatives →