NodeBuf

Rule Match Debugger

Batch-test Clash/Mihomo rules or sing-box route.rules and see the first matched rule, target policy, and skipped runtime-dependent rules for each domain, URL, or IP address.

Local browser debuggingClash / Mihomo YAML

Rules / config input

For Clash/Mihomo, paste bare rules or full YAML. For sing-box, paste full JSON, route.rules, or a rule array.

Domain / IP list

Enter one domain or IP address per line.

Paste rules and test addresses, then run the debugger.

Debug results

Shows the first matched rule, target policy, and statically skipped rule types for each address.

-
AddressRule indexRule typeMatch conditionTarget policyStatus

No debug results yet

Instructions:Rule Match Debugger

Rule Match Debugger

Use this tool to validate rule order and match results quickly. Paste Clash/Mihomo rules or sing-box route.rules, enter domains, URLs, or IP addresses, and review the first matched rule and target policy for each address.

What it supports

  • Accepts bare Clash/Mihomo rules snippets and full YAML configs with rules.
  • Accepts full sing-box JSON, route.rules, and bare rule arrays.
  • Statically evaluates domain, suffix, keyword, regex, IPv4 CIDR, port, and final catch-all rules.
  • Flags runtime-dependent rules such as RULE-SET, GEOSITE, and remote rule_set entries.

Comments

0 comments

Logged out
VVisitor

Up to 3 images, 5MB each

Log in to comment, like, and reply.

Login
No comments yet. Be the first to comment.