HTML to QR code
A QR code can only hold a short piece of text — not a whole web page. So the reliable way to put HTML behind a QR code is two steps in one: host the page at a link, then encode that link. The converter does both and hands you a print-ready PNG.
Why not put the HTML in the QR itself?
A QR code tops out at about 3 KB of data, and phone cameras will not render raw HTML or data: URLs from a scan anyway. A short link like https://menu.htmltolink.dev/ makes a small, low-density code that scans quickly from across a room — and you can change the page later without reprinting the code.
Print tips
- Print the code at least 2 × 2 cm (about 0.8 in); bigger for posters read from a distance.
- Keep the white margin around the code — scanners need that quiet zone.
- Dark code on a light background; inverted colours fail on many phones.
- Test-scan with two different phones before printing a batch.
Mind the expiry
Free links stay online for 24 hours — perfect for a one-day event, a workshop or a test print. For anything printed on paper that will be around for weeks, make the link permanent with a Pro plan on htmltolink.dev, so the code never leads to an expired page.
Need the link to stay online?
Free links from this converter last 24 hours. Permanent links, bigger uploads (up to 75 MB) and no badge live on our sister site htmltolink.dev — same backend, same Google sign-in. Open it, sign in with the same account, choose a plan, and the links you already made here switch to permanent. Nothing to re-upload.
Pro plans from
$5/month
See Pro on htmltolink.devSign in there with the Google account you use here.
Questions about html to qr code
What size is the QR image?
Can I change the page after printing the QR code?
Do I need a separate QR generator?
Will the QR code expire?
More ways to convert HTML to a link
HTML file to link
Convert an .html or .htm file into a shareable link. Drop the file, get an https URL that opens …
HTML code to link
Paste HTML code and convert it to a live link in one click. Works with full pages and snippets, …
ZIP website to link
Upload a ZIP of your website — HTML, CSS, JS and images — and get a working link in seconds. The…
AI-made HTML to link
Turn HTML written by ChatGPT, Claude, Gemini or Copilot into a live link you can share. Paste th…
Password-protected HTML link
Convert HTML to a link that asks for a password before showing the page. Server-side protection,…
Convert HTML to a link on your phone
Open an HTML file on Android or iPhone by converting it to a link — paste code or pick the file …