Skip to content

Bookmarklets

41 one-click browser tools for everyday jobs. Sort a table, clean up a page, check a site.

Free and MIT licensed. Each one is a single JavaScript file you save as a bookmark. No extension, no account, and you can read the code before you run it.

Copy
// Edit Page.js, whole file
javascript: document.body.contentEditable = 'true';
document.designMode = 'on'; void 0

// Enable Right Click.js, whole file
javascript: void(document.oncontextmenu = null)

Small on purpose

A bookmarklet is a bookmark that runs JavaScript on the page you are viewing. Nothing to install and nothing running in the background.

Bookmarklets
41
one .js file each
Extensions to install
0
runs in the page you are on
Build steps
0
plain JavaScript files
License
MIT
use and change freely

Source: file count in the TheTechBasket/Bookmarklets repo, checked 2026-09-21.

What you get

  • Table tools

    Sort a table by any column, transpose its rows and columns, or add a number column. Made for plain HTML tables.

  • Clean up a page

    Edit Page makes any page editable in place. Remove Colours, Remove Images, Remove Stylesheet and Remove Bloat strip a page down to what you want to read or print.

  • Get past page limits

    Enable Right Click and Enable Text Selection undo scripts that block them. View Password shows what is typed in a password field. Remove Cookie clears the cookies for the site you are on.

  • Check a site

    Check Alt Tags and List Alt Tags audit images. Highlight Internal, External Links colours links by type. Total Index Pages runs a site: search, and View All Scripts and View All Stylesheet list what a page loads.

  • Text tools

    Word Frequency counts the words on a page. ROT13 encodes text, Bullet Points to Numbered List reformats a list, and URL as a Link Text swaps every link label for its address.

  • Look it up

    Send the current page to another service in one click: Wayback Machine, Down For Everyone Or Just Me, Wappalyzer, APKMirror, or a Second Opinion Search that repeats your query on Yahoo.

Short enough to read before you click

A bookmarklet runs with the same access as the page you are on, so only run code you understand. Every file in the repo is plain JavaScript you can read in a minute.

A few of them hand the page address to another site, or load a script from one. The example on the right sends only the hostname to a Google site: search. Heatmap and Performance Analyzer load a script from GitHub Pages.

Total Index Pages.jsCopy
// Total Index Pages.js
javascript: location =
  "http://www.google.com/search?num=100&q=site:" +
  escape(location.hostname); void 0

Adding one to your browser

  1. Pick a file. Open one of the .js files in the repo, for example Sort Table.js, and copy all of its code.
  2. Save it as a bookmark. Add a new bookmark, name it, and paste the code as its address. You can also select the code and drag it onto your bookmarks bar.
  3. Run it. Open a page and click the bookmark. It works on the page you are viewing.

Good to know

  • Test one before you rely on it. Some of these are old and call third party sites, so a few may have stopped working. Alexa.com, for one, was shut down in 2022.
  • Some sites use a Content Security Policy that blocks bookmarklets, mainly the ones that load a script from elsewhere. Those will not run there.
  • Most of them change only the page in your browser, so a reload undoes them. Remove Cookie is the exception, because it deletes the site's cookies.

Questions

What is a bookmarklet?
A browser bookmark whose address is JavaScript instead of a web page. When you click it, the code runs on the page you are viewing.
Do I need a browser extension?
No. A bookmarklet is a normal bookmark, so it works without installing anything or signing in.
Which browsers can use them?
Any desktop browser that lets you save a bookmark with a `javascript:` address, including Chrome, Firefox, Edge and Safari.
Are they safe to run?
You can read every file first. A bookmarklet has the same access as the page you are on, so run only the ones you understand and only on pages you trust.
Is it free?
Yes. The pack is MIT licensed, so you can use it, change it and share it.
Where is the full list?
In the GitHub repo, one file per bookmarklet. Our guide, 41 Bookmarklets to Boost Your Productivity, walks through the most useful ones.

Save one and try it

Stars on GitHub help other people find the pack.