🌐
Validatejs
validatejs.org
validate.js
Validate.js provides a declarative way of validating javascript objects.
🌐
npm
npmjs.com › package › validator
validator - npm
A library of string validators and sanitizers.
      » npm install validator
    
Published   Dec 18, 2025
Version   13.15.26
Author   Chris O'Hara
🌐
GitHub
github.com › hapijs › joi
GitHub - hapijs/joi: The most powerful data validation library for JS · GitHub
The most powerful data validation library for JS. Contribute to hapijs/joi development by creating an account on GitHub.
Starred by 21.2K users
Forked by 1.5K users
Languages   JavaScript 97.5% | TypeScript 2.5%
🌐
Pristine
pristine.js.org
Pristine - Vanilla javascript form validation library | Pristine
<script src="dist/pristine.js" type="text/javascript"></script> ... window.onload = function () { var form = document.getElementById("form1"); // create the pristine instance var pristine = new Pristine(form); form.addEventListener('submit', function (e) { e.preventDefault(); // check if the form is valid var valid = pristine.validate(); // returns true or false }); };
🌐
DEV Community
dev.to › shanu001x › top-5-validation-libraries-for-javascript-in-2024-35la
Top 5 Validation Libraries for JavaScript in 2024 - DEV Community
August 3, 2024 - In 2024, the choice of the best validation library depends on your specific needs. Zod stands out for its rapid growth and TypeScript support. Joi and Yup are excellent for server-side and client-side validation. Validator.js is perfect for straightforward string validation, and class-validator is great for TypeScript and NestJS projects.
🌐
Parsleyjs
parsleyjs.org
Parsley - The ultimate JavaScript form validation library
Parsley, the ultimate frontend javascript form validation library
🌐
Rickharrison
rickharrison.github.io › validate.js
validate.js
Lightweight form validation library in JavaScript ready to include in any web application.
🌐
CSS Script
cssscript.com › home › 10 best pure javascript form validation libraries (2026 update)
10 Best Pure JavaScript Form Validation Libraries (2026 Update) - CSS Script
January 4, 2026 - A list of 10 best and most downloaded JavaScript Form Validation libraries (without any 3rd dependencies such as jQuery) to validate your HTML form with custom error messages, CSS styles, validation rules and more.
Find elsewhere
🌐
Jqueryvalidation
jqueryvalidation.org
jQuery Validation Plugin | Form validation with jQuery
This jQuery plugin makes simple clientside form validation easy, whilst still offering plenty of customization options. It makes a good choice if you’re building something new from scratch, but also when you’re trying to integrate something into an existing application with lots of existing ...
🌐
GitHub
github.com › mikeerickson › validatorjs
GitHub - mikeerickson/validatorjs: A data validation library in JavaScript for the browser and Node.js, inspired by Laravel's Validator. · GitHub
A data validation library in JavaScript for the browser and Node.js, inspired by Laravel's Validator. - mikeerickson/validatorjs
Starred by 1.8K users
Forked by 283 users
Languages   JavaScript 98.5% | Shell 1.5%
🌐
GitHub
github.com › imbrn › v8n
GitHub - imbrn/v8n: ☑️ JavaScript fluent validation library
Use v8n to validate your data regardless of its type. You can validate primitives, arrays, objects and whatever you want!
Starred by 4.2K users
Forked by 108 users
Languages   JavaScript 97.8% | TypeScript 1.7% | Shell 0.5% | JavaScript 97.8% | TypeScript 1.7% | Shell 0.5%
🌐
Byby
byby.dev › js-object-validators
Top 10 JavaScript Data Validation Libraries
Ajv (13.5k ⭐) — A JSON Schema validator for Node.js and browser, implements full JSON Schema, asynchronous loading of referenced schemas during compilation, etc. Superstruct (6.9k ⭐) — Makes it easy to define interfaces and then validate JavaScript data against them. Its type annotation API was inspired by Typescript, Flow, Go, and GraphQL, giving it a familiar and easy to understand API. v8n (4.2k ⭐) — Fluent and simple validation library for use in any context.
🌐
Unmanner
unmanner.github.io › travajs
trava js - vanilla javascript validation library
The main goal of the library is to provide highly extendable and customizable way of JavaScript entities validation. Validation often goes along with parsing or transforming values. So coercion feature is included by design into Trava. ... For modern browsers es201X builds are available ...
🌐
Just-validate
just-validate.dev
Modern form validation library written in Typescript | JustValidate
Modern, simple, lightweight (~5kb gzip) form validation library written in Typescript, with no dependencies (no JQuery!). Support a wide range of predefined rules, async, files, dates validation, custom error messages and styles, localization.
🌐
Zod
zod.dev
Intro | Zod
Zod is a TypeScript-first validation library. Using Zod, you can define schemas you can use to validate data, from a simple string to a complex nested object. import * as z from "zod"; const User = z.object({ name: z.string(), }); // some untrusted ...
🌐
GitHub
github.com › CharlGottschalk › approvejs
GitHub - CharlGottschalk/approvejs: A simple JavaScript validation library that doesn't interfere
With a single method (approve.value()), you can decide how to handle validation. If you like to be in control or have a little OCD like me, ApproveJs is for you. ApproveJs is also easily extended with custom tests. Download Latest Release · Unzip master.zip into your desired folder and add a script tag to the library before the end of your closing <body> tag · <script src="path/to/approve.min.js"></script> In your terminal run: $ bower install approvejs ·
Starred by 333 users
Forked by 19 users
Languages   JavaScript 100.0% | JavaScript 100.0%
🌐
Best of JS
bestofjs.org › projects
Validation projects
Validation · SchemaTypesJSON · Form · Configuration · React · Express · String · Functional programming · Vue · shadcn · Remix · File upload · Middleware · Data fetching · OpenAPI · Sort: By total number of stars · Showing 1 - 30 of 32 · 23.7k · Form ·
🌐
ThemeSelection
themeselection.com › home › blog › collections › 10+ helpful javascript form validation library
10+ Helpful JavaScript Form Validation Library - ThemeSelection
February 23, 2024 - Bouncer.js is a lightweight form validation library that augments native HTML5 form validation elements and attributes.
🌐
Medium
medium.com › @dmsharath11 › what-are-some-popular-node-js-libraries-for-data-validation-dc7ee68ed05f
What are some popular Node.js libraries for data validation? | by sharath | Medium
September 18, 2024 - const { body, validationResult ... errors: errors.array() }); } // Handle valid input }); Overview: A library of string validators and sanitizers....