QR Code & Barcode Generator
Design QR codes with dot and eye shapes, a logo and a framed call to action, checked to make sure they still scan, for links, UPI, SEPA payments, Wi-Fi, events and contacts. Also Data Matrix, PDF417, Aztec, GS1-128 and retail barcodes, as PNG, SVG, PDF or EPS, one at a time or a whole spreadsheet at once.
Many codes from a spreadsheet
Choose a CSV file with one row per code. Each row becomes a file in a zip, drawn with the format, colours and style above. There is no limit on the number of rows.
Static codes: never tracked, never expire
Every code here is static: the link or text is written into the pattern itself, so it works for as long as the print lasts, with no account, no redirect and no scan counting. "Dynamic" codes that you can re-point after printing, and scan statistics, need a server in the middle that every scan passes through; that server can log the people scanning, and the code stops working when the subscription ends. If you need to change a destination later, encode a link to a page you control and change the page.
Before you print a code
Most codes that fail in the field were fine on screen. These are the checks worth making before a code goes to print, in the order they usually matter.
- Keep the quiet zone. The specification requires a clear margin of four modules on every side. Cropping tight to the pattern, or placing a code over a photograph, stops it scanning even though it looks complete.
- Test at final size. Scannability depends on physical module size, so print a proof at the real dimensions and scan it with an ordinary phone in ordinary light rather than judging it on a monitor.
- Shorten the payload first. A 300-character URL produces a much denser grid than a 40-character one. Density, not capacity, is the limit most people actually hit.
Durability: For anything on packaging, outdoors, or likely to be handled, raise the error-correction level. Level H tolerates roughly 30% damage and is what makes a centre logo overlay viable — at the cost of a denser code for the same data.
Why a code is a link you cannot read
A human cannot inspect a QR code before following it, which is the one security property that genuinely distinguishes it from a hyperlink. Attackers exploit that by covering legitimate codes with stickers on parking meters, restaurant tables and payment terminals.
- Check the destination on arrival. Look at the address bar before entering anything. A code that lands on a login or payment page you did not expect is the signal to stop.
- Be wary of physical tampering. A sticker over a printed code, or a code on a loose card in a public place, deserves suspicion — legitimate ones are usually printed as part of the surrounding material.
- Treat shorteners as opaque. A shortened URL inside a code hides the real destination twice over, so there is nothing to verify until you are already there.
The Analyze button applies structural heuristics to the URL you have entered — a raw IP address rather than a hostname, an unusual port, a shortener, punycode or lookalike characters in the domain, an unusual number of redirect parameters. It reasons about the shape of the URL only, entirely in your browser. It is not a reputation lookup and cannot tell you whether a site is currently malicious.
Error correction, and why the level matters
QR codes are defined by ISO/IEC 18004 and carry Reed–Solomon error correction, which is why a partially damaged or obscured code still scans. There are four levels, and the choice is a direct trade between resilience and data capacity:
- L — recovers about 7% damage. Maximum capacity, suitable for on-screen display where nothing will degrade.
- M — about 15%. The usual default and a sensible general-purpose choice.
- Q — about 25%.
- H — about 30%. Lowest capacity, but the right choice for anything printed on packaging, exposed to weather, or likely to be scuffed — and the level that makes a centre logo overlay survivable.
Higher correction means more modules for the same payload, so the code becomes denser at the same physical size. That interacts badly with printing small, which is the most common real-world failure.
The quiet zone is not optional
The specification requires a clear margin of four modules on every side. Codes cropped tight to the pattern, or placed against a busy background, fail to scan even though they look complete. Most "it works on my screen but not on the poster" problems are a missing quiet zone.
Contrast and inversion
Scanners expect dark modules on a light background. Light-on-dark codes work with some readers and not others, and coloured codes need genuine luminance contrast rather than merely different hues — two colours of similar brightness will not decode reliably.
Shorter payload, easier scan
Capacity is not the constraint most people hit — module density is. A 300-character URL produces a far denser grid than a 40-character one, needing better optics and more light. Shorten the URL before generating, not after someone reports it failing.
A printed code is an unverifiable link
This is the genuine security property of QR codes and it deserves stating plainly: a human cannot read one. Clicking a link on a screen at least allows a glance at the destination; scanning a code is trusting whatever it contains, and attackers exploit this by placing stickers over legitimate codes on parking meters, restaurant tables and payment terminals.
The structural hints this tool shows on an encoded URL cover the patterns worth noticing — a raw IP address instead of a hostname, an unusual port, a URL shortener hiding the real destination, punycode or lookalike characters in the domain, or an excessive number of redirecting parameters. These are heuristics about the URL's shape, computed locally; they are not a reputation lookup and cannot tell you whether a site is currently malicious. Always verify an unfamiliar destination independently before scanning a code you did not create.
Barcodes are a different problem
One-dimensional barcodes encode far less — typically 8 to 20 digits — and each symbology has strict rules that are easy to violate accidentally. EAN-13 and UPC-A include a check digit computed from the others, so a transposed digit produces a barcode that either fails validation or, worse, scans as a different product. Code 128 accepts full ASCII; Code 39 accepts a restricted set and produces noticeably wider output for the same data.
The practical constraints are physical: a barcode needs adequate width and a minimum bar thickness for the intended scanner, and vertical height affects nothing except how easy it is to aim. Scaling a barcode down to fit a label is the usual cause of unscannable output.
Generated in your browser
The content encoded into a code is frequently a signed URL, a one-time enrolment link, a device provisioning token or a payment reference. Generation here happens entirely in the page, so the payload is never transmitted and the downloadable image is produced locally.
Frequently asked questions
Choose UPI payment as the payload type and enter your UPI ID, such as name@okhdfcbank, and the name on your bank account. Add an amount if every payment should be the same, for example a fixed fee, or leave it empty so the payer types it. The code holds a standard upi://pay link, so Google Pay, PhonePe, Paytm, BHIM and any other UPI app opens it with your details filled in. The money moves directly from the payer's bank to yours; this page only draws the code and never sees a payment. Scan it yourself once and check that your name appears before you print it.
Choose WhatsApp chat and enter the number with its country code, such as 971501234567 for the UAE or 919876543210 for India, without the plus sign or leading zeros. You can add a message that will be typed in for the person who scans it, such as a product name or booking request. The code holds a wa.me link, which opens a chat with that number in the WhatsApp app on any phone without saving the contact first.
Choose Wi-Fi as the content type, then enter the network name (SSID), the password and the security type, which is WPA/WPA2 for almost every home and office router. The tool builds the standard WIFI: string that phone cameras recognise, so scanning the code offers to join the network without anyone typing the password. Tick the hidden option only if your network does not broadcast its name.
No. The code holds your link or text directly, with no redirect service in between, so there is nothing that can be switched off later and no scan tracking. A code made today keeps working for as long as the link inside it does. The trade-off is that you cannot change where a printed code points; to change the destination, generate and print a new code.
A common rule of thumb is that the code's width should be at least a tenth of the distance it will be scanned from, and never smaller than about 2 cm (0.8 inch) across, plus the white quiet zone around it. A code on a poster read from 2 metres needs to be about 20 cm wide. Long links make denser codes that need to be printed larger, so shorten the link first, then print a test copy at the final size and scan it with an ordinary phone.
Level M, the default, suits screens and most printing. Choose Q or H for codes on packaging, outdoor signs or anything that will be scuffed, or when you place a logo over the middle (adding a logo switches to H for you), because higher levels let a scanner rebuild up to about 30% of a damaged code. Higher levels also make the code denser for the same content, so use L only when you need the most capacity for clean, on-screen use.
Use SVG, PDF or EPS for anything printed, such as menus, packaging, business cards or signs, because a vector file stays sharp at any size and print software scales it without blurring the modules. PDF suits printers and office software; EPS suits older design and sign-making software. Use PNG for websites, documents and messages, and pick an export size large enough that the image is not stretched later; an enlarged small PNG goes soft at the edges and can stop scanning.
The tool draws valid EAN-13, EAN-8, UPC-A and ITF-14 barcodes and calculates the check digit for you, but the number itself has to come from GS1, the organisation that issues product numbers to retailers. Shops look the number up in their own systems, so a made-up number will either not scan as your product or clash with someone else's. For internal stock, asset tags and labels that never leave your business, Code 128 accepts any text and needs no registration.
Usually, if the logo is small and error correction is high. A logo covers modules, and the scanner rebuilds them from the error-correction data, so the tool clears a square in the centre, switches to level H, and then reads the finished image back with a QR decoder and tells you whether it worked. A green scan check means the drawn code decodes to exactly what you typed. Low contrast, light dots on a dark background and very large logos are what break codes; test the printed copy with a couple of phones before a print run.
Yes on both counts. There is no sign-up, no limit on how many codes you make, including the spreadsheet export, no watermark, and the codes are yours to use commercially. The code is generated by JavaScript running in your own browser, so the link, Wi-Fi password or contact details you type are never sent to a server; you can disconnect from the internet after the page loads and it keeps working.
What this generator can make
The generator turns text, links and structured details into codes a phone camera or a barcode scanner can read. Everything is drawn inside your browser, so serial numbers, internal links and Wi-Fi passwords you encode are never uploaded anywhere.
- QR Code (matrix): any text up to 2,953 bytes at level L. The payload builder composes the exact string a phone expects for UPI payments, Wi-Fi, WhatsApp, contact cards, email, SMS and map locations, so you are not guessing the format.
- Code 128 and Code 39: free-text linear barcodes for inventory and asset tags. Code 128 takes any ASCII; Code 39 is restricted to uppercase, digits and a few symbols but is readable by older scanners.
- EAN-13, EAN-8, UPC-A, ITF-14: the retail and logistics symbologies. The check digit is calculated for you when you supply the data digits, and a wrong length is refused before anything is drawn.
- GS1-128, Data Matrix, PDF417 and Aztec: drawn with bwip-js. GS1-128 takes Application Identifiers in brackets, such as (01) for the GTIN and (10) for the batch, and refuses values the GS1 rules do not allow.
- Export: PNG at a size you choose, or SVG, PDF and EPS for print work, where a vector scales to any dimension without the blur that stops codes scanning.
Deployment changelog
- v1.6.0 QR design: dot and eye shapes, a centre logo (error correction raised to H), frames with call-to-action text, and a scan check that decodes the drawn code. Vector PDF and EPS export for every format. Bulk from a CSV with templates and no row limit. Calendar event and SEPA (EPC) payloads with IBAN check digits. Data Matrix, PDF417, Aztec and GS1-128. QR drawing moved from qrcodejs to qrcode-generator.
- v1.5.0 UPI payment QR codes (UPI ID, payee name, amount and note, in the upi://pay format every UPI app reads) and WhatsApp click-to-chat codes with an optional pre-filled message.
- v1.4.0 Payload builder for Wi-Fi, vCard, mailto, SMS, tel and geo; six barcode symbologies with length and check-digit validation; selectable error-correction level and export size; SVG export; live capacity and contrast readouts. A payload beyond QR capacity is now reported instead of throwing.
- v1.3.0 Replaced the mocked Analyze score with real structural checks (IP-literal hosts, punycode labels, userinfo tricks, known shorteners, subdomain depth, non-standard ports).
- v1.2.0 Replaced the attack-framed panels with practical print-readiness and scan-safety guidance.
- v1.1.0 Implemented mobile-responsive action stacking, scan room padding fix, and reduced FAB size. Verified all master patch rules.
- v1.0.0 First release: QR codes and linear barcodes for asset tracking.