Open Source Proxy Tool
Intelligent Splitting
Explore the Global Network
Clash is a lightweight open-source proxy client using a rule engine for precise splitting. Supports SS, VMess, Trojan, and more with native cross-platform support. Configure once, use seamlessly everywhere. Download for free today.
More Than a Proxy Tool—Your Intelligent Network Hub
From its rule engine to multi-protocol compatibility, Clash offers a complete network solution for individuals, developers, and teams.
Rule-based Intelligent Splitting Engine
At the heart of Clash is a powerful routing system. Direct traffic based on Domain, IP CIDR, process name, or GeoIP: decide what's direct, what's proxied, and what's blocked—all in milliseconds. Goodbye, global-only proxies.
High Performance with Go
Built on Go's concurrency model to handle thousands of connections on a single core. Low memory usage and 24/7 stability.
Unified Multi-Protocol Management
SS, VMess, Trojan, Snell, VLESS, Hysteria... One client for all major protocols—no more switching tools.
Visual Web Dashboard
Built-in RESTful API and Web Dashboards let you monitor traffic and switch nodes in real-time—no command line required.
YAML Config & One-click Subscription
Clear, readable YAML configurations. One-click subscription import for automatic node updates—no manual upkeep needed.
Choose Your OS
Start Downloading Now
Clash provides natively optimized builds for each platform, ensuring the best compatibility and performance.
Clash for macOS
Latest Stable v2.0.26A native macOS app optimized for Apple Silicon (M1/M2/M3) and Intel. Integrated system proxy and Enhanced Mode (TUN) for true global traffic capture—no CLI needed.
Enhanced Mode Support
Capture all TCP/UDP traffic via a virtual network interface (TUN), including apps that don't support proxy settings.
Quick Menu Bar Switching
Switch proxy modes (Rule/Global/Direct) with one click from the status bar. Monitor real-time connection speeds at a glance.
Profile Management
Supports switching between multiple profiles, with auto-updating subscription links and local rule overrides.
Requires macOS 11 Big Sur or later.Clash for Windows
Latest Stable v0.20.39The most popular Clash GUI for Windows, featuring a polished, modern interface. Supports TUN mode (global proxy), mixed TAP/TUN, and autostart on boot—the top choice for Windows users.
TUN Mode
Capture all system traffic, including UWP apps and games, solving proxy issues for apps without built-in settings.
Auto System Proxy Setup
Automatically configures Windows system proxy with one click—no manual setup needed for browsers or apps.
Clash for Android
Latest Stable v2.5.12A native Android client featuring Material You design. Uses the VPN API for global traffic without requiring Root. Supports subscriptions, rule splitting, traffic stats, and speed testing.
No Root Required
Uses the system VPN interface for global proxy—no Root or Xposed needed.
Per-App Proxy
Per-app proxy settings for precise control and data savings.
Recommended iOS Clients
App StoreFor iPhone and iPad, choose Shadowrocket for a familiar rule-based workflow or Stash for Clash Premium-style policy groups, overrides, and rule management. Availability and pricing vary by App Store region.
Fully Subscription Compatible
Supports standard Clash YAML subscription links, using the same configs across macOS and Windows.
Clash for Linux
CLI Version v1.18.0Headless Clash binaries for Linux supporting x86_64, arm64, and armv7. Supports systemd autostart and remote management via Web Dashboards (yacd/metacubexd).
systemd Service Support
Includes ready-to-use systemd service files for easy background execution and boot autostart.
TUN Mode Global Capture
Achieve true transparent proxy using iptables/nftables or the built-in TUN device.
Can't find your version?
We also provide legacy releases, Meta cores, router firmware, and more.
Supports All Major Protocols
Whether you use an airport or self-hosted nodes, Clash is fully compatible. One client to manage all protocols.
Set Up Clash in 4 Simple Steps
Go from download to connection in under 5 minutes. No CLI required—all via a user-friendly GUI.
Download & Install
Choose the version for your OS and follow the install prompts. Mac users: remember to allow the app in System Settings.
Import Subscription
Paste your Subscription URL into the "Configs" tab and click download. Clash will fetch node and rule info automatically.
Select Node & Mode
Switch to the "Proxies" tab, select a node, and set the mode to "Rule" (recommended), "Global," or "Direct."
Enable Proxy & Enjoy
Click "Enable System Proxy." Clash will configure your system settings, giving you access to Google, GitHub, and more.
Who Uses Clash?
From independent developers to global enterprise teams, Clash serves everyone needing advanced proxy solutions.
Developers & Programmers
Access GitHub, Stack Overflow, and npm registries without timeouts. Use rule-based splitting to proxy dev traffic while keeping local services direct.
- No more GitHub clone/push timeouts.
- Accelerate pip, npm, and brew package managers.
- Search docs via Google; access ChatGPT & Claude.
- Keep local services (WeChat, Taobao) direct.
Researchers & Students
Access Google Scholar, Sci-Hub, arXiv, and international journals for the latest global research.
Expats & Business Travelers
Access home-country banking and apps while abroad; use Google Workspace, Zoom, and Slack seamlessly when traveling.
Clash FAQ
Curated answers to the most frequently searched questions about Clash.
Is Clash completely free? Are there any fees?
How to add a subscription link in Clash?
Linux CLI: Add node info directly to
config.yaml or use tools like clash-sub to pull converted YAML configs.
What is Clash Rule Splitting? How to customize rules?
DOMAIN, DOMAIN-SUFFIX, IP-CIDR, GEOIP, and more.Add custom rules to the
rules: section of your config; they match from top to bottom. We recommend community rulesets like ACL4SSR or Loyalsoldier for out-of-the-box coverage.
Clash vs. Shadowrocket: Which is better?
What protocols does Clash support? How does it differ from V2Ray?
Why can't I connect to the internet with Clash?
How to fix macOS "Unidentified Developer" warning?
Is Clash safe? Does it leak my privacy?
Clash vs. Other Proxy Tools
Compare features and performance to find the best tool for your needs.
| Feature | ✦ Clash | V2RayN | Shadowrocket | Surge |
|---|---|---|---|---|
| Open Source & Free | ✓ Completely Free | ✓ Free | ✗ Paid | ✗ Paid |
| Supported Platforms | Win/Mac/Linux Android/iOS |
Primarily Windows | iOS Only | Mac/iOS |
| Rule Splitting | ✓ Excellent | Partial Support | ✓ Good | ✓ Excellent |
| Protocols Supported | 10+ | Mainly VMess/VLESS | Multiple | Multiple |
| TUN / Enhanced Mode | ✓ Supported | Partial Versions | ✓ Supported | ✓ Supported |
| Subscription Support | ✓ Full Support | ✓ Supported | ✓ Supported | ✓ Supported |
| Web Dashboard | ✓ Built-in API | ✗ | ✗ | ✓ |
Clash Config File
Structure at a Glance
Clash uses YAML for clean, intuitive syntax. Mastering the basic structure allows you to customize every rule.
Basic Settings Section
Define listening ports (HTTP/SOCKS5), DNS modes (fake-ip/redir-host), and external controller settings.
Proxies List
Add your proxy server details: protocol, address, port, encryption, and password. Supports multiple nodes.
Proxy Groups
Organize nodes into strategy groups like "Auto-select," "Fallback," or "Load Balance" for intelligent routing.
Rule Split Section
Route traffic based on Domain, IP, or GeoIP. Precisely define what goes through the proxy and what stays direct.
Choose Your Perfect Version
Free Forever, Ready to Use
Whether for personal use, development, or team deployment, we have the right solution for you.
Free Download Edition
Access all core features including rule splitting, multi-protocol support, and Web dashboards—perfect for daily browsing.
Choose Your PlatformMihomo Core
The open-source successor to Clash Premium. Supports Script rules, TUN virtual NICs, flow tracing, and latest protocols like Hysteria2, TUIC, and VLESS+Reality.
Download Mihomo NowHeadless Deployment
Runs as a daemon on OpenWrt, Linux servers, or NAS. Remote management via Web dashboards with minimal resource usage.
View Deployment GuideReady to start?
Download Clash for Free
Join 50 million users worldwide. Say goodbye to restrictions and enjoy an open internet.