Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

json-server

Free#19 of 26 in API Mocking Tools

json-server: A capable, free local REST mock for JavaScript projects that do not need platform features. Ranked #19 of 26 in API Mocking Tools by our editors (7.2/10); pricing: Open source; best for simple JavaScript REST data mocks.

7.2/10Editor score
json-server7.2 Visit json-server

At a glance

  • Editor score
    7.2 / 10
  • Pricing
    Open source
  • Best for
    Simple JavaScript REST data mocks
  • Paid from
    Free
  • Dynamic responses
    Yes
  • Facts checked
    20 Sep 2026
json-server screenshot
  • Where it wins

    • CRUD routes include filtering, pagination, sorting, and search
    • Relationships, route rewrites, middleware, and static files support richer mocks
    • JavaScript data generation and Express module integration extend its use cases
  • Where it doesn't

    • Supports REST only
    • The main branch documents beta v1 and warns of breaking changes
    • No supplied platform or integration coverage

Our verdict on json-server

json-server is an open-source command-line tool that creates a fake REST API from a JSON or JavaScript data source. It is aimed primarily at front-end developers who need a local back end for prototyping and mocking. The tool runs on a developer’s machine and provides dynamic responses, path and query request matching, local deployment, and programmatic mock-data generation. Its focus is straightforward JavaScript-based REST development rather than a hosted mocking platform.

Its feature depth is stronger than a basic static JSON endpoint. CRUD routes are available for array and singular resources, while query parameters and operators support filtering. Pagination, sorting, slicing, and full-text search help mirror common application requests. Embedded and expanded relationships add structure to related data, and custom route rewrites can shape the API surface. Custom middleware, static-file serving, JavaScript data generation, and Express module integration give developers more control over how the mock fits into a local application.

The main trade-off is scope. json-server supports REST only, with no supplied platform or integration coverage, so teams looking for broader protocol support or a managed ecosystem should choose an alternative. The project also documents beta v1 on its current main branch and warns of breaking changes, while the stable documentation referenced by the project is v0.17.4. Choose json-server when a simple, local JavaScript REST mock is the priority; look elsewhere when hosted workflows, wider integrations, or a broader API-mocking surface are central requirements.

Your product? Our editors can test json-server in depth and publish a review, labelled as paid · from $149/mo →

json-server pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on github.com

json-server fact sheet

Free planNot verified
Paid fromFree
Dynamic responsesYes
OpenAPI importNot verified
Request matchingNot verified
Mock data generationYes
Local deploymentYes
Supported protocolsREST
DeploymentSelf-hosted
Built forSolo, Small business (editorial estimate)
PricingOpen source
Websitegithub.com
Facts checked20 Sep 2026

Alternatives to json-server

See all json-server alternatives →

Used json-server? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used json-server for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — json-server 7.2/10

json-server is listed in our API Mocking Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/json-server/"><img src="https://www.itechguides.com/best/badge/json-server.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update