# Ajv JSON schema validator

# Security and reliability for JavaScript applications

# Write less code

Ensure your data is valid once it is received

# Super fast & secure

Compiles your schemas to optimized JavaScript code

# Multi-standard

Use JSON Type Definition or JSON Schema

Ajv is used by a large number of JavaScript applications and libraries in all JavaScript environments - Node.js, browser, Electron apps, WeChat mini-apps etc.

It allows implementing complex data validation logic via declarative schemas for your JSON data, without writing code.

Out of the box, Ajv supports JSON Schema (drafts 04, 06, 07, 2019-09 and 2020-12) and JSON Type Definition (RFC8927 (opens new window)).


Learn Ajv

# What users say

Ajv stands out as the implementation of choice - it provides a rich API which many thousands of people use in production... Ajv is partly responsible for the success of JSON Schema.

Ben Hutton (opens new window), JSON Schema Specification Lead

ESLint (opens new window) has used Ajv for validating our complex configurations. Ajv has proven to be reliable over the years we’ve been using it and ESLint is proud to sponsor Ajv’s continued development.

Nicholas C. Zakas (opens new window), ESLint creator and TSC member

All quotes

# News

Microsoft FOSS award

Ajv was awarded a sponsorship from Microsoft FOSS fund - huge thanks to Microsoft and the engineers who voted to support Ajv development.

This award will contribute to a long term maintenance of Ajv.

Ajv online event video uploaded

Huge thanks to everybody who joined, and to the speakers! The video of the event is available on YouTube.

Ajv online event - May 20, 10am PT / 6pm UK

We will talk about:

  • new features of Ajv version 8.
  • the improvements sponsored by Mozilla's MOSS grant.
  • how Ajv is used in JavaScript applications.

Speakers:

  • Evgeny Poberezkin, the creator of Ajv.
  • Mehan Jayasuriya, Program Officer at Mozilla Foundation, leading the MOSS and other programs investing in the open source and community ecosystems.
  • Matteo Collina, Technical Director at NearForm and Node.js Technical Steering Committee member, creator of Fastify web framework.
  • Kin Lane, Chief Evangelist at Postman. Studying the tech, business & politics of APIs since 2010. Presidential Innovation Fellow during the Obama administration.
  • Ulysse Carion, the creator of JSON Type Definition specification.

Gajus Kuizinas will host the event.

Please register here.

All news

# Contributors

Ajv is free to use and open-source that many developers contributed to. Join us!

epoberezkin jr-simplex erikbrinkman PBug90 blakeembrey sambauers gajus meirotstein dependabot[bot] RadiationSickness domoritz asaid-0 franciscomorais GrahamLea yume-chan boenrobot willfarrell dcbrwn b4h0-c4t igor-savin-ht imbstack pithu realityking awlayton brendo HotelDon donaldpipowitch mummybot Fdawgs G-Rath HolgerJeromin monkeywithacupcake ktrueda lucassaid marshall007 mattpolzin MichaelDeBoey Nonemoticoner pcwiek rehanvdm farrago SoAsEr kroky Delagen YChebotaev bhvngt t7yang teq0 wuweiss efebarlas zekth ahmdsolmn Alexsey anslzo asprouse andyscott kulakowka vendeza eventualbuddha cbrwflo cpillsbury ChuntaoLu delavara caub dalcib dancasey darcyparker daveisfera Delapouite dimitropoulos keyten thetric rubiagatra forivall ecwyne EtaiG egfx-notifications gj rgeerts garrows seriousme hans-kinnek handrews idangozlan ivansieder P0lip JamesJansson mrjgreen jrr jonasfj jonathanGB jboavida justinpowers kapouer lehni platinumazure kpping johanlelan leonardovillela LinusU alazyzombie jsbrain Eomm mduu dzuremar mxsgx m00s mbroadst MattiAstedrone MikeRalphson tyok MrJithil mychaelgo natflow nwoltman nimerritt nicksrandall Noam3kCH eventlistener Opticsponge orgads papb philsturgeon carlo-quinonez radekmie RobDesideri merlindorin Romakita rbuckton ryanmeador mighty1231 simon04 SirLich krenor stuartpb lyngaas TIBCOeddie bearmini not-an-aardvark thernstig koba04 isTravis cvlab villasv billytrend byr-gdp cjancsar dfeufel ehmicky fpicalausa franrolando fridays jonganc jsdevel oldmud0 ossdev07 pskfyi qwertyforce rek sahilda schokotets superfaz tridium vlbee aladdin-add wyfo duxing anchnk ChALkeR