How to disable AI Mode on Google Search with uBlock Origin

Ashwin Karthik
Updated •
Google

Google Search has no setting that turns off AI Mode or AI Overviews, but you can hide them. Add a one-line cosmetic filter to uBlock Origin (or to Brave's custom filters) and the AI Mode tab disappears from the results page. To drop AI Overviews too, use Google's own Web filter, or make a Web-only Google search your browser's default.

This guide covers what Google lets you switch off, the exact uBlock Origin filter, the Brave equivalent and the Web filter shortcut for AI Overviews.

Google search results page with the AI Mode tab at the start of the filter bar

Can you turn off AI Mode in Google settings?

No, Google offers no switch that removes the AI Mode tab from Search. AI Mode is Google's conversational, Gemini-powered search experience, and Google places its tab at the start of the filter row, where the All tab used to be. That position makes accidental clicks easy.

Two official controls exist, and neither removes the tab:

  • Search Labs: if you joined the AI Mode experiment, you can open Search Labs, select Manage and toggle the AI Mode experiment off. This only ends your participation in the Labs testbed.
  • AI Overviews: Google's help page states that the feature cannot be turned off, because it is a core part of Search like knowledge panels.

What Google does offer is the Web filter. After a search, select Web (on some layouts it sits under More) and Google shows only text-based links, without AI Overviews. For the AI Mode tab itself, a content blocker is the only reliable way to hide it.

How to block Google AI Mode with uBlock Origin

uBlock Origin hides the AI Mode tab with a single cosmetic filter that targets the tab's link. The AI Mode tab opens a search URL that carries the udm=50 parameter, so the filter removes the list item in Google's navigation bar that links to a search with &udm=50.

  1. Click the uBlock Origin icon in your browser toolbar and open the dashboard (the gears icon).
  2. Open the My filters tab and make sure "Enable my custom filters" is checked.
  3. Paste the two lines below on a new line.
  4. Click Apply changes, or press Ctrl+S (Cmd+S on a Mac).
  5. Reload Google Search. The AI Mode tab should no longer appear in the filter bar.

! Google - Hide the "AI Mode" tab
www.google.*##[role="navigation"] [role="list"]>[role="listitem"]:has([href^="/search"][href*="&udm=50"])

The first line is a comment. The second line applies to every Google country domain thanks to the www.google.* wildcard. The filter was shared by the uBlock Origin community on r/uBlockOrigin. If you prefer to point and click, the element picker builds a similar rule for you, as explained in our guide to removing any page element with uBlock Origin.

uBlock Origin My filters tab with the filter that hides the Google AI Mode tab

How to hide AI Mode in Brave without uBlock Origin

Brave Shields accepts the same filter, because Brave's built-in blocker is broadly compatible with uBlock Origin's filter syntax. You do not need an extension.

  1. Open brave://settings/shields/filters (Settings > Shields > Content filtering).
  2. Scroll down and turn on Developer mode.
  3. In Create custom filters, paste the two filter lines from the section above.
  4. Click Save changes and reload Google Search.

Brave content filtering settings with the AI Mode filter in the custom filters box

Brave's filter management help page lists the same Create custom filters option on Android, and Custom Filters on iOS, so the rule also works in Brave on mobile.

Google search results with the AI Mode tab hidden by a cosmetic filter

How to remove AI Overviews from Google results

The Web filter removes AI Overviews, and you can make it the default for every search from the address bar. Google's AI Overviews help page confirms the Web filter "displays only text-based links without features like AI Overviews." When you click Web, the results URL carries the udm=14 parameter, and you can build a search engine entry around it.

In Chrome:

  1. Open Settings > Search engine > Manage search engines and site search.
  2. Next to Site search, click Add.
  3. Enter a name (for example Google Web), a shortcut, and this URL: https://www.google.com/search?q=%s&udm=14
  4. Click Add, then open the entry's menu (three dots) and select Make default.

Google documents these steps on its Chrome search engine help page; organization-managed browsers may block the change. Other Chromium browsers such as Edge, Brave and Vivaldi use a similar search engine screen. Combine this default with the uBlock Origin filter and Google Search shows neither the AI Mode tab nor AI Overviews.

Alternatives if you want search without AI

Switching search engines is the other route when filters feel like a moving target. Google changes its result page markup often, and a cosmetic filter only works until the page structure changes.

  • DuckDuckGo: lets you choose between plain search and its AI chat on the homepage, as covered in our report on DuckDuckGo's search or AI choice.
  • Small independent engines: projects such as Marginalia focus on traditional link results.
  • Google with the Web filter: keeps Google's index and ranking while removing the AI layer, as described above.

Google AI Mode answer page with a generated response and source links

FAQ

Does the uBlock Origin AI Mode filter also hide AI Overviews?

No. The filter only hides the AI Mode tab in the filter bar. Use the Web filter or the udm=14 default search engine to remove AI Overviews.

Why did my filter stop working?

Google changes the markup of its results page from time to time, and cosmetic filters depend on that markup. If the tab returns, check the uBlock Origin community for an updated rule or create a new one with the element picker.

Does this work in Chrome and Edge?

It works with any blocker that supports custom cosmetic filters. Edge users who were moved to the Lite edition should read our note on uBlock Origin Lite replacing uBlock Origin in Edge, because the Lite extension works differently from the full one.

Related: best ad blocker extensions for Chrome, what Gemini 2.0 brought to Google

Comments

  1. mousetracker said on
    Reply

    Thanks for writing this article, code worked for me with adguard adblocker. So annoying when companies try to force these features onto users.

  2. Catringa said on
    Reply

    Does not work! Thanks anyway.

  3. Jens said on
    Reply

    just append
    &udm=14
    to your seach like
    https://www.google.com/search?q=searchterm&udm=14

  4. neil said on
    Reply

    shame nothing works for when on a work provided device and unable to install extensions, as lost half the screen with ai mode :(

  5. Jordano Cerqueira said on
    Reply

    NICE!!!!

  6. 45 RPM said on
    Reply

    uBlock Origin was disabled on Chrome (for me) months ago and had to go to uBlock Origin Lite. I’d love to get the full featured UBO back, as this sort of hack can’t be done AFIK in Lite.

    I use Firefox 99% of the time – Chrome is basically just to access my numerous Gmail accounts so haven’t really cared all that much, but still on principle want full-UBO back.

  7. IAmTheWolf said on
    Reply

    In Brave I use the Extension Hide Google AI Overviews.

  8. Graham said on
    Reply

    Just use udm14.com
    It’s AI-free Google search.

  9. Tom Hawack said on
    Reply

    I guess a simple CSS line would make it. Of course UBO can do the job but personally when it comes to style editing I prefer a userstyle manager such as Stylish (though css can be created without a manager with only userChrome.css, at least on Firefox) should it be to not add more filters to an extension which is already substantial.

    I’ve encountered very — very — few pages where UBO performed what a CSS could not when the purpose was of course in the perimeter of CSS features.

    On the other hand, in my experience, CSS-related via Stylish performs slightly quicker than with DDG as it performs before the page is loaded whilst UBO, not always.

    AI tabs, buttons appear on several search engines, Brave, DuckDuckGo… All set to {display:not} here, with CSS/Stylish.

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.