compare
Express vs Fastify
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Express | Fastify |
|---|---|---|
| Language | JavaScript | JavaScript |
| Licence | MIT | MIT |
| Stars | 70k | 37k |
| Latest | v5.3.0 | v5.12.8 |
| Last push | 2026-11-19 | 2026-11-21 |
| Release cadence | about 75 days between releases | about 10 days between releases |
| Active contributors | 13 commit authors on the default branch in the last 90 days | 38 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Fastify replaces Express. Alternatives to Express →
Full replacementSchema-based validation and serialisation, and a plugin system.
Published benchmarks, each linked to its source. The numbers depend on the hardware and the workload they were measured on.
Hello-world HTTP throughput with autocannon
Node v24, 4 vCPUs, 100 connections: Fastify 5.12.5 50372.8 req/s, Express 5.2.1 27474.4 req/s.
Express
- v5.3.02026-10-09Fixed HTTP header conflict between Content-Length and Transfer-Encoding in res.send - by @YuryShkoda in #4893
- v4.22.32026-09-14Update path-to-regexp to 0.1.13 to fix CVE-2026-4867
- v4.22.22026-05-11fix: restore >20 array parsing for req.query repeated keys (8d09bfe6)
- v5.2.12025-12-01> [!IMPORTANT]
- v4.22.12025-12-01> [!IMPORTANT]
Fastify
- v5.12.82026-11-02Fix for
- v6.0.0-alpha.62026-11-02feat: add routerOptions.compile to use find-my-way compiler modepre-release
- v5.12.72026-10-13
- v6.0.0-alpha.52026-10-16docs: clarify headers validation is additive, not a sanitized viewpre-release
- v5.12.62026-10-13Fix for
Express
✓ signed The latest release, v5.3.0, carries a signature GitHub verified.
Loading the security report
Fastify
✓ signed The latest release, v5.12.8, carries a signature GitHub verified.
Loading the security report