← All tools

Bookmarklet Builder

Wrap supplied code in an IIFE and encode it as a javascript: bookmark URL. Code is not executed, minified or claimed safe. Review code before manually installing a bookmark; output is text, never a clickable executable link.

bookmarklet-builderLOCAL WORKSPACE

Enabling local controls…

Inputs and settings

Processed in this tab without uploading or storing inputs. Each text field is limited to 32 KiB and complete output to 1 MiB; additional format and model limits apply.

Results

Review the settings and run. Editing inputs clears old results.

Processing model and limits

Wrap supplied code in an IIFE and encode it as a javascript: bookmark URL. Code is not executed, minified or claimed safe. Review code before manually installing a bookmark; output is text, never a clickable executable link.

Data and model checked: MDN: javascript URLs ↗Source tool controls ↗

How to use this tool

Load the example, confirm field units and processing rules, then run locally. Editing any input clears the old result. Copy or download the complete output explicitly.

When not to use it

Wrap supplied code in an IIFE and encode it as a javascript: bookmark URL. Code is not executed, minified or claimed safe. Review code before manually installing a bookmark; output is text, never a clickable executable link.