Create bookmarklets with our easy-to-use tool
Create and test your bookmarklets instantly.
How to use Bookmarklet Maker
Step 1: Create Your Bookmarklet
- Enter a descriptive title for your bookmarklet in the Title field
- Write or paste your JavaScript code into the Code textarea
- Click the "Generate Bookmarklet" button to create your bookmarklet
Step 2: Test Your Code
- Use the "Run Code" button to test your JavaScript directly on the current page
- This helps verify your code works as expected before creating the bookmarklet
- If you need to make changes, edit the code and test again
Step 3: Install the Bookmarklet
- Drag the blue bookmarklet button to your browser's bookmarks bar
- The bookmarklet will be saved with the title you specified
- You can also copy the generated HTML code to share the bookmarklet with others
Important Notes
- Bookmarklets run in the context of the current webpage
- They can interact with page content, modify the DOM, and make web requests
- Some websites may have Content Security Policies (CSP) that restrict bookmarklet functionality
- For security reasons, bookmarklets cannot access local files or system resources
Tips for Success
- Keep your code concise and focused on a single task
- Test thoroughly on different websites where you plan to use the bookmarklet
- Consider browser compatibility when writing your code
- Use the Clear button to start fresh if you need to create a new bookmarklet
Example Bookmarklets
Ready-to-use bookmarklets for common tasks.
Share to Twitter
Share selected text to Twitter
Share to Reddit
Submit current page to any subreddit
Google Drive Viewer
Open any URL in Google Drive Viewer
View in Google Drive
Open current page in Google Drive Viewer
Inject Custom CSS
Inject css style sheet from a given URL into current page
Remove Styles
Remove all CSS styles from the page
Clean Google URLs
Remove tracking from Google search results
Org-mode Link
Convert current page to Org-mode link format
Wayback Machine
View current page in Internet Archive Wayback Machine
Frequently Asked Questions
Common questions about bookmarklets and how to use them.
What is a bookmarklet?
A bookmarklet is a browser bookmark that contains JavaScript code instead of a URL. When clicked, it executes the code on the current page.
How do I install a bookmarklet?
Drag the bookmarklet link to your browser's bookmarks bar. Click it when you want to run the code on any webpage.