Quick summary: An ad blocker matches the requests a page makes against rule lists and stops the ones that look like advertising or tracking, then hides any leftover empty boxes. It can run as a browser extension, inside the browser, on your network or system-wide. It reduces ads and tracking, but it cannot catch everything and it does not make you anonymous.

Most people picture an ad blocker as software that recognizes ads. In practice it works more like a bouncer with a list. It does not judge what a request looks like; it checks whether the address or element is on a list of known advertising and tracking sources. Understanding that one idea explains almost everything about how blockers behave, including why they are fast, why they sometimes miss things, and why they occasionally break a site.

A web page is assembled from many requests

When you open an article, your browser first downloads the main document. That document then tells the browser to fetch more: stylesheets, images, fonts, scripts, and resources from other companies. On a typical ad-supported page, a meaningful share of those requests go to third parties that sell ad space, measure audiences or track visitors. Each request is a point where a blocker can step in.

Because the blocker acts before the content is downloaded, blocking can reduce the amount of data a page uses. How much depends entirely on the page. A clean documentation site may have almost nothing to block, while a crowded news page may have a lot.

Network filtering with filter lists

The core technique is network filtering. The blocker holds one or more filter lists, which are rule sets maintained by communities or companies. Each rule describes an address pattern, a type of resource or a combination, such as a request to a known ad server for a script. When the browser is about to make a request, the blocker checks it against the rules. If it matches, the request is cancelled and nothing downloads.

Filter lists are maintained by communities or companies, and many blockers load a main ad list by default. Separate lists target trackers, social media buttons, cookie banners or malware domains. Enabling more lists generally blocks more, and also raises the chance of breaking something, which is why most tools start with a sensible default set.

Cosmetic filtering hides what is left

Stopping a request leaves a gap. If an ad never loads, the space it was meant to fill may still be there as an empty box or a banner-shaped hole. Cosmetic filtering solves this by hiding page elements that match rules describing their position, name or structure. This is why a well-configured blocker usually leaves pages looking tidy rather than full of blank rectangles.

Some blockers go further with script-level rules that neutralize specific behaviours on a page, for example code that tries to detect a blocker. These are more advanced and more dependent on what the browser permits.

Where the blocking happens

The same filtering ideas run in several places, and the location determines what the blocker can see.

Browser extension. The most familiar form. It runs inside one browser, can see page structure, and so can do both network and cosmetic filtering. It only protects that browser, and it needs permission to read and change pages.

Built-in browser features. Some browsers include blocking or tracker protection natively. Firefox, for example, offers Enhanced Tracking Protection, which focuses on known trackers. Native features avoid installing an extension, though their scope and controls differ by browser.

DNS-level filtering. Instead of inspecting pages, a filtering DNS service or a local filter refuses to translate known ad domains into addresses, so devices on the network never reach them. This covers phones, TVs and apps on the same network, but it cannot hide page elements or tell a first-party ad from the page it sits on.

System-wide apps. Some apps filter traffic across several browsers and sometimes apps on a device. They can reach beyond one browser, but they also sit deeper in your system, so the trust you place in the vendor matters more.

Why browsers affect what blockers can do

An extension can only do what the browser's extension system allows. Safari, for instance, has its own content-blocker mechanism in which rules are handed to the browser to apply. Chrome and other Chromium browsers have been moving extensions from an older framework, Manifest V2, to Manifest V3. Under the older model, extensions could inspect and decide on each request themselves. Under Manifest V3, blocking extensions are directed toward a declarative approach in which they supply rules for the browser to apply, with limits on how many and how dynamic those rules can be.

In practice, this led to changes you may have heard about. Some blocker developers released reduced Manifest V3 versions and have said they are less effective against sites that use anti-blocking techniques and at avoiding site breakage, because some filters cannot be converted into the declarative format. Google has said that Manifest V3 versions exist for several popular blockers. If you use Chrome, check that your chosen blocker has a current Manifest V3 version, and expect that capabilities can differ between browsers.

What blocking does for privacy

Many ads load alongside tracking scripts, so blocking them can also cut off reporting about which pages you visit. Tracker-focused lists and browser protections target this directly. The effect is real but partial. Sites you are signed in to still know who you are, your internet provider still sees which sites you connect to, and some tracking techniques do not rely on the scripts a blocker looks for.

Think of blocking as one layer. Strong account security, careful permissions and, where relevant, a VPN each cover different gaps. Our guides to protecting your privacy online and to whether you need a VPN explain how these layers fit together. An extension also gets broad access to the pages you view, which is a privacy consideration in itself, so choose carefully, as described in the usage guide.

Why blockers have limits

Because blockers rely on rules, they struggle where rules cannot cleanly separate an ad from the content.

  • First-party ads. If an ad is served from the same address as the page, blocking the address would break the page.
  • Native and sponsored content. A paid article styled to look like editorial has no ad server to block.
  • Ads inserted into video. When a platform stitches ads into the video stream itself, there is no separate request to cancel, so results vary and change often.
  • Anti-blocking measures. Some sites detect blockers and show a notice or restrict content, and blockers and sites keep adapting to each other.
  • Fast-moving ad networks. New ad addresses appear continually, and lists need regular updates to keep pace.

These are not failures so much as the boundaries of a rule-based approach. When something gets through, or something breaks, the troubleshooting guide walks through the usual causes in order.

Putting it together

An ad blocker is a rules engine that sits between your browser and the web, stopping recognizable ad and tracking requests and hiding what remains. Where it runs, which lists it uses and what your browser permits decide how much it can do. If you are ready to choose one, the comparison guide sets out the criteria that matter, and the overview of ad blocking is a good place to orient yourself first.

Frequently asked questions

How do ad blockers work?

They compare each request a page makes, and each element on the page, against filter rules that describe known ad and tracking sources. Matching requests are blocked before they download, and leftover empty ad slots are hidden.

What is a filter list?

A filter list is a maintained set of rules that identifies ad, tracker or annoyance addresses and page elements. Most blockers let you enable several lists at once.

Does an ad blocker stop tracking?

It can stop many known trackers if tracker lists are enabled, which reduces cross-site profiling. It does not stop tracking that comes from sites you log in to, and it does not hide your connection from your internet provider.

Why do some ads still get through?

Rules can only block what they can identify. Ads served from the same address as the content, sponsored text styled as editorial, and ads inserted into a video stream are harder to separate, and new ad addresses appear faster than lists can catch every one.