Clash configuration and Mihomo rule checker

Paste configuration or subscription content to check syntax, duplicate nodes, missing references and some shadowed rules locally.

No subscription URL is fetched, no code is executed and nothing is rewritten. External rules, scripts and advanced logic are not analyzed; no findings does not prove complete correctness.

Only have a subscription URL?

How do I check a Clash or Mihomo configuration?

Paste YAML or choose a local file; checks run automatically. Try the example first if needed. Processing stays in your browser and subscription URLs are not fetched. Never share token-bearing links publicly.

How do I fix common findings?

Give duplicate proxies and groups unique names. Match referenced names exactly. Remove circular group references. Put the MATCH fallback after specific rules so it does not hide them. Checks update after edits.

Does a clean result mean the configuration works?

No. Static checks do not run the Mihomo core, expand external rule providers or scripts, or validate all advanced semantics. They cannot establish subscription expiry or node availability. A URL alone is checked for format only; paste configuration content from your own client to inspect it.

Example of a shadowed rule
rules:
  - MATCH,DIRECT
  - DOMAIN-SUFFIX,example.com,DIRECT

May be shadowed by an earlier rule