Supercharge your browser with custom bookmarklets — tiny JavaScript programs that live in your bookmarks bar and run with a single click. Build them, decode existing ones, and manage your whole collection, all without installing anything.
Live site: https://bcantoni.github.io/bookmarklets/
Blog post: https://www.cantoni.org/2025/12/30/modern-browser-bookmarklets/
- Create & Edit Bookmarklets - Write JavaScript code and convert it to bookmarklet format
- Reverse Engineering - Paste any bookmarklet to decode it back to readable JavaScript
- Code Formatting - Built-in prettifier to clean up your code
- Test In-Browser - Run your bookmarklet directly in the current page
- Local Storage - All bookmarklets are saved in your browser's local storage
- Import/Export - Backup and restore your collection as JSON
- Drag & Drop Install - Drag the generated link directly to your bookmarks bar
The bookmarklet conversion process:
- Minifies the JavaScript code (preserving strings)
- Wraps it in an IIFE (Immediately Invoked Function Expression) to isolate scope
- URL encodes the result
- Adds the
javascript:prefix
- Single HTML file with embedded CSS and JavaScript
- Vanilla JavaScript (no frameworks)
- Highlight.js for syntax highlighting
- js-beautify for code formatting
- Browser localStorage for persistence
- Hosted on GitHub Pages
MIT License
This project was built with assistance from Claude Code.
