Best QR Code Generator Online
More Developer & Security Tools
What a QR code generator does
A QR code (Quick Response Code, ISO/IEC 18004) is a two-dimensional barcode in which data is encoded as a grid of light and dark square modules. Unlike a linear barcode it is readable from any angle, and it holds far more: a link, a contact card, a Wi-Fi password, payment details. A phone camera decodes it in a fraction of a second, which is why QR became the standard way to connect a physical object — a business card, a sticker, a package, a sign — to a digital destination.
This generator builds the code entirely in your browser: data encoding, Reed–Solomon error correction, matrix placement and mask selection all run locally in JavaScript. Neither the link nor the text is sent to a server, so the page is safe for internal URLs, staging addresses and anything else that should not leave your machine. The finished code downloads as SVG (vector, ready for print) or PNG (raster, for the web and messaging apps).
What you can encode
A QR code stores a string of characters, not a document. Meaning comes from the scheme a scanner understands: a URI prefix or a structured format. Below are the common kinds and the rules that build them. The template buttons in the tool above insert a correctly formed starting point so you do not have to assemble the syntax by hand.
Website link
The most common use case. A plain URL is encoded as-is:
https://example.com/page
The scanner offers to open the address. For print and stickers, vector SVG is the safer export: a PNG loses edge sharpness when scaled up, and it is exactly the sharpness of module edges that decides whether a camera can read the code.
Contact card (vCard)
A vCard saves the contact to the phone in one tap. A minimal card:
BEGIN:VCARD VERSION:3.0 N:Smith;Jane TEL:+1 555 000 0000 EMAIL:[email protected] ORG:Company URL:https://example.com END:VCARD
More fields mean a denser code and a larger print. If the card is only 30 mm square, keep the name, phone and website — the rest can be added to the profile on the phone afterwards.
Guest Wi-Fi
The connection scheme Android and iOS understand looks like this:
WIFI:T:WPA;S:NetworkName;P:Password;;
Here T is the security type (WPA, WEP or nopass), S
is the SSID and P is the password. If the network name or password contains
;, ,, : or \,
escape it with a backslash — otherwise the scanner will cut the string in an unexpected place.
For an open network use T:nopass and omit P.
Handy in a café or an office, but anyone who walks up can read it. Change the password and you must reprint the sticker: the old code stops working.
Email, phone and SMS
Simple schemes that open the matching app:
mailto:[email protected] tel:+15550000000 smsto:+15550000000:Message text
The SMS scheme has no single standard: Android understands smsto:,
some scanners expect sms:. For a mixed audience it is safer to encode plain text
with an instruction than to rely on an app opening automatically.
Error correction levels and how to pick one
A QR code carries redundant data so it still reads when damaged. The correction level sets how much of the code can be lost while remaining readable — and it also makes the code denser, because there are more redundant modules.
| Level | Recovery | When to use |
|---|---|---|
| L | ~7% | Screen-only codes with no risk of damage — gives the shortest, sparsest code |
| M | ~15% | Default for most cases: leaflets, packaging, business cards |
| Q | ~25% | Outdoors, industrial settings, anywhere scuffs are likely |
| H | ~30% | Logo in the centre, decorative frame, worn surfaces |
Rule of thumb: if you add a logo or text in the centre, use H — the standard says a logo should not cover more than 25–30% of the area, and the H margin absorbs that. But watch the side effect: a higher level means more modules for the same amount of data, so each module gets smaller. For small print it can be better to drop to M and increase the physical size.
What size to print
Size is determined by modules, not centimetres. The minimum reliable module width is about 0.4 mm at good contrast, and the recommended scanning distance is roughly ten times the side of the code. Practical starting points:
| Medium | Code side | Notes |
|---|---|---|
| Business card | from 20 mm | Short data only, level M |
| Leaflet, menu | 25–35 mm | Comfortable at 20–30 cm |
| Equipment sticker | 30–50 mm | Level Q, resistant to scuffs |
| Poster, sign | from 100 mm | Readable from 3–5 m |
The quiet zone — the white margin around the code — is mandatory: without it a scanner cannot tell where the code ends and the background begins. Four modules (the value 4 in the tool) is the standard minimum; on a coloured or busy background go to 6.
Why a QR code will not scan
Almost every dead QR code comes down to one of five causes. Check them in order — it is usually the first or second.
1. Not enough contrast, or inverted colours
Scanners expect dark modules on a light background. An inverted code (light modules on dark) is read by some cameras and almost no older ones. If you need a dark background, keep the modules dark and the background light; for colour designs check contrast against WCAG and stay above 4.5:1 — above 7:1 is safer.
2. Modules too small
A code looks large on screen and shrinks to unreadable at 15 mm in print. Always print a test copy and scan it with a typical phone from a typical distance before ordering a run.
3. Too much data
Every character adds modules. A long URL with tracking parameters and unencoded non-ASCII text produces a dense code that reads poorly from a distance. Shorten links and prefer the Latin alphabet where possible.
4. Quiet zone trimmed
If a designer cropped the white margin or set the code inside a tight frame, a scanner may fail to find the edges. The minimum is four modules of white on every side, and they must not be transparent.
5. Logo over the data
A centre logo is only safe at level H with a quarter of the area or less. Off-centre placement is not: the alignment patterns that scanners rely on live near the edges.
SVG or PNG: which to download
SVG is a vector: it scales without loss and suits print shops, engraving, plotter cutting and any output size. PNG is a raster at a fixed resolution: convenient for slides, social posts and chat apps, but it blurs when enlarged. The rule is simple: print means SVG, screen means PNG. Both are generated locally, with no server round trip.
Why this generator works offline
Encoding in the browser
The whole pipeline — data encoding, Reed–Solomon correction, matrix placement, mask selection — runs in JavaScript on your device. Nothing is uploaded, so internal URLs and staging addresses stay private.
ISO/IEC 18004 compliant
Implements QR Code Model 2: numeric, alphanumeric and byte modes with automatic selection, all four correction levels (L, M, Q, H) and the standard masks. The result reads on any certified scanner.
No account, no limits
No sign-up, no watermark, no daily cap. Generate a series of codes for an equipment batch or a sticker run one at a time, with no subscription and no waiting.
Test before you print
Verify any code with the device in your hand: point the camera at the preview. If the phone reads it on screen, test a printed copy as well — paper and lighting change the result.
Frequently asked questions
Can a QR code be decoded without internet access?
Yes. The code carries its data inside the image and the scanner only decodes it. The network is needed solely to open the link or launch an app. As long as the code is intact and legible, its content is available offline.
Does this generator store the codes on a server?
No. Encoding happens entirely in your browser and no request carrying your text is sent anywhere. Close the page and the code is gone unless you downloaded it. That is what makes it suitable for internal addresses and operational data.
Can I put a logo in the centre of the code?
Yes, but only at correction level H and with a logo covering a quarter of the code or less. Download the SVG and place the logo in any vector editor, or embed the code in your layout — a raster PNG is worse for this because module edges blur when scaled.
What happens if the destination address changes?
The code stops pointing where it should: a QR code cannot be updated. For long-lived media — packaging, signage, asset labels — use your own short domain that you control and redirect from there, so the destination can change without reprinting.
Does non-ASCII text work in a QR code?
It does: text is encoded as UTF-8. Non-ASCII characters take two bytes each in byte mode and make the code denser, so prefer ASCII for URLs and keep text or captions short with a larger print size.
Why does the code scan from screen but not from paper?
Printing shrinks the modules, and paper adds glare and loses contrast on uneven surfaces. Test the actual printed copy under the lighting where the code will live, and increase the size if the scanner struggles.
How much data fits in a QR code?
Version 40 holds at most 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes in byte mode at level L. In practice the medium sets the limit, not the standard: more data means denser modules. For a sticker, keep the content within 100–150 characters.
Does a QR code replace a regular barcode?
Not for retail product codes: those need a standardised EAN. QR is the better fit for labelling equipment, inventory and documents where you need a free-form string or a link to an asset record. Combining both on one label is common.
Is it safe to scan someone else's QR code?
No more than following a link from an unknown source. A scanner can open a hostile site or inject data into an app. Check the destination before opening it (most cameras show the address first), and do not scan stickers pasted over other stickers.
Do I need a licence to use a generated code?
The QR standard itself is free to use and there is no fee per generated code. Restrictions apply only to the content — for example someone else's logo in the artwork or links to third-party services with their own terms.