Free Open Source • Smart Routing • All-Platform Downloads

Clash Download
Free rule-based proxy · All OS · Quick setup

Supports Shadowsocks, VMess, Trojan, VLESS, and one-click subscription. Smart routing for domestic and foreign traffic. Free download for Windows, macOS, Android, iOS, and Linux.

Clash Core / Global Active
System Proxy
Connected
Download
124.5 MB/s
Active Connections
842
Latency
32ms
40K+
GitHub Stars
50M+
Global Downloads
100%
Open Source Architecture
<10ms
Routing Latency
Why Choose Clash?

The End of Global Proxy Compromises

The core difference between rule-based proxy and global VPN determines your daily browsing experience.

Traditional VPNs Common Pain Points
Local Sites Slow Down
All traffic routed through foreign nodes makes local apps like Taobao and WeChat sluggish, severely impacting daily productivity.
Single Protocol / Node Failures
Fixed protocol support means no auto-switching when node quality drops. Experience depends entirely on single-point stability.
Black-Box Rules
Closed-source software hides routing policies. Privacy and control are handed to the vendor, posing potential security risks.
Dev Environment Conflicts
Constant conflicts between global GitHub/Docker/npm access and domestic CI/CD or internal networks drag down development.
Clash Smart Routing Core Advantages
Direct Local / Proxy Foreign
Precise routing based on GeoIP and domain rules. Domestic apps stay fast while foreign sites use the proxy tunnel seamlessly.
Multi-Protocol Node Orchestration
Supports Shadowsocks, VMess, Trojan, VLESS. Strategy groups enable auto-speed testing, fallback, and load balancing.
Open Source YAML Customization
Human-readable rules. Import community-maintained rule sets to precisely control traffic for every single domain.
Best Companion for Dev Workflows
Pull GitHub code, Docker images, and run npm install without conflicting with internal network access. Dev networking solved.

Excellence in Every Detail

Breaking the mold of proxy tools with unparalleled capture power and rich customization options.

Smart Rule Routing

Built-in rule engine supports fine-grained routing by domain, IP, and more. Seamlessly switch between networks.

DOMAIN-SUFFIX, git.io Proxy
GEOIP, CN Direct
MATCH, FINAL Proxy

Broad Protocol Compatibility

Full support for Shadowsocks, VMess, Trojan, and more to handle any complex network environment.

Shadowsocks Node
aes-256-gcm • Port 443
Vmess (WS + TLS)
Online • 28ms Ping

Meeting Diverse Core Needs

No longer limited by network barriers, Clash provides custom solutions for every professional.

Development & Testing

Easily pull GitHub source code, Docker images, and access StackOverflow and APIs. End the wait for 'npm install' and enjoy a silky-smooth dev workflow.

~ git clone https://github.com/Dreamacro/clash
Cloning into 'clash'...
Receiving objects: 100% (45MB/s), done.

Academic Research

Stable access to global university libraries, Google Scholar, and journals. Smart routing ensures top speeds for foreign research without affecting domestic site access.

Streaming & Entertainment

Native support for high throughput and UDP forwarding, perfectly unlocking geo-restricted streaming. Ensures instant 4K HDR playback and ultimate smooth streaming.

Simple Workflow, 3 Steps to Freedom

Forget complex networking jargon. Clash makes advanced proxy rules ready to use out of the box.

1

Get the Client

Scroll down to the platform section to download the open-source or authorized client for your OS (Win / Mac / Mobile).

2

Import Config

Paste your subscription URL from your provider into the client. The system will automatically pull and parse the YAML rule set.

3

Enable Proxy

Toggle the "System Proxy" switch. Your browser and all local apps will instantly access the high-speed smart routing network.

A Powerful and Inclusive Network Ecosystem

Built on standardized design with support for all major protocols. This makes it the foundation for providers and power users alike.

Shadowsocks (SS/SSR)
Vmess / Vless
Trojan
YAML Config
Rule Providers
Snell
HTTP / Socks5
GeoIP & GeoSite
Real User Feedback

Voices from the Dev Community

Real user experiences from GitHub, forums, and developer communities. Hover to pause.

★★★★★

Git clone used to take 10 minutes, now it's almost instant. The smart routing is spot on; domestic apps are completely unaffected.

Z
Engineer Zhang
Backend Engineer
★★★★★

Just paste the link and rules sync automatically. Zero-config, out-of-the-box ease. Way less hassle than my previous setups.

L
Lee_Dev
Indie Developer
★★★★★

4K YouTube is perfectly smooth, and Bilibili streams don't lag at all. Perfect high-speed access for both local and global sites.

W
Student Wang
Content Creator
★★★★★

Google Scholar search speed has increased by orders of magnitude. My entire research group is now using Clash.

M
MengR.
PhD Researcher
★★★★★

Docker pulls no longer timeout, and npm install finally works the first time. Clash has literally doubled my dev efficiency.

C
Chen
Full-Stack Engineer
★★★★☆

YAML rule files are easy to read and customize. Open-source core means I can audit it anytime; I use it with total confidence.

A
Arch_Fan
Linux Enthusiast
★★★★★

Git clone used to take 10 minutes, now it's almost instant. The smart routing is spot on; domestic apps are completely unaffected.

Z
Engineer Zhang
Backend Engineer
★★★★★

Just paste the link and rules sync automatically. Zero-config, out-of-the-box ease. Way less hassle than my previous setups.

L
Lee_Dev
Indie Developer
★★★★★

4K YouTube is perfectly smooth, and Bilibili streams don't lag at all. Perfect high-speed access for both local and global sites.

W
Student Wang
Content Creator
★★★★★

Google Scholar search speed has increased by orders of magnitude. My entire research group is now using Clash.

M
MengR.
PhD Researcher
★★★★★

Docker pulls no longer timeout, and npm install finally works the first time. Clash has literally doubled my dev efficiency.

C
Chen
Full-Stack Engineer
★★★★☆

YAML rule files are easy to read and customize. Open-source core means I can audit it anytime; I use it with total confidence.

A
Arch_Fan
Linux Enthusiast
★★★★★

Multi-node policy groups with auto-speed testing ensure I always have the best connection. Stability is better than any previous solution.

H
Owner Huang
Cross-Border E-commerce
★★★★★

Clash for Android is so easy to set up. Whether I'm traveling or at home, the experience is just as smooth. Highly recommended.

S
Simon W.
Business Professional
★★★★★

Fully open-source and auditable. Way more trustworthy than any black-box VPN software. It's my top choice after a security review.

P
PenTester_K
Security Researcher
★★★★★

Switching between global gaming servers is seamless. Trojan protocol has ultra-low latency; the improvement in gaming is huge.

Q
QianXun_G
Gamer
★★★★★

Deploying Clash Core as a transparent proxy on my router has automated routing for every device in the house. A total life-saver.

T
TechHome_Y
Home Networking Enthusiast
★★★★☆

ClashX on Mac is rock stable with minimal resources. Switching nodes from the menu bar is such a smooth experience.

N
Nina_D
UI/UX Designer
★★★★★

Multi-node policy groups with auto-speed testing ensure I always have the best connection. Stability is better than any previous solution.

H
Owner Huang
Cross-Border E-commerce
★★★★★

Clash for Android is so easy to set up. Whether I'm traveling or at home, the experience is just as smooth. Highly recommended.

S
Simon W.
Business Professional
★★★★★

Fully open-source and auditable. Way more trustworthy than any black-box VPN software. It's my top choice after a security review.

P
PenTester_K
Security Researcher
★★★★★

Switching between global gaming servers is seamless. Trojan protocol has ultra-low latency; the improvement in gaming is huge.

Q
QianXun_G
Gamer
★★★★★

Deploying Clash Core as a transparent proxy on my router has automated routing for every device in the house. A total life-saver.

T
TechHome_Y
Home Networking Enthusiast
★★★★☆

ClashX on Mac is rock stable with minimal resources. Switching nodes from the menu bar is such a smooth experience.

N
Nina_D
UI/UX Designer
Advanced Capabilities

Core Features for Power Users

The open-source core provides full API access and rich extensions. From fine-grained personal use to enterprise-scale deployment, Clash handles it all.

01
Proxy Groups

Strategy Groups • Smart Node Orchestration

Mixed strategies including auto-speed testing (url-test), fallback, load-balance, and manual select via proxy-groups. Real-time latency detection automatically removes poor nodes for maximum stability.

proxy-groups:
  - name: "Auto Select Node"
    type: url-test
    url: 'http://www.gstatic.com/generate_204'
    interval: 300
    tolerance: 50 # Tolerance 50ms
02
Rule Providers

External Rule Sets • Cloud Sync Support

Automatically pull and sync rule sets from remote URLs (YAML/text). Use high-quality community rules (like Loyalsoldier) for out-of-the-box smart routing that updates with your subscription.

rule-providers:
  reject:
    type: http
    behavior: domain
    url: "https://cdn.jsdelivr.net/..."
    interval: 86400 # Daily Auto-Update
03
DNS

Advanced DNS • Anti-Pollution & Splitting

Built-in Fake-IP mode significantly reduces initial connection latency. Supports DoH / DoT to prevent DNS leaks. Route local and foreign DNS requests separately to solve DNS pollution.

dns:
  enable: true
  enhanced-mode: fake-ip
  nameserver:
    - https://dns.alidns.com/dns-query
  fallback:
    - https://1.1.1.1/dns-query # Anti-Leak
04
TUN Mode

TUN Mode • Seamless Full-Device Capture

In TUN mode, Clash creates a virtual network adapter to capture all TCP/UDP traffic—including games and native apps—enabling true zero-config transparent proxying.

tun:
  enable: true
  stack: system # gvisor / mixed
  auto-route: true
  auto-detect-interface: true
  dns-hijack: ["any:53"]
05
External Controller

RESTful API • Programmatic Control & Dashboards

Clash includes a standard RESTful API (External Controller) for node switching, traffic monitoring, and hot-reloading via HTTP/WebSocket. This powers third-party dashboards like yacd and metacubexd.

external-controller: '127.0.0.1:9090'
secret: 'your-api-token'
external-ui: 'dashboard'

# GET /proxies    — List all nodes
# PUT /proxies/:name — Switch current node
# GET /traffic    — Real-time stats

FAQ &
Knowledge Base

Get answers to common questions about downloading, configuring, and using rule-based proxies.

Read Full Official Documentation
Is Clash software free?
Absolutely. The Clash core and major clients (like ClashX) are 100% free and open-source under GPL licenses. We do not charge for client authorization.
Why can't I access foreign sites after install?
Clash is a "proxy tool framework" and does not include server nodes. You must obtain a subscription link from a service provider ("Airport") to connect to the network.
Difference between Clash and traditional VPN?
Traditional VPNs route all device traffic foreign, slowing down local sites. Clash uses "Smart Routing" to detect domains and only proxy foreign traffic, keeping local traffic direct for the best experience.
What if there is a YAML import error?
Errors are usually due to expired links or incomplete downloads from network fluctuation. Copy the latest link from your provider dashboard and click "Update" in the client.

Advanced Network? Start with Clash

Join millions of developers and reshape your network boundaries today.