How Do You Save a Clean Google Search Bookmarklet?

A custom bookmarklet lets you append clean-search URL parameters to any active Google Search query with a single click. By saving a short JavaScript snippet as a standard browser bookmark, you can automatically strip clutter, switch to web-only results, or enforce specific search filters without manually editing the address bar.

What Is a Bookmarklet?

A bookmarklet is a browser bookmark that executes a small piece of JavaScript instead of opening a standard web page. Because it runs directly on the page you are currently viewing, it can read the current URL, modify its query parameters, and reload the page with your preferred settings applied.

Creating the Clean-Search JavaScript

To build a clean-search bookmarklet, you need a snippet that checks whether you are on a Google Search results page, adds or updates your chosen URL parameters, and navigates to the updated URL. Common clean-search parameters include udm=14 for web-only results without AI overviews, pws=0 to disable personalized search, and nfpr=1 to prevent automatic spelling corrections.

Here is a ready-to-use JavaScript snippet you can save as a bookmarklet:

javascript:(function(){const u=new URL(window.location.href);if(u.hostname.includes('google.')&&u.pathname==='/search'){u.searchParams.set('udm','14');u.searchParams.set('pws','0');window.location.href=u.toString();}})();

If you want to add or remove parameters, simply adjust the u.searchParams.set() lines before saving. For example, adding u.searchParams.set('tbs','li:1'); enforces verbatim search results.

Saving the Bookmarklet in Your Browser

You can save this snippet in any major desktop browser, including Chrome, Firefox, Edge, and Safari, using the following steps:

  1. Show your browser's bookmarks bar if it is hidden (usually Ctrl+Shift+B on Windows/Linux or Cmd+Shift+B on macOS).
  2. Right-click the bookmarks bar and select Add page or Add bookmark.
  3. Enter a short, recognizable name in the Name field, such as Clean Search.
  4. Paste the entire javascript:(function(){...})(); code into the URL (or Location) field.
  5. Click Save.

Using Your Bookmarklet

Whenever you run a Google Search and want to clean up the results, click your new Clean Search bookmark on the bookmarks bar. The script will immediately append your parameters to the current query and reload the page with your clean-search view.