QR Code
NewMake a QR code for a link, the page it's on, text or Wi-Fi, and put it on your website. Choose square, rounded or dotted modules, color the corners, add a caption and a logo. The code is drawn as sharp SVG in your browser and pasted straight into your page, so nothing is sent to a QR service and the code never expires.
Everything happens in your browser. The code is self-contained: it doesn't load anything from xorbin.com and doesn't track your visitors. The share link keeps your settings in the part of the address after #, which is never sent to a server.
How to add the QR code to your website
- Choose what the code opens: a link, the page it's placed on, some text or a Wi-Fi network.
- Pick the style, colors and size. The preview updates as you go.
- Scan the preview with your phone camera to check it.
- Click Copy code and paste it into your page as HTML.
- WordPress: add a Custom HTML block and paste the code.
- Shopify: add a Custom Liquid section in the theme editor.
- Wix: use Embed code → Embed HTML.
- Squarespace: add a Code block.
- Webflow: drag in an Embed element.
- Plain HTML: paste the code where the widget should appear.
To come back to your design later, click Copy share link and save the link. Opening it restores every setting.
What the code can open
A link
A menu, a booking page, a review form or an app store page. On phones and computers the code itself can also be a clickable link.
This page
The code shows the address of whatever page it's pasted on. Paste it once in a footer or template, and every page gets its own code, so visitors can move from computer to phone in one scan.
Text
A short message, a coupon code or contact details that appear on the phone when scanned.
Wi-Fi
Guests scan the code to join your network without typing the password. Phone cameras on iPhone and Android support it.
Tips for codes that scan every time
- Test it. Scan the preview with a couple of phones before you print or publish.
- Keep contrast high. Use a dark code on a light background. Many scanners can't read light codes on dark backgrounds.
- Leave a margin. Scanners need light space around the code. The standard margin is 4 modules.
- Make it big enough. For print, 2 cm (about 0.8 in) is the smallest that works up close. Make it larger if people scan from further away.
- Shorter is easier. A short link gives a simpler code with bigger modules that scans faster.
- Logos need room. A logo covers part of the code, so error correction goes to High automatically. Keep the logo at 25% or less.
Privacy
The QR code is made in your browser, and the exported code contains everything needed to draw it. Nothing is sent to a QR service, there's no redirect in between, and the code keeps working for as long as your page exists.
A share link holds your settings, including Wi-Fi passwords, so treat it like the password itself.
Frequently asked questions
Does the QR code expire?
No. It points straight to your link or text, with no short-link service in between, so it works as long as the link does.
Can I track how many people scan it?
Not with the code itself, because there's no redirect. Add tracking tags to your link, such as ?utm_source=qr, and you'll see the visits in your analytics.
Can I print it?
Yes. It's vector SVG, so it stays sharp at any size when you print your page, and its colors print even when the browser leaves out backgrounds.
Why does my code look denser than before?
Longer content, a logo or higher error correction add more modules. Shorten the link or lower the error correction for a simpler code.
Can I remove the Xorbin credit?
Yes. Turn off the credit link under Credit before you copy the code. It changes nothing else.
Related tools
- Star rating badge widget — Show your average rating and review count.
- Countdown timer widget — Count down to a sale, launch or event on your website.
- SVG to Base64 converter — Turn an SVG logo into a data URI you can paste as the logo URL.
- WCAG color contrast checker — Check that your code and background colors have enough contrast.
- Animated counter widget — Show stats that count up when visitors scroll to them.
- Typing text widget — Make a headline that types and deletes a list of words.
Further reading
Last updated: