With one click

Intercept & view all your HTTP(S)

Mock endpoints or entire servers

Rewrite, redirect, or inject errors

HTTP Mock is the latest tool in HTTP Toolkit, a suite of beautiful & open-source tools for debugging, testing and building with HTTP(S), on Windows, Linux & Mac.

Discuss & review HTTP Toolkit now on Product Hunt

Debug

Effortlessly intercept & proxy any HTTP or HTTPS traffic

Search, explore & inspect HTTP requests & responses

One-click setup for Chrome, Node.js, Ruby, Python & more

Test

Edit requests & responses live, to test both APIs & clients

Simulate HTTP errors, timeouts & failed connections

Proxy traffic to edit all HTTP, or mock as a standalone server

Build

Mock servers or endpoints for rapid prototyping

Export ready-to-use requests for curl, fetch & 20 other tools

Automate HTTP using HTTP Toolkit's open-source internals

Intercept

Capture HTTP(S) with zero setup

Automatic interception setup for HTTP & HTTPS from most clients, including browsers like Chrome & Firefox, almost all CLI tools, and backend languages like Node.js, Python & Ruby, with more platforms coming soon.

For platforms without automatic integrations, HTTP Toolkit acts as an HTTP(S) proxy, compatible with standard HTTP requests from any language or tool.

Inspect

Explore, search & examine HTTP

Skim through traffic with highlighting by content type, status & source, or search by URL, status and headers to hunt down the messages that matter.

Examine the URL, status, headers & body of each request or response, with inline explanations & docs from MDN.

Dig into message bodies with highlighting & autoformatting for JSON, HTML, JS, hex and others, all using the power of Monaco, the editor from Visual Studio Code.

Breakpoint

Pause & edit live HTTP traffic

Precisely match requests, jump to them when they appear, and edit anything: the target URL, method, headers or body.

Manually respond directly to requests as they arrive, or pass them upstream, and pause & edit the real response on the way back.

Step through HTTP traffic request by request, or manually mock endpoints and errors.

Mock

Test with fully automated mock responses Pro

Create rules to match requests and respond with your own content, to quickly prototype against new endpoints or services.

Define new endpoints, override existing ones, or replace external services, to reproduce tricky edge cases and test your error handling.

Import & export your mock rulesets, to build complex setups and share them with your team.

Edit

Rewrite anything

Inject request timeouts, simulate connection failures, and silently redirect requests from one server to another.Pro

Precise matching lets you target the requests you care about. Match requests to anywhere when used as a proxy, or direct requests as a standalone mock server.

And there's more to come too!

Future plans include security analysis & metrics, session-wide performance graphs & analysis, HTTP client tooling, Android integration, and much more...

Sound good? ,
or download now below.

Try it for yourself

100% open-source
Dive in at github.com/httptoolkit
Picture of Tim PerryBuilt in Barcelona
by Tim Perry