How to Stop Google Chrome from Automatically Highlighting Search Terms

The Neon Distraction

Google Chrome occasionally rolls out new visual experiments without warning. One such feature is “Text Fragment Highlighting.” If you click a specific type of link from a Google Search result (or receive a specialized link from a colleague), Chrome will automatically jump to that specific paragraph on the webpage and aggressively highlight the search terms or the entire sentence in a bright, neon yellow color. While this helps you instantly find the relevant information on a massive wiki page, the permanent yellow highlighting cannot be clicked away or easily dismissed, creating a highly distracting reading experience once you have actually found what you are looking for.

Disabling the Text Fragments

To ensure webpages load exactly as their designers intended and stop Google Chrome from automatically highlighting search terms in bright yellow, you must disable the underlying text fragment flag.

Because there is no standard settings toggle for this behavior, you must access the browser’s hidden experimental features. Open a new tab in Google Chrome. Click into the address bar at the very top, type exactly chrome://flags, and press Enter. A warning page with a search bar will appear. Type Text Fragment into the search bar. The list will filter down, and you should see a specific flag named Enable Text Fragment Anchor. Click the dropdown menu located to the right of this specific flag (it will likely be set to “Default”) and explicitly change it to Disabled. A blue button labelled Relaunch will appear in the bottom right corner of the window. Click it to restart Chrome. The browser will no longer paint the text yellow when following fragment links.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.