Getting started
Clash is a rule-based proxy utility powered by Hako. Import your own configuration or subscription, and Clash applies a direct, proxy, or blocking policy to each connection.
Use your own configuration
Import a server configuration or subscription you choose and trust, then use Clash for testing, route selection, and rule-based traffic handling.
1. Import
Add an HTTPS subscription URL, scan a QR code containing one, open a YAML file, or share a YAML configuration from another app.
Profiles may include credentials, so treat configuration files and backups as sensitive.
2. Pick a node
Test latency, sort by delay, and tap to switch.
3. Connect
Use the switch on Home, Control Center, or Shortcuts.
Compatibility at a glance
Clash reads mihomo-format YAML configurations and HTTPS subscriptions that return mihomo YAML. For a node supplied as an ss:// link or in a Base64 node list, convert it to mihomo YAML or recreate it from its parameters in the node editor.
Standard Clash / mihomo YAML used by Stash imports directly. Nodes from sing-box, Surge, Quantumult X, Shadowrocket, and Loon can be reused through a mihomo subscription or recreated from their parameters in the node editor.
Read the complete compatibility guide for exact compatibility details and dedicated pages for mihomo clients, sing-box, Surge, Quantumult X, Shadowrocket, Stash and Loon.
Supported protocols
Clash currently supports 21 outbound protocol families, from HTTP, SOCKS, Shadowsocks, VMess, VLESS and Trojan to Hysteria2, TUIC, WireGuard, MASQUE, TrustTunnel and OpenVPN.
See the supported protocol list for every protocol and the available configuration methods.
Privacy by default
Clash uses an account-free, local-first architecture. Profiles and operational data stay on your device, while network requests happen through features you configure or start.
Read the Privacy Policy for the complete data-handling explanation.
Community support
Join the discussion in the Clash client issue tracker. Use redacted subscription examples, server addresses, credentials, and logs in public issues.