Live Preview

This is exactly what your visitors will see. Try it — paste a link and download the QR code.

Copy-Paste Snippet

Paste this anywhere in your HTML. The generator appears in place of the <div>, and the caption underneath stays as a small, unobtrusive credit link.

<div data-ezqr-embed style="max-width:500px;margin:0 auto"></div>
<p style="font-size:12px;text-align:center;margin:8px 0;color:#5d6d7e;font-family:sans-serif">
  <a href="https://ezqr.ca" target="_blank" rel="noopener" style="color:#1a6b3b;text-decoration:none">Free QR code generator</a> by EZQR
</p>
<script src="https://ezqr.ca/embed.js" async></script>

Want a taller embed? Add data-ezqr-height="600" to the placeholder div.

Try It on a Fiddle

Prefer to poke at the snippet on a live sandbox first? Here's the embed running on a few popular code-sandbox sites:

Open Source Packages

Don't want to copy-paste the snippet by hand? There are four small wrapper packages — one for plain HTML / unpkg, one for Vue 3, one for Astro, and a self-hosted container:

Why Embed EZQR Instead of Building One?

Zero Build, Zero Maintenance

One <script> tag. No npm install, no QR library to update, no encoding logic to debug. We handle every edge case.

Multiple Download Formats

Visitors can download as PNG, SVG, or JPG. No extra config needed — every format is built in.

No Account Required

Your visitors don't need to sign up for anything. Static QR codes generate instantly and download to their device.

Free Forever

Static QR codes are free forever on EZQR — no watermarks, no expiry, no scan limits. Same applies to the embed.

Responsive by Default

The embed fills its container width. Works on mobile, tablet, and desktop without extra CSS.

Privacy-Friendly

The QR is generated entirely in your visitor's browser. Their link never leaves their device.

How It Works

  1. Paste the snippet into your HTML. Anywhere — a blog post, a help page, a sidebar, a marketing landing page.
  2. The loader script runs. It finds the data-ezqr-embed placeholder and inserts the generator iframe.
  3. Visitors create QR codes. They paste a URL, press the button, and download in PNG, SVG, or JPG.
  4. The caption stays as a small backlink. A 12px credit line under the embed — same pattern Twitter, Instagram, and YouTube embeds use.

Good Places to Embed

  • Marketing or how-to blog posts that mention QR codes — give readers the tool right where they're reading about it.
  • Help center articles for any product where customers sometimes need to generate a QR code (Wi-Fi passwords, contact cards, event pages, app store links).
  • Internal company portals where staff need to make quick QR codes for print materials, signage, or training docs.
  • Educational sites teaching design, marketing, or information systems — students can try QR generation hands-on.

Want Editable QR Codes Instead?

The embed generates static QR codes — the destination is baked into the pattern, so it cannot be changed after printing. For QR codes whose destination you can update after the fact (and that track scans), see editable dynamic QR codes. Dynamic codes require an EZQR account and live in your dashboard, not in an embed.

Common Questions

Can I embed a QR code generator on my website?

Yes. EZQR offers a free embeddable QR code generator. Paste the snippet into any HTML page and your visitors can create static QR codes directly on your site — no account, no watermarks, no expiry.

Is the embeddable QR generator free?

Yes. The embed is free for any website — personal blogs, business sites, educational pages, internal tools. The generator creates static QR codes, which are free forever on EZQR.

Does the embed slow down my page?

No. The loader script is small and loads asynchronously, and the generator itself loads lazily inside an iframe. It does not block your page render.

Can I customize the size of the embed?

Yes. Add a data-ezqr-height="600" attribute to the placeholder div to change the height in pixels. The width is always responsive (100% of the container).

Do I have to credit EZQR?

The snippet includes a small "Free QR code generator by EZQR" caption under the embed. Keeping it is appreciated and how we make the embed sustainable to offer for free.