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