URL to QR Code Bookmarklet
Free URL to QR Code bookmarklet: shows a scannable QR code for the current page, generated locally with no third-party service. Edit text, download PNG.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
The URL to QR Code bookmarklet is the fastest way to move a web page from your computer to your phone. Click it and a panel shows a QR code for the current address; point your phone camera at the screen and the page opens there.
The QR code is generated entirely inside your browser by a small built-in encoder (byte mode, with medium error correction, falling back to low for very long links). Most QR bookmarklets send your URL to an online QR API, which leaks every page you share, and breaks on intranets or when the service goes down. This one works offline, on localhost, on staging servers and on private pages, and no one else sees the URL.
You can edit the text field to encode something else, like a shorter link, a Wi-Fi note or a phone number, and download the code as a PNG for slides, print or a support ticket. Handy for developers testing mobile layouts, presenters and anyone who hates emailing links to themselves.
What it does
- Generates a standard QR code for the current URL in the browser, with no network requests
- Picks the smallest QR version that fits (up to version 20, about 650 characters at medium error correction)
- Editable text field: the code updates as you type
- Shows the QR version, error-correction level and character count
- Download PNG and Copy URL buttons
How to install the URL to QR Code bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open the page you want on your phone.
- Click URL to QR Code.
- Scan the code with your phone camera or QR app.
- Optional: edit the text to encode something else, then click Download PNG.
Scanning tips
Long URLs with tracking parameters produce dense codes that are harder to scan from across a room. Delete unneeded parameters (like utm_ tags) in the text box to get a simpler code. Keep the white border when you crop the PNG: scanners need that quiet zone. If your screen is very dim or in dark mode, raise the brightness for faster scanning. For printed material, download the PNG instead of photographing the screen: it is a sharp, pixel-perfect image at more than 500 pixels wide that you can scale up in any design tool.
Bookmarklet code
This is the exact code inside the button above (10,562 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Is my URL sent to a QR code service?
No. The QR code is computed locally in JavaScript and drawn on a canvas; no request is made.
Does it work on localhost or intranet pages?
Yes, because it does not depend on any online service. Your phone just needs network access to that address.
How long can the text be?
Up to roughly 650 bytes with medium error correction, or about 850 bytes using low error correction, which covers practically every URL.
Related bookmarklets
Free Markdown Link Copier bookmarklet: copies the current page as a clean [title](url) Markdown link for GitHub, Notion,…
Free Quick Note bookmarklet: opens a clean, distraction-free notepad in a new tab in one click. Type, copy or save as…
Free Wayback Machine bookmarklet: open the Internet Archive calendar of saved snapshots for the current page in one…
Show the live viewport width and height, device pixel ratio and the current Tailwind, Bootstrap and page CSS breakpoint…