QR Code Embed Generator

Make a QR code and copy it into Google Sheets, React, Flutter, HTML, Markdown or cURL. No signup.

HTML · <img>
<img src="https://online-qr.com/qr?data=https%3A%2F%2Fonline-qr.com&size=300" alt="QR code">
QR code for https://online-qr.com
Live preview from the API

Images come from our public API, which limits how many requests one network can make each hour.

How to embed a QR code

Type the link or text your code should contain, then choose a size, image format and colours. The preview updates from the same API your snippet will call, so what you see is what your visitors get. Pick a platform, copy the snippet and paste it into your project.

Which image format should I use?

PNG works almost everywhere, including spreadsheets and email. SVG stays sharp at any size, which suits print and large displays. WebP gives smaller files for modern websites.

What should I check before publishing?

Scan the code with a phone before you share it. Keep strong contrast between the code and its background, and leave a clear margin around it. A static code stores its content directly, so changing the destination means making a new code. Anyone who can see the image address can read its content, so avoid putting passwords or private details in public pages.