# Cloak Proxy

> Cloak Proxy is a free, native macOS HTTPS debugging proxy with a built-in API client. Capture, decrypt, change and test traffic from your Mac, phones and code.

Source: https://docs.subcloak.com/cloak-proxy/

Cloak Proxy is an HTTPS debugging proxy for the Mac, with a full API client built in. It sits between your apps and the internet, shows you every request and response, and lets you change them on the way. It's a native Mac app by Subcloak, it runs entirely on your Mac, and it's free for life.

*[Screenshot: Cloak Proxy's main window: a sidebar of apps and domains, a traffic list of decrypted requests to api.example.com and other hosts with app icons and colored method and status pills, and the selected request's headers and JSON response body below. Every request and response, decrypted, in one window.]*

## What you can do with it

- **See what your apps send.** Capture traffic from Mac apps and browsers, iPhones and iPads, simulators, Android devices, and command-line tools, and decrypt HTTPS for the apps and hosts you choose.
- **Change traffic without changing code.** Pause and edit requests, answer them with local files, redirect them to staging, rewrite headers and bodies, script them in JavaScript, slow them down or block them, for every app or only the apps you choose.
- **Work offline.** Record real responses and replay them later without the network.
- **Understand an API.** Search every request and response, trace an ID from the response that issued it to every call that used it, and turn captured traffic into an endpoint catalog, security grades, a list of leaked secrets, performance problems and schema changes.
- **Check where user data goes.** See which outside companies receive an app's users' personal data and identifiers, and where.
- **Build and test APIs.** Use the built-in API client for collections, environments, tests, a runner, load tests, mock servers and 11 protocols.
- **Automate it.** Drive everything from the `cloakctl` command line, CI pipelines and AI assistants over MCP, including collections, flows and monitors.

> **New in 0.2.1:**
> [Search every request and response](https://docs.subcloak.com/cloak-proxy/inspect/filtering/#search-every-request-and-response), headers and decoded bodies included, in milliseconds; [Trace Value](https://docs.subcloak.com/cloak-proxy/inspect/trace-value/) to follow an ID or token from the response that issued it to every request that used it; [replayable flows](https://docs.subcloak.com/cloak-proxy/api-client/run/replayable-flows/) built from captured requests, with IDs and tokens chained; [Privacy Map](https://docs.subcloak.com/cloak-proxy/insights/privacy-map/) to see which outside companies receive an app's users' data; better detection of [apps that skip the proxy](https://docs.subcloak.com/cloak-proxy/capture/apps-that-ignore-the-proxy/), Flutter apps included; and four new MCP tools. See the [release notes](https://docs.subcloak.com/cloak-proxy/reference/release-notes/).

## Get started

  - [Install Cloak Proxy](https://docs.subcloak.com/cloak-proxy/getting-started/install/): Download, open, update and uninstall.
  - [Quick start](https://docs.subcloak.com/cloak-proxy/getting-started/quick-start/): Your first decrypted request in five minutes.
  - [How it works](https://docs.subcloak.com/cloak-proxy/getting-started/how-it-works/): Proxies, tunnels, certificates and DNS capture, explained.
  - [Interface tour](https://docs.subcloak.com/cloak-proxy/getting-started/interface-tour/): Every part of the window, its menus and shortcuts.

Cloak Proxy is [free for life](https://docs.subcloak.com/cloak-proxy/getting-started/free-for-life/): no trial, no license key, no account.

## Tour of Cloak Proxy

### Capture traffic

Point your Mac's proxy settings at Cloak Proxy with one click, and decrypt HTTPS for an app or a set of hosts. Your previous settings come back when you quit, even after a crash.

- [Capture macOS traffic](https://docs.subcloak.com/cloak-proxy/capture/macos-traffic/): turn capture on or off, auto-on at launch, the proxy guard and the bypass list.
- [SSL Proxying](https://docs.subcloak.com/cloak-proxy/capture/ssl-proxying/): decrypt by app, by host or with wildcards; locked tunnels and pinned apps.
- [Root certificate](https://docs.subcloak.com/cloak-proxy/capture/certificate/): trust, remove, regenerate, use your own CA, client certificates and TLS key logs.
- [Apps that ignore the proxy](https://docs.subcloak.com/cloak-proxy/capture/apps-that-ignore-the-proxy/): find them and capture them through DNS.
- [Capture apps that ignore the proxy](https://docs.subcloak.com/cloak-proxy/capture/capture-apps-that-ignore-the-proxy/) (added in Cloak Proxy 0.5.0): App Capture sends the apps you pick through Cloak Proxy with a network extension.
- [Network settings](https://docs.subcloak.com/cloak-proxy/capture/network-settings/): port, other devices, HTTP/2, external proxy, SOCKS5 and reverse proxies.
- [Recording and sessions](https://docs.subcloak.com/cloak-proxy/capture/recording-and-sessions-basics/): pause, mute noisy apps, clear, and keep a session in memory or across launches.

### Devices and runtimes

Capture phones, simulators, other computers and code running in a terminal or a container.

- [Devices overview](https://docs.subcloak.com/cloak-proxy/devices/overview/)
- [iPhone and iPad](https://docs.subcloak.com/cloak-proxy/devices/iphone-and-ipad/)
- [iOS Simulator](https://docs.subcloak.com/cloak-proxy/devices/ios-simulator/)
- [Android](https://docs.subcloak.com/cloak-proxy/devices/android/)
- [Terminal and runtimes](https://docs.subcloak.com/cloak-proxy/devices/terminal-and-runtimes/): Node.js, Python, Ruby, Go, curl, git, Deno and the AWS CLI.
- [Capturing browser and Electron apps](https://docs.subcloak.com/cloak-proxy/devices/capturing-browser/)
- [Docker](https://docs.subcloak.com/cloak-proxy/devices/docker/)
- [Flutter](https://docs.subcloak.com/cloak-proxy/devices/flutter/)
- [Java and the JVM](https://docs.subcloak.com/cloak-proxy/devices/java-firefox-docker-flutter-electron/)
- [Other devices and access control](https://docs.subcloak.com/cloak-proxy/devices/other-devices-and-access-control/): let devices connect, limit which may, and the certificate page.

### iPhone and iPad app

Cloak Proxy for iPhone and iPad (iOS 17 or later) is free on the App Store and captures the device's own apps without a Mac: in the background with VPN capture (an on-device proxy; iOS shows it as a VPN, but nothing leaves the device through it), or with the Wi-Fi proxy while it's on screen. Apps that ignore the system proxy aren't captured.

- [Cloak Proxy for iPhone and iPad](https://docs.subcloak.com/cloak-proxy/ipad/overview/): what's in the app and how it differs from the Mac app.
- [Capture on this device](https://docs.subcloak.com/cloak-proxy/ipad/capture-on-this-device/): the Wi-Fi proxy method and the setup guide.
- [VPN capture](https://docs.subcloak.com/cloak-proxy/ipad/vpn-capture/): capture in the background, on Wi-Fi or cellular.
- [Sample traffic](https://docs.subcloak.com/cloak-proxy/ipad/sample-traffic/): try every feature with example requests.
- [AI assistants](https://docs.subcloak.com/cloak-proxy/ipad/ai-assistants/): let Claude and other MCP clients on your network drive the app, over HTTPS.

### Inspect traffic

Find the request you need and read every part of it.

- [Traffic list](https://docs.subcloak.com/cloak-proxy/inspect/traffic-list/): columns, sorting, colors, highlights and comments.
- [Sidebar](https://docs.subcloak.com/cloak-proxy/inspect/sidebar/): apps, domains, pinned items and apps that skip the proxy.
- [Filtering](https://docs.subcloak.com/cloak-proxy/inspect/filtering/): quick filters, full-text search of headers and bodies, content filters, multiple filters and presets.
- [Inspector](https://docs.subcloak.com/cloak-proxy/inspect/inspector/): every request and response tab.
- [Body viewers](https://docs.subcloak.com/cloak-proxy/inspect/body-viewers/): JSON tree, JSONPath, jq, HTML and image previews, Protobuf and MessagePack.
- [WebSocket and GraphQL](https://docs.subcloak.com/cloak-proxy/inspect/websocket-and-graphql/)
- [Quick Preview](https://docs.subcloak.com/cloak-proxy/inspect/quick-preview/): decode Base64, JWTs, URL encoding and timestamps.
- [Compare requests](https://docs.subcloak.com/cloak-proxy/inspect/compare-requests/)
- [Search and command palette](https://docs.subcloak.com/cloak-proxy/inspect/search-and-command-palette/)
- [Trace Value](https://docs.subcloak.com/cloak-proxy/inspect/trace-value/): follow an ID or token through every request that carried it. (added in Cloak Proxy 0.2.1)
- [Copy as code](https://docs.subcloak.com/cloak-proxy/inspect/copy-as-code/): cURL and 21 other languages, including k6 load tests and Playwright tests.
- [Generate types](https://docs.subcloak.com/cloak-proxy/inspect/generate-types/): TypeScript, Swift, Python, Go and Kotlin types from a JSON body. (added in Cloak Proxy 0.2.0)
- [Failed requests and tunnels](https://docs.subcloak.com/cloak-proxy/inspect/failed-requests-and-tunnels/)

### Debugging tools

Change requests and responses as they pass through, with rules that match by URL, method and app.

*[Screenshot: The Debugging Tools window listing Breakpoint, Map Local, Map Remote, Rewrite, Scripting, Block List, Allow List, Network Conditions, DNS Spoofing, No Caching, Mock Sets and Alerts, with a Breakpoint rule for GET api.example.com/v1/users open. Twelve debugging tools, each with its own rules.]*

- [Tools overview](https://docs.subcloak.com/cloak-proxy/tools/overview/) and [Rules and matching](https://docs.subcloak.com/cloak-proxy/tools/rules-and-matching/)
- [Breakpoint](https://docs.subcloak.com/cloak-proxy/tools/breakpoint/): pause and edit requests and responses.
- [Map Local](https://docs.subcloak.com/cloak-proxy/tools/map-local/): answer requests with local files or inline responses.
- [Map Remote](https://docs.subcloak.com/cloak-proxy/tools/map-remote/): send requests to another server.
- [Rewrite](https://docs.subcloak.com/cloak-proxy/tools/rewrite/): change headers, query parameters, status codes and body text without code. (added in Cloak Proxy 0.2.0)
- [Scripting](https://docs.subcloak.com/cloak-proxy/tools/scripting/): change traffic with JavaScript.
- [Block List](https://docs.subcloak.com/cloak-proxy/tools/block-list/) and [Allow List](https://docs.subcloak.com/cloak-proxy/tools/allow-list/)
- [Network Conditions](https://docs.subcloak.com/cloak-proxy/tools/network-conditions/): latency, bandwidth and packet loss.
- [DNS Spoofing](https://docs.subcloak.com/cloak-proxy/tools/dns-spoofing/)
- [No Caching](https://docs.subcloak.com/cloak-proxy/tools/no-caching/)
- [Mock Sets](https://docs.subcloak.com/cloak-proxy/tools/mock-sets/): record and replay offline.
- [Alerts](https://docs.subcloak.com/cloak-proxy/tools/alerts/): notifications for failures, slow responses and more.
- [Repeat and Compose](https://docs.subcloak.com/cloak-proxy/tools/repeat-and-compose/): resend requests, send one many times with Repeat Advanced, or break on the next one.

### Insights

Analysis of everything you captured, computed on your Mac.

*[Screenshot: The Insights Overview tab with counts of requests, endpoints, errors, possible secrets, the worst security grade and schema changes, above a Needs attention list. Insights flags leaked secrets, slow endpoints, errors and schema changes.]*

- [Insights overview](https://docs.subcloak.com/cloak-proxy/insights/overview/)
- [Endpoints](https://docs.subcloak.com/cloak-proxy/insights/endpoints/): an API catalog with timings and error rates.
- [Security](https://docs.subcloak.com/cloak-proxy/insights/security/): grades for headers and cookies.
- [Secrets](https://docs.subcloak.com/cloak-proxy/insights/secrets/): leaked keys, tokens and personal data.
- [Privacy Map](https://docs.subcloak.com/cloak-proxy/insights/privacy-map/): which outside companies receive an app's users' data. (added in Cloak Proxy 0.2.1)
- [Performance](https://docs.subcloak.com/cloak-proxy/insights/performance/)
- [Schema changes](https://docs.subcloak.com/cloak-proxy/insights/schema-changes/)
- [Timeline](https://docs.subcloak.com/cloak-proxy/insights/timeline/)
- [Alerts history](https://docs.subcloak.com/cloak-proxy/insights/alerts-history/)
- [Report](https://docs.subcloak.com/cloak-proxy/insights/report/): a Markdown summary.

### Sessions and sharing

Keep, move and share captured traffic.

- [Save and open](https://docs.subcloak.com/cloak-proxy/sessions/save-and-open/) `.cloaksession` files, with your highlights and comments.
- [Import](https://docs.subcloak.com/cloak-proxy/sessions/import/) HAR, Charles and cURL.
- [Export](https://docs.subcloak.com/cloak-proxy/sessions/export/) HAR, CSV, Postman, OpenAPI and sessions.
- [Redaction](https://docs.subcloak.com/cloak-proxy/sessions/redaction/): strip secrets before you share.
- [Publish to Gist](https://docs.subcloak.com/cloak-proxy/sessions/publish-to-gist/)

### API client

A full API client in its own window (<kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>O</kbd>), stored as a folder of JSON files you can keep in Git.

*[Screenshot: The API client window with a Petstore collection containing HTTP, GraphQL, gRPC, WebSocket, Socket.IO, MQTT, MCP, AI, TCP and data requests. Collections can mix every protocol.]*

- [API client overview](https://docs.subcloak.com/cloak-proxy/api-client/overview/)
- [Workspace and Git](https://docs.subcloak.com/cloak-proxy/api-client/workspace-and-git/)
- [Collections and requests](https://docs.subcloak.com/cloak-proxy/api-client/collections-and-requests/)
- [Authorization](https://docs.subcloak.com/cloak-proxy/api-client/authorization/)
- [Variables and environments](https://docs.subcloak.com/cloak-proxy/api-client/variables-and-environments/)
- [Scripts and tests](https://docs.subcloak.com/cloak-proxy/api-client/scripts-and-tests/)
- [Examples and docs](https://docs.subcloak.com/cloak-proxy/api-client/examples-and-docs/)
- [Capture to client](https://docs.subcloak.com/cloak-proxy/api-client/capture-to-client/): save captured requests.
- [History and recently deleted](https://docs.subcloak.com/cloak-proxy/api-client/history-and-recently-deleted/)
- [Comments](https://docs.subcloak.com/cloak-proxy/api-client/comments/)
- [Import and export](https://docs.subcloak.com/cloak-proxy/api-client/import-and-export/)
- [Code snippets](https://docs.subcloak.com/cloak-proxy/api-client/code-snippets/)
- [Agent Mode](https://docs.subcloak.com/cloak-proxy/api-client/agent-mode/)

Protocols: [HTTP](https://docs.subcloak.com/cloak-proxy/api-client/protocols/http/), [GraphQL](https://docs.subcloak.com/cloak-proxy/api-client/protocols/graphql/), [gRPC](https://docs.subcloak.com/cloak-proxy/api-client/protocols/grpc/), [WebSocket](https://docs.subcloak.com/cloak-proxy/api-client/protocols/websocket/), [Socket.IO](https://docs.subcloak.com/cloak-proxy/api-client/protocols/socket-io/), [MQTT](https://docs.subcloak.com/cloak-proxy/api-client/protocols/mqtt/), [MCP](https://docs.subcloak.com/cloak-proxy/api-client/protocols/mcp/), [AI](https://docs.subcloak.com/cloak-proxy/api-client/protocols/ai/), [SQL and data](https://docs.subcloak.com/cloak-proxy/api-client/protocols/sql-and-data/), and [TCP and UDP](https://docs.subcloak.com/cloak-proxy/api-client/protocols/tcp-and-udp/).

Run, test and mock: the [collection runner](https://docs.subcloak.com/cloak-proxy/api-client/run/collection-runner/), [datasets and data files](https://docs.subcloak.com/cloak-proxy/api-client/run/datasets-and-data-files/), [load testing](https://docs.subcloak.com/cloak-proxy/api-client/run/load-testing/), [mock servers](https://docs.subcloak.com/cloak-proxy/api-client/run/mock-servers/), [monitors and webhooks](https://docs.subcloak.com/cloak-proxy/api-client/run/monitors-and-webhooks/), [flows](https://docs.subcloak.com/cloak-proxy/api-client/run/flows/), [replayable flows](https://docs.subcloak.com/cloak-proxy/api-client/run/replayable-flows/) from captured requests, [specs](https://docs.subcloak.com/cloak-proxy/api-client/run/specs/), and [generating docs, SDKs and MCP servers](https://docs.subcloak.com/cloak-proxy/api-client/run/generate-docs-sdks-and-mcp-servers/).

### Automation and AI

- [cloakctl](https://docs.subcloak.com/cloak-proxy/automation/cloakctl/): the command-line tool.
- [Headless and CI](https://docs.subcloak.com/cloak-proxy/automation/headless-and-ci/): record and test in pipelines.
- [Control API](https://docs.subcloak.com/cloak-proxy/automation/control-api/): the local REST API.
- [MCP server](https://docs.subcloak.com/cloak-proxy/automation/mcp-server/): connect Claude Code, Claude Desktop, Cursor or VS Code.
- [MCP tools reference](https://docs.subcloak.com/cloak-proxy/automation/mcp-tools-reference/)

### Guides

Step-by-step walkthroughs for common jobs:

- [Debug a mobile app](https://docs.subcloak.com/cloak-proxy/guides/debug-a-mobile-app/)
- [Mock a backend](https://docs.subcloak.com/cloak-proxy/guides/mock-a-backend/)
- [Test on a slow network](https://docs.subcloak.com/cloak-proxy/guides/test-on-a-slow-network/)
- [Find leaked secrets](https://docs.subcloak.com/cloak-proxy/guides/find-leaked-secrets/)
- [Demo offline with Mock Sets](https://docs.subcloak.com/cloak-proxy/guides/demo-offline-with-mock-sets/)
- [Capture an app that ignores the proxy](https://docs.subcloak.com/cloak-proxy/guides/capture-an-app-that-ignores-the-proxy/)
- [Run API tests in CI](https://docs.subcloak.com/cloak-proxy/guides/run-api-tests-in-ci/)
- [Debug with Claude](https://docs.subcloak.com/cloak-proxy/guides/debug-with-claude/)
- [Pentest your own app](https://docs.subcloak.com/cloak-proxy/guides/pentest-your-own-app/)
- [Debug webhooks and callbacks](https://docs.subcloak.com/cloak-proxy/guides/debug-webhooks-and-callbacks/)
- [Turn traffic into API docs](https://docs.subcloak.com/cloak-proxy/guides/turn-traffic-into-api-docs/)

### Reference

- [Keyboard shortcuts](https://docs.subcloak.com/cloak-proxy/reference/keyboard-shortcuts/)
- [Settings](https://docs.subcloak.com/cloak-proxy/reference/settings/)
- [Troubleshooting](https://docs.subcloak.com/cloak-proxy/reference/troubleshooting/)
- [Security and privacy](https://docs.subcloak.com/cloak-proxy/reference/security-and-privacy/)
- [FAQ](https://docs.subcloak.com/cloak-proxy/reference/faq/)
- [Release notes](https://docs.subcloak.com/cloak-proxy/reference/release-notes/)

## Requirements

| | |
|---|---|
| macOS | 14 Sonoma or later |
| Mac | Apple silicon or Intel (one universal app) |
| Download | About 30 MB, from [subcloak.com/apps/cloak-proxy](https://subcloak.com/apps/cloak-proxy) |
| iPhone and iPad | iOS and iPadOS 17 or later, from the [App Store](https://apps.apple.com/app/id6824619105). See [Cloak Proxy for iPhone and iPad](https://docs.subcloak.com/cloak-proxy/ipad/overview/). |
| Optional | Xcode for one-click iOS Simulator setup; Android platform tools (`adb`) for one-click Android setup |

## Free for life

Cloak Proxy costs nothing, now or later. There's no trial, no license key and no account, and every feature is included. Your traffic, rules and certificate stay on your Mac. See [Free for life](https://docs.subcloak.com/cloak-proxy/getting-started/free-for-life/).

> **Use it on traffic you're allowed to see:**
> Cloak Proxy can decrypt anything that passes through it. Inspect your own apps and accounts, or systems you have written permission to test, and turn off capture and remove the certificate from devices when you're done.

## Related

  - [Quick start](https://docs.subcloak.com/cloak-proxy/getting-started/quick-start/): Decrypt your first request in five minutes.
  - [Capture macOS traffic](https://docs.subcloak.com/cloak-proxy/capture/macos-traffic/): Point your Mac at Cloak Proxy.
  - [Devices overview](https://docs.subcloak.com/cloak-proxy/devices/overview/): Capture phones, simulators and runtimes.
  - [API client overview](https://docs.subcloak.com/cloak-proxy/api-client/overview/): Collections, tests, mocks and more.
