Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

express-validator

Express middleware for input validation and sanitization.

Forms, validation and schemasNPM

GitHubWebsite

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What express-validator does

Express middleware for input validation and sanitization.

express-validator popularity

55 / 100
Gid Score, #1441 overall
2.1M
downloads a week, npm
6,230
GitHub stars
14
agent projects use it
express-validator: downloads per weeknpm, express-validator 2,139,101
express-validator: GitHub starsexpress-validator/express-validator 6,230

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How express-validator is used

  • express-validator is a dependency in 14 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 41 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Zod (1,582 projects).
  • Projects that use it most often also use Express (100.0%), dotenv (90.2%), cors (82.9%).

By coding agent

11 projects, 0.4%
8 projects, 0.2%

Often used with

In 100.0% of its projects
In 90.2% of its projects
In 82.9% of its projects
In 65.9% of its projects
In 65.9% of its projects
In 53.7% of its projects
In 46.3% of its projects
In 43.9% of its projects

More about express-validator

Funding
  • GitHub Sponsors: https://github.com/express-validator
  • Open Collective: https://opencollective.com/express-validator

See all

More in Forms, validation and schemas

Alternatives

express-validator This page

MITGid 552.1M/wk

Zod

TypeScript-first schema validation library with static type inference.

MITGid 89471M/wk

Ajv

Fast JSON Schema validator for runtime schema validation and serialization.

MITGid 78547M/wk

Valibot

Modular and type-safe schema validation library for structural data with minimal bundle size.

MITGid 6836M/wk

TypeBox

JSON Schema type builder with static type resolution for TypeScript validation.

MITGid 5817M/wk

zod-validation-error

Format Zod validation errors into user-friendly readable messages.

MITGid 6081.9M/wk

Yup

Simple schema validation library for JavaScript with chainable API and error handling.

MITGid 6916.6M/wk

class-validator

Decorator-based property validation for classes with TypeScript support.

MITGid 6718.2M/wk

Compare express-validator with another tool

Get started

Install it.

npm install express-validator

No step-by-step start for express-validator yet: we have not written its hand-checked card.