When comparing Privacy Badger vs Pi-hole, the Slant community recommends Pi-hole for most people. In the question“What are the best ad blockers?” Pi-hole is ranked 4th while Privacy Badger is ranked 17th.
Ranked in these QuestionsQuestion Ranking
Pro Automatic detection & blocking
Privacy Badger automatically detects and block third-party tracking. If it detects an advertiser or network tracking you across different websites, subsequent requests to the advertiser will be blocked.
Pro Easy to use and configure
Everything works out of the box, you don't have to select blocking lists like in other ad blockers and there's pretty much nothing to configure.
Pro Easy import & export of settings
in human-readable format
Pro You can select a DNS like 184.108.40.206 or 220.127.116.11 and others
Pro Does not need a Pi
You can install this on any posix device that can run bash scripts eg your linux or unix server it also can run on windows with the subsystem for linux or with a docker container.
Pro Blocks ads for all network devices and browsers
No need to install blockers at the browser or OS level. Pi-hole works at the DNS (network) level so you only have to maintain and manage one authority.
Pro Frequent updates are easily applied
It takes one mouse-click to keep pi-hole updated and current with new blocked-site lists.
Pro Low-cost deployment
Installs on a $35 Raspberry PI SBC. Open-source software (donations accepted).
Pro Can whitelist blocked sites on the fly
If a blocked site comes up and pihole is set to display the block page, you can add it to the whitelist there and then.
Pro Can be used with a vpn from anywhere in the world
Pro Easy installer
It includes an easy shell installer.
Pro Regex blocking
Supports now regex blocking.
Con Requires some advanced devOps skills
The tutorial and installation is pretty straight-forward but requires some technical chops to install. You should be comfortable with the Linux command line.
Con Can inadvertantly block sites that are required for other web-based services
For example, using pi-hole for websites that rely on 3rd-party sites can be broken by pi-hole if the 3P site references black-listed sites.
Con Unreliable because of Pi architecture
If you use it with a Pi, however, Pi-hole can run on any POSix device that can run curses like: Any Unix/Linux server, Windows servers with the Linux subsystem, routers, even toasters if they run on Linux.
Con Setup horror
It blocks the ads but doesn't delete the location of an ad.