← Blog  ·  For developers  ·  4 min read

Add a QR code generator to your site with one link

If your visitors need QR codes and you would rather not build a generator, you can hand them one that already knows what they wanted. It is an anchor tag. There is nothing to install and no key to request.

Advertisement

The whole integration

Every field in our generator can be set from the URL. A link like this opens it with the address already filled in:

https://www.free-qr-pro.com/components/qrgen/?type=url&content=https://yoursite.com/menu

That is the integration. No script, no iframe, no account, no rate limit. Your visitor lands on a working generator with their content in place and can style and download from there.

Set the style as well

Two more parameters decide how the code looks before the visitor touches anything. ?theme= takes any of sixteen built-in styles — modern, sunset, luxe and so on. ?logo= takes the name of an icon from the built-in set.

...?type=url&content=https://yoursite.com/menu&theme=modern&logo=cart

An unrecognised value is ignored rather than breaking the page, so a typo degrades gracefully.

Your own logo, without hosting anything

You can also produce a link that carries your own logo inside it. Style a code here, upload your logo, and press Share settings — the link that produces contains the logo as data, so it reopens exactly as you left it with no external request.

We deliberately do not accept a logo URL as a parameter. Doing so would mean allowing images from anywhere on the web, and it would make every one of your visitors' browsers fetch a file from a third-party host. Neither fits a tool whose promise is that nothing leaves the browser.

Why the codes do not expire

Everything here produces static codes. The address is encoded in the pattern itself — there is no redirect in the middle, no short link owned by us, and nothing that stops working if this site changes or disappears.

That also means we cannot count scans, and we are not trying to. If you need scan analytics you need a dynamic code from a service that charges for it; what you get in exchange is a dependency on that service continuing to exist.

What your visitor experiences

They arrive at a generator with their content filled in. Nothing was uploaded on the way — the parameters are read by JavaScript in their browser and the address bar is cleaned immediately afterwards, so the content does not sit in their history.

Generation is local too. The code is drawn on a canvas in the page; no data reaches a server at any point.

Common patterns

A "share this page as a QR code" link in a footer, using the current page URL as content. A "print a WiFi card" link in a property manager's dashboard, using ?type=wifi. A "generate a label" link beside a product, using its URL.

The full parameter list, including all 21 content types, is documented on the API page.

Static code — nothing expires, no account, no sign-up.

Read the full parameter list →
Advertisement