Official Clash English Site

Network Proxy Core

Clash / Mihomo is a free, open-source, high-performance network proxy core that supports rule-based routing, multi-protocol compatibility, and TUN transparent proxy. Official clients for all platforms are available for free download with no registration—ready to use out of the box.

Official Open Source  ·  Free Forever  ·  No Registration
Cross-Platform Support
# Core Routing Strategy Configuration (YAML)
rules:
  - DOMAIN-SUFFIX,google.com,Proxy
  - DOMAIN-KEYWORD,tracker,Reject
  - GEOIP,CN,Direct
  - MATCH,Proxy

# Dynamic External Rule Set Subscription
rule-providers:
  anti-ad:
    type: http
    behavior: domain
    url: "https://cdn/anti-ad.txt"
Proxy tcp 192.168.1.5 -> google.com
Direct udp 192.168.1.5 -> 114.114.114.11
Reject tcp 192.168.1.5 -> ad.doubleclick.net
Rule Engine Listening
Rule Hit: MATCH
Smart Routing

Move beyond global proxying,
experience granular routing.

Featuring a powerful built-in rule matching engine. With elegant YAML syntax, you can precisely control the destination of every packet based on domain names, IP CIDRs, or even process names, achieving seamless traffic splitting between domestic and international sources.

  • Fine-Grained Routing Policies
    Combining built-in GEOIP databases with custom rules, it supports over ten rule types including DOMAIN, DOMAIN-SUFFIX, IP-CIDR, GEOIP, and PROCESS-NAME. Direct and proxy traffic are precisely separated without interference.
  • Rule Providers Dynamic Pulling
    Supports scheduled pulling of rule sets containing tens of thousands of entries from remote servers. Say goodbye to bloated local configurations; subscription means updates, and rules always stay current.
  • Script Engine & Lua Extensions
    Supports writing custom routing logic via a built-in script mode. For complex conditional judgments and dynamic policy scenarios, achieve any degree of precise control.
10+
Rule Match Types
<1ms
Rule Hit Latency
Nested Rule Hierarchies
Vmess
Shadowsocks
Trojan / Snell
Clash for Win
ClashX Mac
Clash Android
OpenWrt Core
Cross-Platform Ecosystem

One configuration,
seamless interconnectivity across all platforms.

Whether it's your primary workstation, mobile device, or home software router, maintaining a single standard configuration file ensures a consistent network scheduling experience across any platform powered by the Clash core.

  • Native TUN Mode Global Takeover
    Supports creating virtual network cards on all platforms to forcibly capture traffic from underlying applications that don't follow system proxy settings (such as UWP apps, Docker containers, or CLI tools), ensuring zero traffic leakage.
  • LAN Transparent Gateway Sharing
    Enable Allow-LAN with one click to turn your PC or phone into a transparent home proxy gateway. Smart home devices, gaming consoles, and TV boxes can all be managed without individual configuration.
  • Seamless Cross-Device Config Sync
    Standard YAML configuration files can be synced and updated in real-time across all platforms via subscription links, eliminating the need for manual maintenance when nodes change.
5
Natively Supported Platforms
20+
GUI Client Versions
1
Universal Config File
Clash Dashboard
Global Rule Direct
Real-time Downlink Rate
24.5 MB/s
Uplink 3.2 MB/s
Traffic Destination Ratio
● Proxy 60% ● Direct 25%
Active Connections
128
Today's Peak 312
🇸🇬 Singapore12ms
🇯🇵 Tokyo24ms
RESTful API & Dashboard

Fully decoupled,
embrace graphical control.

Clash is essentially a "Headless" proxy core. It features a comprehensive built-in RESTful API, perfectly decoupling underlying network logic from external UI control panels.

  • Real-time Traffic Monitoring & Node Switching
    Use third-party dashboards like Yacd or Razord to visualize real-time rates, connection counts, and rule hits in your browser, and switch proxy nodes or modify routing policies at any time.
  • Open API Drives Rich Client Ecosystem
    Complete RESTful API specifications have fostered a flourishing ecosystem of graphical clients—desktop GUIs, mobile apps, and automated O&M scripts can all connect seamlessly.
  • WebSocket Real-time Event Push
    Subscribe to real-time logs and connection event streams via WebSocket interfaces. No polling latency between the dashboard and the core; traffic data syncs to the UI in milliseconds.
30+
REST API Interface
WS
Real-time Event Push
0ms
Data Sync Latency
Core Features

Designed for geeks, zero bloat.

Performance Core

High-Performance Go Kernel

Built from the ground up in pure Go, discarding legacy baggage. It features extremely low memory usage (typically <50MB) and outstanding concurrent processing. Stress tests show it easily reaches bandwidth limits on gigabit home networks with zero system performance loss, making it ideal for long-term stable operation on low-power embedded devices like routers and Raspberry Pis.

All Protocols

Native Compatibility with All Proxy Protocols

No tedious conversion plugins needed. Native support for all modern mainstream proxy protocols including Shadowsocks, VMess, Trojan, Snell, VLESS, and SOCKS5—one core handles every scenario.

DNS Security

Eliminate DNS Pollution

Built-in independent DNS server module supporting DoH and DoT encrypted resolution. Use nameserver-policy for precise routing of specific domains, preventing DNS leaks and pollution at the source.

High Availability

Multi-Level High Availability Policy Groups

Supports Fallback (auto-failover), URL-Test (latency-based selection), Load-Balance, and infinite levels of nested policy groups. Node failures are detected in seconds, with automatic switching and seamless recovery.

Open Source

Fully Transparent Code

The core code is 100% open source, audited and iterated upon by a global community of developers. Every line of logic is verifiable, fundamentally eliminating backdoors and privacy concerns. Free forever, zero ads.