Suggest a tool

Mock Service Worker alternatives: 8 open-source test data and mocking tools

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

About Mock Service Worker

Mock Service Worker is a listed test data and mocking tool: API mocking library for JavaScript that intercepts requests at the network level in browsers and Node.js.

Order: Listed tools in the same category, with tools in the same primary language (GitHub API) first, then by GitHub stars. Each line gives one fact from the tool's own documentation where it differs from what Mock Service Worker's documentation states, with its source.

8 alternatives to Mock Service Worker

Repository metrics

Mock Service Worker and its alternatives. Sorted by GitHub stars, descending, descending. Select a column heading to change the sort.
JSON Server75,71512026-03-231v1.0.0-beta.152026-03-231MITJavaScriptslow
Faker19,40512026-09-141v40.39.02026-09-151MITPythonactive
Mock Service Worker18,21612026-07-081v2.15.02026-09-081MITTypeScriptactive
@faker-js/faker15,49312026-08-141v10.6.02026-09-221MITTypeScriptactive
Mockito15,45712026-03-111v5.23.02026-09-091MITJavaactive
Nock13,12612026-07-301v14.0.172026-07-301MITJavaScriptactive
Mockoon8,41712026-09-161v9.9.02026-09-201MITTypeScriptactive
Prism5,03412026-07-171v5.16.02026-09-211Apache-2.0TypeScriptactive
Testcontainers for Node.js2,61312026-08-041v12.1.02026-09-211MITTypeScriptactive

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Comparisons with Mock Service Worker