Drag this link to your bookmarks bar.
Paste your valid JavaScript code below. This tool will format it as a bookmarklet without minifying or changing the logic.
Drag this link to your bookmarks bar.
A bookmarklet is a small piece of JavaScript code saved as a browser bookmark. When you click it, the code runs on the current web page, allowing you to add new features or modify its behavior.
Tip: If your Bookmarks Bar is hidden, press
Cmd/Ctrl + Shift + B
to show it.