Skip to content

Mockoon

A free, open-source app for creating fake REST APIs on your own computer, so front-end work and tests do not have to wait for a real back end.

Open tool
Category
Development
Evaluated by
Lay Shah

Curated external tool · Open source (MIT) · Reviewed November 2026

Mockoon lets you create a fake version of an API on your own computer. You set up routes and the responses they return, then point your app at it. That means front-end work and tests can carry on before the real back end exists, or while it is down.

Official links: Visit Mockoon · Documentation · GitHub repository.

What it does

  • Routes with any method, status code, headers and response body.
  • Response templates that can use values from the request, so answers are not all identical.
  • Added delays and error responses, to test how your app behaves on a slow or failing API.
  • A proxy mode that passes unknown routes on to a real server.
  • Mock setups saved as JSON files, which you can commit to Git with the rest of the project.

Using it in automated tests

The same mock you build in the desktop app can run without a screen through the command-line tool, @mockoon/cli, or the official Docker image. That makes it easy to start a known, predictable API at the beginning of a test run in GitHub Actions or GitLab CI.

It works offline and does not need an account.

Things to know before you choose it

  • It is built for REST APIs. Long, multi-step flows where each request changes what the next one returns take extra setup.
  • For gRPC or other non-HTTP protocols you will need a different tool.
  • A mock is only as good as its responses. Keep them in step with the real API, or tests will pass against something that no longer exists.

Where it fits

It suits front-end developers who need to build screens before the API is ready, and anyone who wants reliable integration tests that do not depend on a shared staging server.

All tools

Next tool Uptime Kuma