Free QR code generator and scanner — QR code generator — styled, tested, free
— make, style, test and scan QR codes, batch them on label sheetsqr [create|batch|scan|check-in] [link|wifi|vcard|event|sepa] textBatch. One code per line, or a table with columns. Every code uses the style you set under Create. Save a ZIP, or lay them out on label sheets.
Scan. Read a QR code from a picture, a pasted screenshot or the camera. The result is shown before anything is opened.
Check-in. Scan tickets at the door. The first scan of a code is valid, a second one is flagged. Add a guest list to catch codes that are not on it.
Guide — a tested QR code in five steps
The code is drawn and read back inside your browser. What you type is not uploaded.
Press a type under the preview: Link, Wi-Fi, Contact, Event, WhatsApp, SEPA payment and more. Fill in the form and the code appears while you type. The box below it shows the exact text stored in the code.
Choose a theme, a dot shape, the eyes, solid or gradient colours, a logo or built-in badge and a frame with a call to action. Dark on a light background is the safe choice.
After every change the finished picture is decoded again. You see pass, warning or fail, the contrast ratio, how big one module is in millimetres, how full the code is, and a plain fix for each problem.
Set the printed width in millimetres. Download a PNG (1×, 2×, 4× or an exact size in pixels or millimetres at 150, 300 or 600 dpi), a vector SVG or a PDF. You can also copy, share, print or copy a link to the design.
Batch turns a list or table into up to 500 codes, as a ZIP or on label sheets. Scan reads codes from pictures or the camera and shows where a link really goes. Check-in counts valid and duplicate tickets at the door.
Which content type for which job
- Link
- A web address, with optional campaign tags
- A plain chat link with a number and a first message
- Email, SMS, Phone
- Opens the app with the fields filled in
- Text
- Shown as it is, nothing opens
- Wi-Fi
- Phones offer to join. Anyone who scans can read the password
- Contact
- vCard 3.0, or the shorter MeCard
- Event
- An iCalendar event with the right time zone
- Location
- A geo: link or a map link
- SEPA
- EPC code for a euro transfer. Test with 0.01 euro first
- Bitcoin
- A BIP 21 link; the address checksum is checked
- IBAN
- Country length and check digits verified
- Ctrl+Enter
- Download PNG, ZIP, PDF or CSV
- F
- Full screen
- 1 to 4
- Create, Batch, Scan, Check-in
- ?
- All shortcuts
QR code generator, explained
This page makes a QR code from what you type, draws it, and then does something most generators skip: it reads the finished picture back with a decoder and tells you whether it works, how strong the contrast is, how large one module will be when printed, and how much of the error correction a logo has used. You get the verdict before you print a thousand flyers, not after.
The codes are static. The text you see in the box under the preview is the text inside the code, so a code never expires, never depends on a service staying online, and cannot be switched off. Everything is drawn in your browser by an encoder written for this page. No account, no watermark and no limit on how many you make.
12 content types
Link with campaign tags, text, WhatsApp, Wi-Fi, contact (vCard or MeCard), email, SMS, phone, location, calendar event, SEPA payment and Bitcoin.
Styled, then tested
8 dot shapes, 5 outer and 5 inner eyes, gradients, 12 themes, frames, a caption and a logo. A pass, warning or fail follows every change.
Print-ready files
PNG with the resolution stored, SVG in exact millimetres, PDF at the printed size, copy, share and print.
Batch and labels
Paste lines or a table with {{column}} templates, add serial numbers, make up to 500 codes as a ZIP or fill label sheets.
Scanner and check-in
Read pictures, screenshots and the camera. Links are shown in full with a warning for look-alikes. Count tickets at the door.
Private
Typed content, pictures and camera frames stay in the tab. See privacy for the few requests the page does make.
Static or dynamic QR codes
A static code stores the data itself. A dynamic code stores a short address on a service, and the service forwards the scan to the real destination. The second kind lets you change the destination later and count scans, but it only works while the service is running and, usually, while you pay for it. If it stops, every printed code stops with it.
This page makes static codes only. For a printed code the safest destination is a web address on a domain you own, which you can point wherever you like later. That gives you the flexibility of a dynamic code without a middleman. To see which codes people scan, tick Add campaign tags on the Link type: the utm_ parameters it appends show up in the analytics of your own site.
Capacity: what fits in a QR code
A QR code has a version from 1 to 40. Version 1 is 21 × 21 modules and every version adds 4, so version v is 17 + 4v modules wide and version 40 is 177 × 177. The larger the code, the more it holds, and the smaller each module becomes at a given print size. The encoder picks the smallest version that fits and splits the text into numeric, alphanumeric and byte segments when that saves space. Version 40 holds, at each error correction level:
| Level | Repairs about | Digits only | Letters, digits, a few symbols | Any text (bytes) |
|---|---|---|---|---|
| L | 7% | 7 089 | 4 296 | 2 953 |
| M | 15% | 5 596 | 3 391 | 2 331 |
| Q | 25% | 3 993 | 2 420 | 1 663 |
| H | 30% | 3 057 | 1 852 | 1 273 |
The figures are the maxima of version 40 as this page's encoder reports them; they match the tables of ISO/IEC 18004. Ordinary text is stored as UTF-8 bytes. Real content is far below the limits: a link of 30 characters needs a 29 × 29 code at level M, one of 200 characters needs 57 × 57. A short address on your own domain makes a calmer, easier code than a long one full of tracking parameters.
| Link length (characters) | Level M | Level H |
|---|---|---|
| 20 | version 2, 25 × 25 | version 3, 29 × 29 |
| 30 | version 3, 29 × 29 | version 4, 33 × 33 |
| 50 | version 4, 33 × 33 | version 6, 41 × 41 |
| 80 | version 5, 37 × 37 | version 8, 49 × 49 |
| 120 | version 7, 45 × 45 | version 11, 61 × 61 |
| 200 | version 10, 57 × 57 | version 15, 77 × 77 |
| 300 | version 13, 69 × 69 | version 18, 89 × 89 |
The table was made by encoding links that start with https://example.com/ and are padded with lowercase letters, so they are stored as bytes. Capital letters and digits only (alphanumeric mode) fit more.
Error correction: L, M, Q and H
A QR code carries extra Reed–Solomon codewords so that a scanner can rebuild what a scratch, a fold, a smudge or a logo has hidden. The four levels restore up to about 7% (L), 15% (M), 25% (Q) and 30% (H) of the codewords. The price is size: a higher level needs a bigger, denser code for the same text. Level M is a good default. Choose Q or H when the code will be printed on a rough surface, wrapped around something or carry a logo. The line under the level buttons shows the version each level would give for the content you typed.
Quiet zone, contrast and print size
The quiet zone is the empty margin around the code. The standard asks for 4 modules on every side. Scanners use it to find the edge, so a border, a photo or a line of text that touches the code is the most common reason a good-looking code fails. The margin slider defaults to 4 and the quality check warns below that.
Contrast matters more than colour. The page computes the contrast ratio with the formula from the web accessibility guidelines (WCAG): relative luminance of the lighter colour plus 0.05, divided by that of the darker colour plus 0.05. Black on white is 21:1. The check warns below 4.5:1 and fails below 3:1. Those two limits come from accessibility practice, not from the QR standard. A code with light modules on a dark background is flagged, because many scanners only expect dark on light.
Size: the standard does not set a minimum module size, because it depends on the printer, the paper and the scanner. This page uses two rules of thumb: a module under 0.25 mm fails (about three dots at 300 dpi) and under 0.4 mm gets a warning. A phone usually reads a code from a distance of roughly ten times its width. Multiplying the number of modules plus the margin by the module size gives the smallest sensible print:
| Version | Modules | Bytes at level M | With margin | Smallest print (0.25 mm) | Comfortable print (0.4 mm) |
|---|---|---|---|---|---|
| 1 | 21 × 21 | 14 | 29 | 7.2 mm | 11.6 mm |
| 3 | 29 × 29 | 42 | 37 | 9.2 mm | 14.8 mm |
| 5 | 37 × 37 | 84 | 45 | 11.2 mm | 18.0 mm |
| 10 | 57 × 57 | 213 | 65 | 16.2 mm | 26.0 mm |
| 20 | 97 × 97 | 666 | 105 | 26.2 mm | 42.0 mm |
| 40 | 177 × 177 | 2331 | 185 | 46.2 mm | 74.0 mm |
The Printed size slider in the Output tab sets the width in millimetres for the check, the PDF and the SVG, and the PNG is saved with a matching resolution so a layout program places it at that size. The quality check also reports how small the code can be drawn on screen and still be read: the number of pixels per module at which the decoder succeeded.
A logo in the middle
A logo works because error correction can rebuild the covered modules. It is not free: every codeword the logo touches counts as an error, and the correction capacity is fixed by the level. The page removes the modules behind the logo, rounds the box to whole modules, counts the codewords it covers in each Reed–Solomon block and compares the worst block with the number of errors the level can repair. If that is more than 60% it raises the level on its own, up to H, and the check shows how much is used. The table shows the result for the link https://example.com/menu: worst block errors against what that block can repair.
| Level | Logo 12% wide | 18% | 22% | 30% |
|---|---|---|---|---|
| M (version 2) | 6 of 8 (too much) | 10 of 8 (too much) | 10 of 8 (too much) | 16 of 8 (too much) |
| Q (version 3) | 4 of 9 (safe) | 6 of 9 (too much) | 8 of 9 (too much) | 12 of 9 (too much) |
| H (version 3) | 4 of 11 (safe) | 6 of 11 (safe) | 8 of 11 (too much) | 12 of 11 (too much) |
A small code with a big logo is the risky combination: the same logo that is safe on a 57 × 57 code can wreck a 29 × 29 one. Counting every touched codeword as an error is the worst case, and a real scanner is allowed to do better, but the read-back test is the final word. A logo of a few letters or a built-in badge drawn for this page avoids any trademark question. If you upload your own artwork, use PNG, JPG or SVG that you have the right to use. The SVG export keeps an SVG logo as vector; a PNG or JPG logo is embedded as a picture.
Wi-Fi, contacts, events, location and messages
Wi-Fi codes use the format WIFI:T:WPA;S:name;P:password;;, written by most generators and read by the camera apps of current phones. The characters \ ; , " : are escaped with a backslash, and hidden networks add H:true;. The type WPA is what is normally written for WPA2 and WPA3 networks. The separate SAE value for WPA3 is read by fewer apps, so the page warns before you use it. The password is stored in the code in plain text: anyone who scans the code can read it. The sample network gives this 43-byte text and a version 3 code:
WIFI:T:WPA;S:Guest Network;P:welcome-2026;;
Contacts come as vCard 3.0 or MeCard. vCard is understood everywhere but wordy; MeCard is shorter. The sample contact is version 11 (61 × 61) as a vCard and version 8 (49 × 49) as a MeCard, which scans faster at a small size. MeCard has no job title field, and the page says so.
Events are iCalendar (BEGIN:VEVENT). A start time is converted to UTC using the time zone you pick, so a phone in another country shows the right moment; all-day events use dates, and the end date of an all-day event is exclusive as the format requires. What a phone does with a scanned event differs, so test with the phones your audience uses.
Location offers a geo: link, which Android maps apps open, and a map link that opens in a browser on any phone. The Use my location button asks the browser for your position only when you press it. WhatsApp is a plain https://wa.me/number link with the number in international format and an optional first message; the page does not add a logo. SMS uses sms:number?body= (RFC 5724), with the older SMSTO: form as an option. Email uses mailto: and phone uses tel:.
SEPA payment codes (EPC)
The EPC QR code is a European standard layout, EPC069-12, that banking apps use to fill in a credit transfer in euro. It is plain text in twelve lines: the service tag BCD, version 002, character set 1 (UTF-8), identification SCT, the BIC (optional in the current version), the receiver name (70 characters at most), the IBAN, the amount as EUR and two decimals, a purpose code, a structured reference (35 characters at most) or a free text (140 characters at most), and a note to yourself (70 characters at most). The whole text may not exceed 331 bytes and uses error correction level M or higher. The page enforces all of this, checks the IBAN with the mod-97 test and the length of its country, and for a Belgian IBAN also the national check digits. The sample payment is 75 bytes, a version 5 code:
1 BCD 2 002 3 1 4 SCT 5 (empty) 6 Example Foundation 7 BE68539007547034 8 EUR25.00 9 (empty) 10 (empty) 11 Donation 2026
With the longest allowed name, free text and note, a BIC and a purpose code the text is 337 bytes, over the limit, and the page refuses it with that message. A Belgian structured communication (gestructureerde mededeling) has ten digits plus two check digits, which are the remainder of the ten digits divided by 97 (97 when the remainder is 0), and is written +++123/4567/89012+++. The page adds the check digits if you give ten digits. How a bank app treats the characters in that field can differ, so the rule is simple: pay 0.01 euro to your own account from your banking app before you print the code. Not every banking app reads EPC codes, and some ignore fields.
Bitcoin codes are BIP 21 links, bitcoin:address?amount=0.001. The page verifies the checksum of the address (Base58Check, Bech32 or Bech32m) and accepts main-network addresses only. A payment cannot be reversed, so send a small amount first.
Batch, serial numbers and label sheets
Paste one value per line, or a table with a header row, or open a CSV or text file. The template decides what each code says: https://example.com/table/{{id}} inserts the column named id, {{1}} the first column and {{#}} the row number ({{#4}} pads it to four digits). Add |url to encode a value for a web address, as in {{name|url}}. Without a template each line becomes a code as it is. The serial number tool adds a prefix, a start number, a count and a number of digits. Up to 500 codes are made; every code uses the style you set under Create. The ZIP holds one PNG or SVG per code, named with its row number, plus list.csv with the text and any problem. Cells that could be read as a spreadsheet formula get a leading apostrophe in that CSV.
The label sheet places the codes on A4 or Letter grids (24 labels of 70 × 36 mm, 21, 14, 8 and 65 labels like the common Avery L-series sizes, 30 and 10 labels like Avery 5160 and 5163) or on one label per page for a label printer. You can set your own grid, repeat each code, start at a later label to reuse a partly used sheet, and draw outlines for a test print. Print one page on plain paper and hold it against the labels first, with the print window set to 100% scale and fit to page off. The PDF has the same layout. Label sizes and margins are the published sizes of those sheets; confirm them against the packaging of yours.
Scanning and link safety
The scanner reads a picture you choose, drop or paste, or the camera. It first tries the browser's own barcode detector when the browser has one (Chrome on Android, macOS and ChromeOS do; Firefox does not), then jsQR. If nothing is found it tries again at other sizes and with stretched contrast, and it can find several codes in one picture. Rotated codes are read, and so is a mirrored one. A camera needs a secure page (https) and your permission.
The result is shown before anything happens. A link is displayed in full, with the host name in bold and in its international form if it uses special letters. The page warns about shortened links, addresses with a user name in front of the host, numeric addresses, names that look like well-known sites with one letter changed, and non-encrypted http. These are heuristics: a clean result does not prove that a site is safe. Opening a link needs a second click on a confirmation that repeats the destination. Wi-Fi, contact, event, payment and Bitcoin codes are shown field by field, with buttons to copy, save a .vcf or .ics file, or create a similar code in the generator.
Check-in at the door
Check-in turns the camera into a ticket reader. The first scan of a code is valid, a repeat is marked as a duplicate, and if you paste or open a guest list a code that is not on it is marked as such. Each scan shows a colour, a message and a beep, with counters for valid, duplicate, not on the list and total. The same code is ignored for a few seconds so that holding a ticket in front of the camera does not count twice. You can undo the last scan, type a code by hand, search the log and export a CSV that also lists the guests who have not arrived.
Know its limits. The list and the log live in the browser of the device that scans, so two phones at two doors do not see each other, and a photographed ticket is as good as the original because a static code can be copied. It suits a club evening or a classroom, not a stadium. For serious ticketing use codes that carry a signature and a central check.
When a QR code will not scan
Work through the quality check from the top. Is the picture read back? If not, raise the contrast, switch to square dots and remove the logo to find the cause. Is the margin at least 4 modules, with nothing touching the code? Is each module at least 0.4 mm when printed, and is the code dense? Shorten the content, or use a shorter link. A logo that uses most of the error correction is fine on screen and fails on paper. On shiny or curved surfaces choose level Q or H and print larger. Avoid light modules on a dark background and low-contrast colours such as yellow on white. If the code is displayed on a screen, check the brightness and that the picture was not compressed to a blur.
Privacy and what the page requests
The code is drawn and read in this tab. The text you type, the pictures you scan and the camera frames are not uploaded; the page's own code contains no fetch, XMLHttpRequest or sendBeacon call, which you can check in the page source. The network requests that do exist are these:
- This site: the page itself, the shared style sheet
/theme.cssand the theme script/theme.js, which remembers light or dark. - Google Fonts: the JetBrains Mono font (a style sheet from fonts.googleapis.com and the font file from fonts.gstatic.com). The browser sends its usual request headers to Google for it.
- jsQR, an open-source QR reader, from cdn.jsdelivr.net, with cdnjs.cloudflare.com as a backup. It loads when the first code is drawn, because the quality check needs it, and it is pinned to version 1.4.0 with an integrity hash on the main address. If it cannot load, the page says the code was not read back.
- Simple Analytics (scripts.simpleanalyticscdn.com): privacy-friendly page-view counting without cookies. It never sees what you type.
The browser stores your settings, saved styles, the last 20 codes and the check-in session in its local storage. The history keeps the content so it can be reopened, but never a Wi-Fi password, and no thumbnail of a Wi-Fi code. Use clear all to empty the history. The share link carries only the design (colours, shapes, frame and so on) unless you tick Include the content; with that option the content is encoded into the part of the link after the #, which browsers do not include in the request when the link is opened.
What it does not do
It makes static codes, not tracked or editable ones. It does not make Micro QR, structured-append or Kanji-mode codes, and it stores text as UTF-8 without an ECI marker, which current phones read correctly while some very old readers assume Latin-1 and show accented letters wrongly. The PDF contains the code as a 600 dpi picture; the SVG is the vector file. The scanner reads standard QR codes only, not Micro QR or other barcodes. jsQR is a pure JavaScript reader with known weak spots on very large versions, so a code that the page reports as unreadable may still read on a phone, and the final test is always the phone your audience uses.
More free tools
Looking for something else? Browse the full list of free tools.