Mockoon is the easiest and quickest way to design and run mock APIs. No remote deployment, no account required, free and open-source.
It combines a desktop application to design and run mock servers locally, and a CLI to self-host your fake APIs. Mockoon Pro adds a private, self-hosted platform for team collaboration, data synchronization, and managed mock deployments.
API mocking helps you speed up development and third-party API integration by reducing dependency on external services and their limitations: rate limits, costs, availability, etc. It also allows you to test your applications in a controlled environment with predictable responses, status codes, and latencies, and easily simulate edge cases and error scenarios. Finally, you can onboard new team members faster by providing them with a consistent and reliable environment to test and develop their applications.
➡️ Download
Features
Mockoon offers many features:
- Unlimited number of mock local servers and routes
- CLI to run your mock in headless environments, CI, etc.
- Complete control on routes definition: HTTP methods and statuses, regex paths, file serving, custom headers, etc.
- OpenAPI compatibility
- Record/logs of all entering and forwarded requests
- JSON templating
- Proxy forwarding mode
- HTTPS support
You can check the complete list on the website.
Download the desktop application
You can get Mockoon desktop's latest release directly from this repository or on the official website. Mockoon desktop is also available through:
MacOS:
- Homebrew:
brew install --cask mockoon.
Windows:
- winget:
winget install mockoon. - Chocolatey:
choco install mockoon. - Windows Store
Linux:
- Snap store:
snap install mockoon. - AUR:
yay -S mockoon-bin.
Install the CLI and Docker image
Mockoon CLI is available as an NPM package and as an official Docker image (mockoon/cli). Please check our CLI documentation and Docker documentation to learn how to install and use them.
Use in cloud functions and serverless environments
To run Mockoon in cloud functions and serverless environments (AWS Lambda, Google Cloud Run, AWS Fargate, Azure Container Apps, etc.), we recommend running the official Mockoon CLI Docker image (mockoon/cli). Please check our Docker documentation for setup guides.
Note: The legacy
@mockoon/serverlesspackage is deprecated. See the serverless package documentation for migration information.
Support us!
Mockoon is proudly independent and open-source, maintained without external funding. We rely on both sponsorships and Mockoon Pro licenses to keep improving the project and building new features. A big thank you to the companies below for supporting our work and helping us grow (and all the sponsors who helped this project over time!):
Platinum
Gold
Silver
If you'd like to support Mockoon as well, you can become a sponsor or purchase Mockoon Pro licenses. Every contribution helps keep the project alive and evolving. Thank you!
Discover Mockoon Pro
Mockoon Pro is a private, self-hosted platform for teams that need to keep their API mocking workflows and data under their control:
- Deploy on-premises, in a private cloud, or on an isolated network
- Synchronize data and collaborate in real time
- Deploy and manage mock API instances
- Use the embedded web application
- Manage users with local authentication or OIDC SSO
- Review administrative and workspace events in the audit trail
Start a free trial or learn more about Mockoon Pro.
Mockoon's documentation
You will find Mockoon's documentation on the official website. It covers Mockoon's most complex features. Feel free to contribute or ask for new topics to be covered.
Changelogs
You will find Mockoon applications changelogs on the official website.
Support/feedback
You can discuss all things related to Mockoon and ask for help on the official community. It's also a good place to discuss bugs and feature requests before opening an issue on this repository.
Contributing
If you are interested in contributing to Mockoon, please take a look at the contributing guidelines.
Please also take a look at our Code of Conduct.
Roadmap
If you want to know what will be coming in the next release you can check the global Roadmap or subscribe to our newsletter.

