Cats-Team/AdRules

List for blocking ads in the Chinese region. Block Ads, Trackers, Malware, HTTPDNS, PCDN.

Python

3,648

61 commits

updated Oct 14, 2026

See the code

README

AdRules


GitHub last commit GitHub License

Desc.

List for blocking ads in the Chinese region Block Ads, Trackers, Malware, HTTPDNS, PCDN.

❔Have any questions? Please go to Chat
📃Want to see the upstream rules? Source

📃 Rules List

[!CAUTION] Use the right filter on the right platform or suffer the consequences.

  • Content Rules
Rules Name🚀Github Raw🚀Github Pages🚀Gitlab Raw🚀Cloudflare Pages🚀Bitbucket Raw
AdRules AdBlock ListLinkLinkLinkLinkLink
AdRules AdBlock List LiteLinkLinkLinkLinkLink
AdRules AdBlock List PlusLinkLinkLinkLinkLink
  • DNS Rules
Syntax🚀Github Raw🚀Github Pages🚀Gitlab Raw🚀Cloudflare Pages🚀Bitbucket Raw
ABPLinkLinkLinkLinkLink
SmartDNSLinkLinkLinkLinkLink
MosDNSLinkLinkLinkLinkLink
Clash Domain-setLinkLinkLinkLinkLink
Loon Rule-SetLinkLinkLinkLinkLink
Surge Rule-SetLinkLinkLinkLinkLink
Surge Domain-SetLinkLinkLinkLinkLink
Mihomo srsLinkLinkLinkLinkLink
Singbox srsLinkLinkLinkLinkLink
  • Some formats not listed here, but due to performance or other reasons, we will not list them here, but you can find them in the main branch.

License

Please note that the licensing for this project depends on the branch and the type of content:

  • script branch (The Merge Tool): Contains the script used to merge the ad-blocking rules. The code in this branch is licensed under the 0BSD License - see the LICENSE 1 file for details. You can use, modify, and distribute the script freely without any restrictions.
  • main branch (The Generated Artifacts): Contains only the generated outputs (the merged ad-blocking rules) and does NOT include the script itself. The rules in this branch strictly follow the original licenses of their respective upstream authors (e.g., GPL-3.0, MIT, CC BY-SA 4.0). For a complete list of upstream sources, authors, and their specific licenses, please refer to 2.

Chat

📝 https://github.com/Cats-Team/AdRules/issues
💬 https://github.com/Cats-Team/AdRules/discussions

Afdian

Back to top

adblock
adblock-list
adguard
adguard-blocklist
dns

Cats-Team/AdRules

List for blocking ads in the Chinese region. Block Ads, Trackers, Malware, HTTPDNS, PCDN.

Python

3,648

61 commits

updated Oct 14, 2026

See the code

README

AdRules


GitHub last commit GitHub License

Desc.

List for blocking ads in the Chinese region Block Ads, Trackers, Malware, HTTPDNS, PCDN.

❔Have any questions? Please go to Chat
📃Want to see the upstream rules? Source

📃 Rules List

[!CAUTION] Use the right filter on the right platform or suffer the consequences.

  • Content Rules
Rules Name🚀Github Raw🚀Github Pages🚀Gitlab Raw🚀Cloudflare Pages🚀Bitbucket Raw
AdRules AdBlock ListLinkLinkLinkLinkLink
AdRules AdBlock List LiteLinkLinkLinkLinkLink
AdRules AdBlock List PlusLinkLinkLinkLinkLink
  • DNS Rules
Syntax🚀Github Raw🚀Github Pages🚀Gitlab Raw🚀Cloudflare Pages🚀Bitbucket Raw
ABPLinkLinkLinkLinkLink
SmartDNSLinkLinkLinkLinkLink
MosDNSLinkLinkLinkLinkLink
Clash Domain-setLinkLinkLinkLinkLink
Loon Rule-SetLinkLinkLinkLinkLink
Surge Rule-SetLinkLinkLinkLinkLink
Surge Domain-SetLinkLinkLinkLinkLink
Mihomo srsLinkLinkLinkLinkLink
Singbox srsLinkLinkLinkLinkLink
  • Some formats not listed here, but due to performance or other reasons, we will not list them here, but you can find them in the main branch.

License

Please note that the licensing for this project depends on the branch and the type of content:

  • script branch (The Merge Tool): Contains the script used to merge the ad-blocking rules. The code in this branch is licensed under the 0BSD License - see the LICENSE 1 file for details. You can use, modify, and distribute the script freely without any restrictions.
  • main branch (The Generated Artifacts): Contains only the generated outputs (the merged ad-blocking rules) and does NOT include the script itself. The rules in this branch strictly follow the original licenses of their respective upstream authors (e.g., GPL-3.0, MIT, CC BY-SA 4.0). For a complete list of upstream sources, authors, and their specific licenses, please refer to 2.

Chat

📝 https://github.com/Cats-Team/AdRules/issues
💬 https://github.com/Cats-Team/AdRules/discussions

Afdian

Back to top

adblock
adblock-list
adguard
adguard-blocklist
dns

Significant stargazers

Xiangzhe

119 followers · starred Sep 2025

Weichen Zhao

13 followers · starred Jul 2025

ChangeHow

29 followers · starred Mar 2022

大火yzs

74 followers · starred Nov 2022