Bookmarklet Maker

A bookmarklet is a browser bookmark that runs JavaScript on the page you are viewing. Paste your JavaScript below, generate the javascript: URL, then drag the generated link to your bookmarks bar or copy it into a new bookmark.

How to use this tool

  1. Write or paste JavaScript. Leave off the opening javascript: unless you are editing an existing bookmarklet.
  2. Keep the IIFE option enabled unless your code already wraps itself. This keeps variables out of the page's global scope.
  3. Copy the generated URL or drag the generated link to your bookmarks bar.
  4. Open a page, then click the bookmarklet to run it on that page.

Step 1

Write the JavaScript

Step 2

Save the bookmarklet

0 chars

Ready.

Drag this link to your bookmarks bar:

My Bookmarklet

Step 3

Test in the sandbox

The local sandbox runs your code in an iframe test page. You can also enter a URL to see whether a page can be embedded.

If a URL test fails, save the bookmarklet and test it directly on that page. Remote sites often block iframe embeds or cross-origin scripting, which is normal browser security.

Local sandbox ready.
Console output
  1. Console output will appear here.

Step 4 (Optional)

Share your bookmarklets with others

Use Bookmark Llama when a bookmarklet needs to live in a shared folder, not as a one-off bookmark. Your team keeps using the browser's native bookmarks, and when you update a shared bookmarklet or bookmark, it automatically updates in everyone's browser.

See bookmark sharing