# mitmproxy pour Mac : proxy HTTPS interactif pour inspecter le trafic

_As of 2026-11-27_

- **Version:** 12.3.1
- **License:** Free

mitmproxy est un proxy HTTPS gratuit et open source qui s'utilise dans le terminal. Il intercepte, inspecte, modifie et rejoue le trafic HTTP et HTTPS des navigateurs, des apps et d'autres appareils, et se pilote par des scripts Python.

To see what an app or website sends over HTTPS, something has to sit in the middle of the connection. mitmproxy does that from the terminal, listing each request as it happens so you can open it, change it or resend it.
What it does well

Three tools. mitmproxy is an interactive console interface, mitmweb shows the same traffic in a browser, and mitmdump runs without interaction, for scripts.
Intercept and replay. Pause a request or response, edit it before it continues, and replay earlier requests.
Python addons. A short Python script can rewrite headers, redirect a host or answer a request itself.
Several capture modes. Besides a regular proxy on port 8080, it can capture apps on the same Mac with --mode local or work as a reverse proxy.

Who it is for
Developers, testers and security researchers at home in a terminal who want to script traffic inspection.
Good to know
There is no Mac app to drag to Applications: mitmproxy is a set of command-line programs, and you set up the proxy and trust its certificate yourself. If you prefer a native window that handles this, Proxyman or Charles are easier.
How to install

In Terminal, run brew install --cask mitmproxy; without Homebrew, download the macOS binaries for your chip.
Run mitmproxy, or mitmweb for the browser interface.
Set your browser or device to use the Mac as its HTTP proxy on port 8080.
Open http://mitm.it through the proxy and install the certificate it offers.

> Source: https://macsoftpark.net/fr/mitmproxy/
