Skip to content
Free converter · Google sign-in

Turn an HTML page into a QR code

A QR code can only hold a link, not a web page — so the page needs a URL first. Publish your HTML here and the QR code comes with it, ready to print.

Free: 3 URLs × 24 hours, 2 MB · custom address, password & editing included · permanent from $9

 · 
.htmltourl.dev
Stays online
24 hours on Free · keep it forever
Password protect this link

Free plan · Google sign-in · URLs are noindex · permanent from $9 · rules

Why HTML needs a URL before it can be a QR code

A QR code stores a few hundred characters at most. Putting raw HTML into one either fails or produces a code most phone cameras show as plain text. The working approach is always the same: host the page, then encode its URL in the QR code. When someone scans it, their phone opens the page in the browser.

Step by step

  1. Paste or upload your HTML above and press Get my URL.
  2. On the result card, press QR code and download it as PNG (for documents and social posts) or SVG (for print — it stays sharp at any size).
  3. Test-scan it with two different phones before printing.

Already have a URL? The QR code button is also in My links for every page you publish.

The big advantage: change the page, keep the code

Because the QR code points to a URL, and the URL stays the same when you Update content, you can fix prices on a menu, change the room on an event page or correct a typo after the posters are printed. That only holds while the URL is online — Free URLs expire after 24 hours, so for anything printed use a paid plan, which keeps URLs permanently.

Where HTML QR codes work well

  • Restaurant and café menus — a light HTML page loads faster than a PDF on mobile data.
  • Classroom quizzes and worksheets — students scan from the projector.
  • Event schedules, wedding pages, conference posters.
  • Product inserts and packaging — setup instructions that you can keep up to date.

Printing tips

  • Print at least 2 × 2 cm (0.8 in); 3 cm or more for posters seen from a distance.
  • Keep a quiet margin around the code and dark-on-light colours.
  • Shorter URLs make simpler, more scannable codes — a short custom address helps.
  • Make the page mobile-friendly: almost everyone scanning is on a phone.

Related guides

Frequently asked questions

Can I put HTML code directly in a QR code?

Technically a little, but phones will not render it as a page. Host the HTML and put the URL in the QR code instead.

Does the QR code expire?

The QR code itself never expires — it points to the URL. Free URLs are deleted after 24 hours; on paid plans the URL, and therefore the QR code, keeps working.

Can I change the page after printing the QR code?

Yes. Update the content in My links; the URL and QR code stay the same.

PNG or SVG?

SVG for print (infinitely sharp), PNG for documents, slides and social media.

Other converters

Paste HTML. Get a URL.

Code, an .html file, a ZIP or a whole folder becomes a live HTTPS URL with your own address, an optional password and a QR code. Free to start with Google sign-in; paid plans keep URLs online for good.

Convert HTML to URL