SEO Bookmarklets

A bookmarklet is a Javascript code that can be saved as a bookmark in your internet browser (such as Google Chrome or Firefox), which allows users to perform certain functions by clicking on it.

To create a bookmarklet, simply go to Bookmarks > Bookmark Manager > Add New Bookmark, add the bookmark name, and paste the JavaScript in the URL field. 

Once you click on the bookmarklet, it will execute the code on the current page you are viewing, providing a convenient way to use tools or scripts without having to navigate away from the page.

It has become a very handy shortcut for me to perform different SEO analysis. This article is a collection of bookmarklets that I tested and used.

You can drag the heading link to the bookmarks bar and create bookmarklets instantly.

View and validate the schema

This bookmarklet helps instantly check the schema markup is used on the page and also validate if there’s any error or missing for the markup used.  

Open the current page on Wayback machine

The Wayback Machine bookmarklet helps me retrieve archived versions of a webpage quickly, and allows me to analyse changes over time. If I noticed a competitor has a page improved significantly, this help

Filter the exact URL in the Google Search Console

This bookmarklet filters the GSC data for the exact URL you are viewing, so you can instantly see the performance without going to GSC manually. This one has saved me a lot of time!  

If you have multiple property in your Google Search Console, you will see an error message. Don’t worry – just choose the property from the dropdown and you will be directed to the URL performance report.

Open Sitemap

This bookmarklet allows you to open sitemap directly in your browser, but it only works if the sitemap file ends with sitemap.xml.  In case your website uses a sitemap_index, you would need to tweak the function a bit.

Open robots.txt

I use this bookmarklet to quickly access robots.txt, it helps me review which sections of the site or any crawlers are being disallowed. 

Check competitor on SEO tools

Checking competitors’ domain or URL on SEO tools is my day-to-day. With this bookmarklet, I can directly open Ahrefs or SEMRush to analyze the domain or URL organic traffic and keyword data.

Check domain on Ahrefs

Check Exact URL on Ahrefs

Domain Overview on SEMRush

Exact URL Overview on SEMRush

By converting the text of a link into the actual URL, it simplifies the process of copying links directly from a webpage. 

Open PageSpeed Insight Test

The PageSpeed Insights tool by Google provides information into areas that need optimization, allowing for the implementation of best practices that result in faster loading times and better overall performance.

Extract schema markup

I found this bookmarklet on Oxyplug. Unlike opening the schema markup on the validator directly, it extracts only the schema markup without other HTML elements.

It makes the schema markup easier to copy and clear to understand the code structure as they are not condensed in the same line inside the code editor.

Extract URLs from SERP

This bookmarklet extracts URLs from search engine results pages (SERPs) and streamlines the data collection process for SERP analysis. Instead of manually copying and pasting each URLs, you can quickly gather the full list and start analysing competitors faster. 

Highlight Heading

The bookmarklet color-codes each heading tier, so you can quickly visualise the structure of a webpage’s content at a glance without using any browser extension.

Example of using Bookmarklet to highlight heading

Also: Extract Heading in a new tab

If you need to copy the website structure, this bookmarklet extracts the heading and list them in a new tab. 

This bookmarklet generates a list of internal links on the webpage and displays them in a new window.

Show Page Title and Description

Understanding a webpage’s meta title and description is crucial for on-page optimisation.

With this bookmarklet, you can easily extract and review a page’s title and meta description without the need to view the page source or use developer tools. It also shows the character count.

Show page title and description with a click on bookmarklet

Check Canonical URL

Checking if a URL matches the canonical version ensures consistent indexing and prevents duplicate content penalties. It helps consolidate link equity and optimize crawl efficiency for search engines.

This SEO bookmarklet allows you to check if the canonical URL matches the current URL. 

javascript: (function () { var url = document.location; var links = document.getElementsByTagName('link'); var found = 'Not Found'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('rel') == 'canonical') { found = 'Canonical Found\n\nCanonical Reference:\n'+l.getAttribute('href')+'\n\nCurrent URL:\n'+document.location;if(l.getAttribute('href')==document.location){found=found+'\n\nCanonical tag matches current URL.'}else{found=found+'\n\nThe Canonical reference and current URL are different. Canonical fallback in place.'} break; } } alert(found); })();

Final thoughts

With the SEO bookmarklet, you can streamline your workflow and save a lot of time from opening multiple tabs or copying and pasting information.

If there are any repetitive tasks that you would like to simplify, try to look for resources and see if there is smarter way to do that.

Aubrey Yung

Aubrey Yung

Aubrey is an SEO Consultant with 5+ years of B2B and B2C marketing experience.