Clash Official Website
Open-Source Proxy · All Platforms

The world's most popular open-source rule-based proxy client. Smart rule engine auto-routes traffic — unlock Netflix/YouTube and accelerate GitHub, npm & Docker with ease.

Cross-Platform Support

Why Millions Choose Clash?

Powered by a high-performance Go engine with comprehensive traffic control and rule shunting, Clash has become the mainstream tool for internet freedom and development acceleration.

Smart Rule Shunting · Direct Local & Proxied Overseas

Say goodbye to global proxying. Use flexible YAML configs for fine-tuned shunting based on domains, IPs, and GEOIP. Local traffic stays direct for speed, while overseas traffic is automatically proxied for Netflix, YouTube, and developer tools.

  • DOMAIN-SUFFIX Matching
  • IP-CIDR & GEOIP Support
  • Custom Rule Set References

Extreme Concurrency · Stable Low-Latency Connections

The Clash / Mihomo core is written in Go, featuring low memory usage and excellent concurrency. Even with gigabit bandwidth and massive connections, it maintains low latency and all-day stability without drops.

  • Ultra-fast Network I/O
  • Minimal System Resource Usage
  • Stable Connection with No Drops

Multi-Protocol Support · Compatible with All Providers

Don't be tied to a single protocol. Native support for Shadowsocks, VMess, Trojan, VLESS, Hysteria 2, and WireGuard. Compatible with all major provider subscriptions; one client for all connection needs.

  • Shadowsocks & SS-Plugin
  • VMess / Trojan Support
  • Snell & SOCKS5 Protocols
— Full Protocol Compatibility —

Compatible with All Provider Nodes
Compatible with All Provider Nodes

The Clash / Mihomo core natively supports all mainstream proxy protocols—from classic Shadowsocks (SS), V2Ray VMess, and Trojan to next-gen Hysteria 2, VLESS Reality, and WireGuard. Manage and switch between all in one client. Just import your subscription link and go, regardless of the encryption protocol used.

Free Download, Connect All Nodes
Shadowsocks / SS-Plugin Classic Choice
VMess(V2Ray) Mainstream Protocols
Trojan TLS Masking
VLESS Meta Extensions
Hysteria / Hysteria 2 UDP Acceleration
WireGuard Core Integrated
SOCKS5 / HTTP Universal Compatibility

* Green = Built-in  ·  Blue = Native Support  ·  Yellow = Mihomo / Meta Fork Extension

Clash Free Download · Windows / macOS / Android / iOS / Linux

Whether it's a Windows 10/11 PC, MacBook/iMac (including M1/M2/M3 Apple Silicon), Android device, iPhone/iPad, or Linux server, Clash has a dedicated client. Install, import your subscription link, and start using it immediately without complex configuration.

Clash for Windows (CFW) · Latest Free Download

The most popular GUI proxy client for Windows users. Supports TUN mode for system-wide traffic, compatible with Windows 10/11. One-click subscription import and auto-updates. The top choice for Windows proxying, replacing traditional VPNs.

Download for Windows

ClashX · Clash for Mac · M1/M2/M3 Supported

Exclusive lightweight menu bar client for macOS. Natively supports Apple Silicon (M1/M2/M3) and Intel Macs. ClashX Pro version features real-time speed display and TUN global transparent proxy mode. Compatible with macOS 12 Monterey and above.

Download for macOS

Clash for Android (CFA) · Free APK Download

The most downloaded proxy APK for Android. Supports VPN mode and global proxying, compatible with Android 5.0+ devices. Built-in Clash Meta / Mihomo core with simple subscription import. No Google Play required.

Download for Android

iOS · Shadowrocket / Stash

iPhone and iPad users can use Clash-compatible subscriptions via Shadowrocket (commonly known as 'Little Rocket') or Stash. Full support for Shadowsocks, VMess, Trojan, and VLESS. The best choice for iOS proxy services, with direct subscription import.

View iOS Solutions

Linux · Clash CLI / Mihomo Core

Command-line proxy tool for Linux servers and desktops. Supports Ubuntu, Debian, CentOS, and Arch Linux. Clash Premium / Mihomo core provides TUN transparent proxy and DNS anti-pollution. Ideal for server proxying and developer acceleration.

Download for Linux

3 Steps to Set Up Clash and Start Browsing

Clash features a separated client and core design. Just download the client and import your subscription link to establish a connection. Even beginners can get started in 5 minutes.

1

Download Clash Client

Go to the download area and choose the GUI client for your OS: CFW for Windows, ClashX for macOS, or CFA for Android. All are free to download and install.

2

Import Subscription Link

Get a Clash YAML subscription link from your provider, paste it into the client, and nodes will sync and update automatically without manual config.

3

Pick Node · Start Proxy · Connect

Select the lowest latency node in the panel, toggle 'Rule Mode' and 'System Proxy', and start browsing—Netflix, YouTube, and Google are all just one click away.

Driven by a Global Community
Driven by a Global Community

Clash is a completely open-source and free proxy client tool with contributions from developers worldwide. The source code is fully transparent and subject to community security audits, with no backdoors or data collection, protecting your privacy. Clash Meta (Mihomo), as an actively maintained community branch, continuously brings support for new protocols and features.

50k+

GitHub Stars

10M+

Global Downloads

Clash Ecosystem · Rule Sets, Dashboards, and Meta Core

Clash is far more than just a proxy client. Around the Clash / Mihomo core, the community has built a rich ecosystem of subscription rule sets (ad-blocking, streaming unlock), Web UIs like Yacd, and high-performance forks like Clash Meta to meet the deep customization needs of advanced users.

Web Dashboard · Yacd Visualization Control Panel

Connect to beautiful Web UIs like Yacd and Metacubexd via Clash's external control API. Monitor traffic, switch nodes, and manage proxy groups in your browser without opening the desktop client.

Learn about Dashboard API

Rule Providers · Ad-blocking & Streaming Unlock Rule Sets

Leverage community-maintained remote dynamic subscription rules to automatically match the latest ad-blocking and anti-tracking rules, as well as streaming unlock routes for Netflix, Disney+, YouTube, and Spotify.

View Popular Rule Repos

Clash Meta (Mihomo) · The Most Powerful Open Source Fork

Demand more from your proxy protocols? The community-maintained Clash Meta (Mihomo) core provides support for latest protocols like VLESS Reality, Hysteria 2, and Tuic, plus enhanced DNS handling and anti-probing mechanisms.

Explore Open Source Forks

Clash covers it all: Internet freedom, streaming unlock, dev acceleration, and low-latency gaming

From Netflix/YouTube streaming unlock to GitHub/npm developer acceleration, and from low-latency UDP for gaming to private DNS anti-pollution, the Clash rule engine automatically schedules every bit of traffic.

Scenario 01  ·  Entertainment

Streaming Unlock
Netflix / YouTube / Disney+ Auto-Unlock

Use Clash's smart rule shunting to automatically route traffic for Netflix, YouTube, Disney+, Spotify, and HBO Max through unlock-capable nodes, while keeping local platforms like Bilibili and iQIYI direct for high-speed access. Enjoy 4K streaming without buffering.

  • Netflix 4K Unlock
  • YouTube HD Playback
  • Disney+ Access
  • Smart Domestic/International Shunting
Scenario 02  ·  Development

Developer Acceleration · Boost GitHub / npm / Docker Hub / PyPI

Clash's rule mode automatically proxies overseas requests for technical resources like GitHub, npm, PyPI, Docker Hub, Stack Overflow, and Google Scholar. TUN global transparent proxy mode can handle all system traffic, allowing terminal CLI, IDE plugins, and package managers to use the proxy without individual config.

  • GitHub Clone Acceleration
  • npm / pip Package Downloads
  • TUN Global Transparent Proxy
  • Terminal / CLI Proxy
12ms
Scenario 03  ·  Gaming

Reduce Ping & Latency · Steam / Switch Region Switching
Reduce Ping & Latency · Steam / Switch Region Switching

Utilize Clash's UDP Relay and real-time latency testing to route game traffic to the fastest nodes. Boost performance for Nintendo Switch, Steam, PlayStation Network, Epic Games, Genshin Impact, and more. Effectively reduce ping and packet loss for smooth cross-server play.

  • UDP Relay Support
  • Steam Game Acceleration
  • Real-time Latency Testing
  • Lowest Latency Auto-selection

Precise Control Over Every Bit of Traffic
Precise Control Over Every Bit of Traffic

Clash uses human-readable YAML config files (config.yaml). It supports one-click import and auto-updates of provider subscriptions, as well as manual fine-tuning of each shunting rule. Its flexibility far exceeds traditional VPN tools, making it the top choice for V2Ray and Shadowsocks users.

View Complete Config Docs
~/.config/clash/config.yaml
# Clash Core Config Example
mixed-port: 7890          # ① HTTP + SOCKS5 Mixed Port
allow-lan: false
mode: Rule              # ② Rule Shunting Mode
log-level: info

dns:
  enable: true          # ③ Built-in DNS Anti-Pollution
  nameserver:
    - 119.29.29.29
    - 8.8.8.8

proxies:              # ④ Node Config (Importable via Subscription)
  - name: "Node-JP-01"
    type: ss
    server: jp1.example.com
    port: 443
    cipher: aes-256-gcm

rules:                # ⑤ Shunting Rule Sets
  - DOMAIN-SUFFIX,google.com,Node-JP-01
  - DOMAIN-SUFFIX,github.com,Node-JP-01
  - GEOIP,CN,DIRECT
  - MATCH,Node-JP-01
Mixed Proxy Port

HTTP and SOCKS5 combined on port 7890. Mobile devices and computers on the LAN can connect to the same proxy exit simultaneously.

Rule Mode (Smart Shunting)

Local traffic goes direct, while overseas traffic uses the proxy. No manual switching; each request is routed automatically based on rules.

Built-in DNS Anti-Pollution

Prevents DNS leaks and censorship, ensuring overseas domains are correctly resolved and routed through the proxy channel.

Proxy Node Config

Supports manual entry for SS, VMess, and Trojan nodes, or batch import of all nodes via provider subscription links.

Fine-grained Rule Sets

Route precisely by domain, IP, and location. Reference community-maintained remote rule sets for automatic updates.

Clash Frequently Asked Questions (FAQ)

Quick lookup for common issues with client downloads, subscription import, YAML config, rule shunting, and network anomalies.

No. Clash is just a local network proxy tool (client software). To access international networks, you still need to find or purchase a plan from a node service provider (commonly called an 'airport') and import their YAML 'subscription link'.
This usually happens when the subscription format provided by your service is not standard Clash format, or the config file was not downloaded completely due to network issues. Try adding `?flag=clash` to the link or use a third-party subscription converter.
Smart shunting mode. The software automatically determines whether to go direct (e.g., local sites) or use the proxy (e.g., overseas sites) based on rules. This is the recommended mode for daily use.Smart shunting mode. The software automatically determines whether to go direct (e.g., local sites) or use the proxy (e.g., overseas sites) based on rules. This is the recommended mode for daily use.

Forces all traffic through your selected proxy node. Use temporarily if Rule mode fails for a site or if you need full masquerading. Forces all traffic through your selected proxy node. Use temporarily if Rule mode fails for a site or if you need full masquerading.
Generally, yes. As long as your provider doesn't limit the number of simultaneous devices, you can import the same Clash link to your PC (CFW / ClashX) and mobile (Clash for Android / Shadowrocket). Nodes will stay in sync.
Clash Meta (now Mihomo) is a community fork that adds support for VLESS, VLESS Reality, Hysteria 2, and Tuic, plus better DNS and rule matching. Most modern clients (CFW, CFA) have it built-in, and it is the recommended version to use.
Clash is fully open-source and hosted on GitHub for anyone to audit. The client itself does not collect user data; all traffic is forwarded only through the nodes you configure. Privacy and security depend on your provider. Choose a reputable provider and rotate your subscription keys periodically.
Clash are core protocols/engines usually deployed on servers. Average users don't need to use them directly. Clash (especially the Meta/Mihomo version) natively supports VMess, VLESS, Trojan, and Xray protocols; simply import your link into Clash. Client, focusing on smart rule shunting and subscription management, perfect for average users.V2Ray / Xray is the underlying proxy protocol and core framework, typically used for server-side deployment and not directly by average users. Clash (especially the Meta/Mihomo version) natively supports VMess, VLESS, Trojan, and Xray protocols; simply import your link into Clash without needing a separate V2Ray client.