Bookmarklet Generator - Online Convert JS to Browser Bookmark
Paste any JavaScript snippet and get a ready‑to‑drag bookmarklet link. Minify and encode automatically. Pure client.
UD5 Toolkit
Convert your JavaScript code into a ready-to-use bookmarklet. Drag it to your bookmarks bar & run it on any page.
Copied!
javascript:... code into the URL field, and save it. Open any page, tap the bookmark to execute.
javascript: URI scheme. When a browser encounters a bookmark with a javascript: URL, it executes the JavaScript code in the context of the currently loaded page. This gives the bookmarklet full access to the page's DOM, variables, and APIs — which is why it can modify content, read data, and interact with the page just like a script that was natively included. Our builder wraps your code in an IIFE (Immediately Invoked Function Expression) to prevent variable leaks and uses encodeURIComponent() to ensure all special characters are properly encoded for URL compatibility.
encodeURIComponent) converts special characters like spaces, quotes, ampersands, and other symbols into their percent-encoded equivalents (e.g., space becomes %20). This is essential because bookmark URLs must conform to URI standards. Without encoding, characters like #, &, ?, and unescaped spaces could break the bookmark or be misinterpreted by the browser. Proper encoding ensures your bookmarklet works reliably across all browsers and platforms.
frame or iframe sandboxing<script> tag and appending it to the DOM. For example:var s=document.createElement('script');s.src='https://cdn.jsdelivr.net/npm/lodash@4/lodash.min.js';s.onload=function(){/* your code */};document.head.appendChild(s);javascript:... URL in the URL field. You can copy it back into this tool (the builder automatically strips the javascript: prefix and decodes it for editing), make your changes, and regenerate. To delete, simply right-click and choose "Delete" or remove it from the Bookmark Manager.
void(0); prevents this, but if unwrapped, add void(0); at the end of your code.Content-Security-Policy headers that block inline scripts.
Paste any JavaScript snippet and get a ready‑to‑drag bookmarklet link. Minify and encode automatically. Pure client.
Make your JavaScript code more readable with this online beautifier. Format and indent JS automatically. Works entirely in your browser, protecting your code privacy.
Paste a URL or HTML to detect known vulnerable JavaScript library versions. Quick security audit. Client‑side only.
Generate a horizontal Code‑128 barcode from any string. Download as PNG or SVG. Works offline. For inventory.
Type JavaScript expressions and see output like a real browser console. Supports console.log, error, warn. Use for quick testing without DevTools.
Add player names and tap +/- to track scores. Custom starting points. Works for any game.
Test the new HTML popover attribute for creating accessible tooltips, menus, and dialogs without JavaScript. Copy code snippets.
Design a fully styled scrollbar with colors, width, and border radius. Get the CSS for Chrome and Firefox.
A visual guide to common copy‑editing and proofreading symbols. Click a mark to see its meaning. For writers.
Convert any integer up to 3999 into its Roman numeral representation and vice versa. Quick and accurate. Local.
Connect a game controller and see every button press, axis movement, and vibration test. Uses the Gamepad API.
Convert numbers to Roman numerals and decode Roman numerals back to numbers. Supports up to large values. A fun educational tool running entirely in your browser.
Add N business days to a date, skipping weekends and optionally entering custom holidays. Regional presets.
Design a pure CSS tooltip with custom text, position (top/bottom/left/right), and arrow. Copy the clean code.
Play the classic Snake game inside your browser. Arrow keys to move, eat the apple, grow longer. High score tracked locally.
Explore the new two‑value display syntax like `display: block flex`. See what each inner/outer pair does visually.
Paste long text and split it into 2, 3, or 4 balanced CSS columns. Preview and copy HTML/CSS. For magazine layouts.
Enter L*a*b* values and see the corresponding RGB and hex color. Useful for advanced color manipulation.
Write and store encrypted daily journal entries directly in your browser's localStorage. Export as TXT. No sign-up, fully private.
Compute Poisson probabilities for a given mean rate. Ideal for call centers, traffic analysis. Instant chart.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
A big button that triggers a colourful confetti cannon full‑screen. Use it to celebrate small wins. Pure joy.
Test overscroll‑behavior: contain to prevent background scroll or pull‑to‑refresh. See the effect in a live demo.
Apply user‑select: none, text, all and see how it affects selection. Copy the CSS snippet for your UI elements.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Convert decimal negative and positive numbers to 8/16/32-bit two's complement binary. Essential for low-level programming.
Set a short timer with a themed emoji animation (e.g., pizza cooking). A playful visual countdown.
Find out what day number of the year any date is (1‑366). Also shows days remaining. Simple reference.