# 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 jasoniangreen dependabot[bot] PBug90 blakeembrey sambauers 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 orgads papb philsturgeon carlo-quinonez radekmie merlindorin Romakita rbuckton ryanmeador mighty1231 simon04 SirLich krenor stuartpb TIBCOeddie bearmini ahmdsolmn dzuremar mxsgx m00s mbroadst MattiAstedrone MikeRalphson tyok MrJithil mychaelgo natflow nwoltman blottn nimerritt nicksrandall Noam3kCH eventlistener Opticsponge jonganc jsdevel oldmud0 ossdev07 pskfyi qwertyforce rek sahilda schokotets superfaz tridium vlbee aladdin-add wyfo duxing anchnk ChALkeR not-an-aardvark thernstig TommyDew42 koba04 isTravis cvlab vargaeric villasv aristov billytrend byr-gdp cjancsar dfeufel ehmicky fpicalausa franrolando fridays smithc10 caub dalcib dannyb648 dancasey rotu FunkyDck darcyparker daveisfera dsanders11 Delapouite dimitropoulos keyten thetric rubiagatra forivall ecwyne alexanderjsx Alexsey avanelli anslzo asprouse andyscott vixalien kulakowka wetneb vendeza benasher44 bradjones1 eventualbuddha cbrwflo cpillsbury ChuntaoLu delavara jonathanGB josdejong jboavida justinpowers kapouer lehni platinumazure kpping laurens johanlelan leonardovillela LinusU alazyzombie jsbrain Eomm VIEWVIEWVIEW mduu EtaiG gj rgeerts garrows gurgunday hadrien-toma seriousme hans-kinnek handrews is2ei idangozlan ivansieder P0lip JamesJansson mrjgreen jrr jonasfj