Skip to content

BlockAds: Clean Internet

Android ad and tracker blocker using local VPN DNS filtering, with an optional root mode

Copyleft (OSI) · GPL-3.0
  • Android

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

2,827

Last commit

today

Nov 2026

Repository age

9 months

since Feb 2026

Latest version

v7.2.0

Nov 2026

Contributors

–

2 active in 90 days

Releases

13

last 12 months

Language

Kotlin

BlockAds is an Android app that blocks ads, trackers and malicious domains across the whole device. It does this without root by running a local VPN service that checks DNS queries against filter lists. If your device is rooted, you can switch to a Root Proxy mode that redirects traffic with iptables instead.

Filter lists include StevenBlack, AdGuard DNS and EasyList, and they update on a 6, 12, 24 or 48 hour schedule. You can add custom block and allow rules, exclude chosen apps from the VPN, and use DNS-over-HTTPS with several providers. A live DNS query log is searchable. HTTPS filtering is also available, with per-app inspection, cosmetic CSS and JavaScript scriptlets. A curated list of 284 domains bypasses filtering so banking, payment and government apps keep working.

The app is written in Kotlin with Jetpack Compose and Material 3, plus a Go tunnel component. It offers a Quick Settings tile, a home screen widget, WireGuard profile import and settings backup. All data stays on the device. It is licensed under GPL-3.0 and is available through F-Droid.

Who it's for

Android users who want system-wide ad blocking without root

The local VPN mode filters DNS for every app without needing a rooted device.

Skip if: You already run a network-level blocker such as a home DNS server and only need it on your own network.

Rooted-device owners who want to avoid a VPN slot

Root Proxy mode uses iptables redirection, so another VPN can stay active.

Skip if: Your device is not rooted, since VPN mode is then your only option.

Privacy-minded users who want to inspect DNS activity

The real-time query log and custom rules show what each app contacts and let you block it.

Skip if: You want a desktop or iOS blocker, because this app runs on Android only.

The problem it solves

Ads and trackers load inside apps where browser extensions cannot reach. You need a way to filter them across the whole phone without sending your traffic to a third-party service.

Strengths

  • Works without root through a local VPN service
  • Optional root mode via iptables for rooted devices
  • Built-in lists with scheduled auto-update every 6 to 48 hours
  • Per-app bypass, custom rules and DNS-over-HTTPS support
  • All data stays on the device, GPL-3.0 licensed

Trade-offs

  • Android only; there is no iOS or desktop version
  • VPN mode occupies Android's single VPN slot
  • HTTPS filtering needs a CA certificate installed on the device
  • Building from source needs Android Studio, JDK 17 and SDK 36

Self-host BlockAds: Clean Internet

Self-hostable
No (desktop or local app)

Quick start

git clone --filter=blob:limit=1m https://github.com/pass-with-high-score/blockads-android.git
cd blockads-android

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is BlockAds free?

Yes. It is open source under GPL-3.0 and available through F-Droid.

Do I need root?

No. The default mode uses a local VPN. Root is only needed for the optional Root Proxy mode.

Does it send my data anywhere?

The app keeps all data on your device. Crash reporting is optional.

Which platforms does it run on?

Android only. Building it requires a minimum SDK of 24.

Can I use my own filter rules?

Yes. You can add custom block and allow rules, whitelist domains and back up your settings.

Similar tools in Firewalls and network security

TrackerControl

Firewalls and network security

Android app that shows which companies track you and blocks it, without root

2.8k 144 8 days ago Thriving GPL-3.0

ShizuWall

Firewalls and network security

Android firewall that blocks apps per package without using a VPN

2.6k 75 2 days ago Thriving GPL-3.0

Blocker

Firewalls and network security

Android component manager that disables unneeded app components via Intent Firewall

2.5k 103 today Active Apache-2.0

UUSEC WAF

Firewalls and network security

Self-hosted web application firewall built on nginx and LuaJIT, with semantic attack

1.7k 167 yesterday Active BSD-2-Clause

DNSNet

Firewalls and network security

On-device DNS ad and malware blocker for Android, no root needed

991 44 today Thriving GPL-3.0

super

Firewalls and network security

Self-hosted WiFi router software giving each device its own isolated network

906 67 2 days ago Active BSD-3-Clause