10 Best JavaScript Validation Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

react-hook-form

📋 React Hooks for forms validation (Web + React Native)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
99
Top Feedback
43Great Documentation
37Easy to Use
37Performant
GitHub Stars
24K
Weekly Downloads
1M
Last Commit
21hrs ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
vv

vee-validate

✅ Form Validation for Vue.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
11
Top Feedback
6Great Documentation
3Easy to Use
3Highly Customizable
GitHub Stars
9K
Weekly Downloads
337K
Last Commit
19hrs ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

validator

String validation

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
17
Top Feedback
6Great Documentation
5Easy to Use
2Performant
GitHub Stars
18K
Weekly Downloads
6M
Last Commit
13d ago
Bundle Size (min+gzip)
26.6KB
Not Tree-Shakeable
sup

superstruct

A simple and composable way to validate data in JavaScript (and TypeScript).

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
5K
Weekly Downloads
327K
Last Commit
6d ago
Bundle Size (min+gzip)
3.25KB
Tree-Shakeable
yup

yup

Dead simple Object schema validation

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
30
Top Feedback
15Easy to Use
11Performant
10Great Documentation
GitHub Stars
15K
Weekly Downloads
2M
Last Commit
3d ago
Bundle Size (min+gzip)
18.1KB
Tree-Shakeable

class-validator

Decorator-based property validation for classes.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
7
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
7K
Weekly Downloads
1M
Last Commit
2d ago
Bundle Size (min+gzip)
53.8KB
Tree-Shakeable

joi

The most powerful data validation library for JS

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.5/ 5
41
Top Feedback
18Great Documentation
18Easy to Use
12Performant
GitHub Stars
18K
Weekly Downloads
4M
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

formik

Build forms in React, without the tears 😭

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.4/ 5
139
Top Feedback
31Great Documentation
24Easy to Use
20Performant
GitHub Stars
29K
Weekly Downloads
2M
Last Commit
19d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@hookform/resolvers

📋 Validation resolvers: Zod, Yup, Joi, Superstruct, Vest, class-validator, io-ts, typanion, and nope.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Performant
GitHub Stars
385
Weekly Downloads
353K
Last Commit
5d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@ngx-formly/core

JSON powered / Dynamic forms for Angular

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
3
Top Feedback
4Great Documentation
2Performant
1Easy to Use
GitHub Stars
2K
Weekly Downloads
45K
Last Commit
2d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

vuelidate

Simple, lightweight model-based validation for Vue.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
2
Top Feedback
N/A
GitHub Stars
6K
Weekly Downloads
241K
Last Commit
12d ago
Bundle Size (min+gzip)
3.48KB
Not Tree-Shakeable

react-final-form

🏁 High performance subscription-based form state management for React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
6
Top Feedback
1Great Documentation
1Performant
1Highly Customizable
GitHub Stars
7K
Weekly Downloads
352K
Last Commit
13d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

uniforms

A React library for building forms from any schema.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
11K
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

react-jsonschema-form

A React component for building Web forms from JSON Schema.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
3
Top Feedback
3Great Documentation
GitHub Stars
11K
Weekly Downloads
46K
Last Commit
3d ago
Bundle Size (min+gzip)
69.3KB
Not Tree-Shakeable

@braid/vue-formulate

⚡️ The easiest way to build forms with Vue.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
12K
Last Commit
7mos ago
Bundle Size (min+gzip)
20.5KB
Tree-Shakeable

@angular-material-extensions/password-strength

Angular UI library to illustrate and validate a password's strength with material design - Angular V9 supported

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
N/A
GitHub Stars
212
Weekly Downloads
9K
Last Commit
4mos ago
Bundle Size (min+gzip)
3.61KB
Tree-Shakeable

formsy-react

A form input builder and validator for React JS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Performant
GitHub Stars
726
Weekly Downloads
37K
Last Commit
7mos ago
Bundle Size (min+gzip)
7.16KB
Tree-Shakeable
bfu

blueimp-file-upload

File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.4/ 5
24
Top Feedback
2Easy to Use
1Great Documentation
1Performant
GitHub Stars
31K
Weekly Downloads
89K
Last Commit
22d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
cor

@ng-dynamic-forms/core

Rapid form development library for Angular

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
3K
Last Commit
4mos ago
Bundle Size (min+gzip)
11.9KB
Tree-Shakeable
fie

fielder

A field-first form library for React and React Native

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
168
Weekly Downloads
263
Last Commit
7mos ago
Bundle Size (min+gzip)
2.26KB
Tree-Shakeable

jquery-validation

jQuery Validation Plugin library sources

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
3
Top Feedback
1Easy to Use
1Performant
GitHub Stars
10K
Weekly Downloads
139K
Last Commit
1mo ago
Bundle Size (min+gzip)
7.59KB
Not Tree-Shakeable

react-credit-cards

Beautiful credit cards for your payment forms

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
3Poor Documentation
2Easy to Use
2Highly Customizable
GitHub Stars
2K
Weekly Downloads
20K
Last Commit
1yr ago
Bundle Size (min+gzip)
6.08KB
Tree-Shakeable

redux-form

A Higher Order Component using react-redux to keep form state in a Redux store

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
3.3/ 5
18
Top Feedback
6Slow
5Hard to Use
3Great Documentation
GitHub Stars
13K
Weekly Downloads
382K
Last Commit
4mos ago
Bundle Size (min+gzip)
26.4KB
Tree-Shakeable
tfn

tcomb-form-native

Forms library for react-native

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
3K
Last Commit
3yrs ago
Bundle Size (min+gzip)
0.35KB
Not Tree-Shakeable
tf

tcomb-form

Forms library for react

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Performant
1Highly Customizable
GitHub Stars
1K
Weekly Downloads
2K
Last Commit
3yrs ago
Bundle Size (min+gzip)
13.0KB
Not Tree-Shakeable

react-jsonschema-form-conditionals

react-jsonschema-form-conditionals

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Performant
GitHub Stars
87
Weekly Downloads
535
Last Commit
2yrs ago
Bundle Size (min+gzip)
3.69KB
Not Tree-Shakeable
tv

tcomb-validation

Validation library based on type combinators

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
3.0/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
398
Weekly Downloads
560K
Last Commit
4yrs ago
Bundle Size (min+gzip)
5.12KB
Not Tree-Shakeable
nit

ngx-intl-tel-input

Phone number input field to support international numbers, Angular

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
2.0/ 5
1
Top Feedback
N/A
GitHub Stars
161
Weekly Downloads
17K
Last Commit
7mos ago
Bundle Size (min+gzip)
10.9KB
Tree-Shakeable
vr

vue-recaptcha

Google ReCAPTCHA component for Vue.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
699
Weekly Downloads
41K
Last Commit
7d ago
Bundle Size (min+gzip)
1.06KB
Tree-Shakeable
rmu

react-material-ui-form-validator

Simple validator for forms designed with material-ui components.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
2.0/ 5
3
Top Feedback
1Easy to Use
GitHub Stars
303
Weekly Downloads
21K
Last Commit
25d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
inf

informed

A lightweight framework and utility for building powerful forms in React applications

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
538
Weekly Downloads
12K
Last Commit
4mos ago
Bundle Size (min+gzip)
17.1KB
Tree-Shakeable

@rxweb/reactive-form-validators

Tons of extensively featured packages for Angular, VUE and React Projects

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
308
Weekly Downloads
14K
Last Commit
17d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

ngx-valdemort

Simpler, cleaner Angular validation error messages

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
139
Weekly Downloads
733
Last Commit
2d ago
Bundle Size (min+gzip)
2.17KB
Tree-Shakeable

uniforms-material

A React library for building forms from any schema.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
3K
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

angular-formio

JSON powered forms for Angular

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
436
Weekly Downloads
3K
Last Commit
18d ago
Bundle Size (min+gzip)
459.6KB
Tree-Shakeable

uniforms-antd

A React library for building forms from any schema.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
2K
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@ngneat/reactive-forms

(Angular Reactive) Forms with Benefits 😉

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
424
Weekly Downloads
7K
Last Commit
9d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

prop-types-exact

For use with React PropTypes. Will error on any prop not explicitly specified.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
235
Weekly Downloads
2M
Last Commit
3yrs ago
Bundle Size (min+gzip)
4.88KB
Not Tree-Shakeable

@tripolskypetr/react-view-builder

A React form builder which interacts with a JSON endpoint to generate nested 12-column grids with input fields and automatic state management in a declarative style. Endpoint is typed by TypeScript guards (IntelliSense available). This tool is based on material-ui components, so your application will look beautiful on any device...

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
14
Weekly Downloads
127
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

simple-react-validator

A simple react form validator inspired by Laravel validation.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
210
Weekly Downloads
7K
Last Commit
10d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
mrf

mobx-react-form

Reactive MobX Form State Management

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
12K
Last Commit
8mos ago
Bundle Size (min+gzip)
30.0KB
Not Tree-Shakeable
vfo

vform

Handle Laravel-Vue forms and validation with ease.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
544
Weekly Downloads
3K
Last Commit
3mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

availity-reactstrap-validation

Easy to use React validation components compatible for reactstrap.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
182
Weekly Downloads
17K
Last Commit
6mos ago
Bundle Size (min+gzip)
102.9KB
Not Tree-Shakeable

@hapi/joi-date

Joi extensions for dates

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
74
Weekly Downloads
36K
Last Commit
7mos ago
Bundle Size (min+gzip)
72.3KB
Not Tree-Shakeable
jpc

joi-password-complexity

Password complexity validation for Joi

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
47
Weekly Downloads
4K
Last Commit
1mo ago
Bundle Size (min+gzip)
0.96KB
Tree-Shakeable
nmi

ngx-mat-intl-tel-input

An Angular Material package for entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
40
Weekly Downloads
5K
Last Commit
9mos ago
Bundle Size (min+gzip)
49.2KB
Tree-Shakeable

jquery-validation-unobtrusive

Add-on to jQuery Validation to enable unobtrusive validation options in data-* attributes.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
215
Weekly Downloads
23K
Last Commit
3d ago
Bundle Size (min+gzip)
38.9KB
Not Tree-Shakeable
rnp

react-native-paper-form-builder

React Native Paper Form Builder with inbuilt Validation, dropdown, autocomplete, checkbox, switch and radio inputs.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
85
Weekly Downloads
219
Last Commit
3mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
ncv

ngx-custom-validators

Angular custom directives for validation

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
123
Weekly Downloads
12K
Last Commit
10mos ago
Bundle Size (min+gzip)
3.96KB
Tree-Shakeable
rfv

react-form-validator-core

Core validator component for react forms

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
92
Weekly Downloads
24K
Last Commit
8mos ago
Bundle Size (min+gzip)
5.77KB
Not Tree-Shakeable