Built on advanced on-device AI and hardware acceleration to deliver professional-grade performance with uncompromising privacy.On-device AI — professional-grade, fully private.
Online QR Code Generator Tool
QR codes for links, Wi-Fi, vCards and more — checked before you download
- Runs on your device, not our servers
- Every code decoded before download
- PNG, SVG, PDF, EPS
Content
Add a centre logo
PNG, JPEG, WebP or SVG, up to 5 MB. Optional.
Preview
Fill in the fields above and the code appears here.
The ring and its centre always match. A mismatched pair breaks the run pattern scanners look for.
Contrast 21.0:1
Applies across the whole code, not to each module.
Drop an image above to place it in the centre.
Error correction locks to High while a logo is present.
The blank margin, in modules. The standard requires at least four.
How to create a QR code online
- 1
Choose a content type
Pick what the code should carry: a link, plain text, an email, a phone number, an SMS, Wi-Fi credentials, a contact card, a WhatsApp message, a map location, a calendar event or a crypto payment request.
- 2
Fill in the fields
Each type shows only the fields it needs, and the encoded string appears underneath so you can see exactly what the code will carry. Special characters in Wi-Fi passwords and contact cards are escaped for you.
- 3
Style it
Choose a preset or set the module shape, finder style, frame, colors and gradients yourself. Add a centre logo if you want one — error correction switches to High automatically.
- 4
Check the verdict
The code is decoded by an independent reader as you edit. The verdict beside it tells you whether it scanned, and names anything that puts it at risk — low contrast, an oversized logo, or an inverted colour pair.
- 5
Set the output size
Work in pixels for screens, or switch to print sizing to set a physical width in millimetres at a chosen DPI and see the resulting module size against the 0.4 mm print floor.
- 6
Download
Export as PNG, JPEG or WebP for screens, or SVG, PDF or EPS for print. Bulk runs arrive as a single ZIP.
Why Use QR Code Generator?
QR codes enable quick information sharing, facilitate mobile access, support marketing campaigns, enable contactless interactions, and provide easy data transfer. What separates a code that works from one that fails on a printed flyer is rarely the content — it is the margin, the contrast, the logo and the pixel grid, all of which this tool measures for you rather than leaving you to discover at the print shop.
Benefits of QR Codes
- Quick Access: Instantly access websites, contact info, or data
- Marketing: Use in print materials, business cards, and advertisements
- Contactless: Share WiFi passwords, contact info without typing
- Versatile: Support multiple data types (URL, text, email, phone, WiFi)
- Customizable: Customize colors and size to match your brand
- Permanent: A static code encodes its data in the pattern, so it never expires and depends on no service
QR Code Generation Explained
QR code generation creates scannable codes that encode data in a two-dimensional pattern. Understanding the process helps you create effective QR codes — and understanding which parts of that pattern are decorative and which are structural is what lets you brand a code without breaking it.
Generation Process
- Select Type: Choose QR code type (URL, text, email, phone, WiFi, vCard and seven more)
- Enter Content: Provide the data to encode; the exact encoded string is shown back to you
- Customize: Adjust size, colors, shapes, error correction level, and quiet zone
- Check: The code is decoded by an independent reader and the verdict shown beside it
- Download: Save as PNG, JPEG, WebP, SVG, PDF or EPS
What is actually in the pattern
Three large squares in the corners are the finder patterns; a reader locates the code by scanning for their distinctive 1:1:3:1:1 run of dark and light. Smaller concentric squares scattered through larger codes are alignment patterns, used to correct for perspective when the code is photographed at an angle. Two alternating lines running between the finders are the timing patterns, which establish the module grid. Everything else is data and error correction — and only that remainder is safe to restyle.
Why shapes are applied to data, not to structure
This tool draws the finder and alignment patterns as whole shapes rather than as individually styled modules. That sounds like a detail and it is the difference between a code that scans and one that does not. Styling an alignment pattern as five separate dots destroys the 1:1:1 ratio a reader scans for, and the effect only appears from version 2 upward, where alignment patterns first exist — so a small test code works perfectly and a real one fails.
Designing a code that still scans
Every branding control a QR generator offers is a control that can make the code unreadable. These are the four that actually cause failures, in the order they cause them.
The quiet zone is not a margin you can trim
The standard requires at least four modules of blank space on every side. A reader uses it to find the code's boundary, and without it many scanners simply never see the code at all. The setting here starts at four and cannot go below it. A circular frame needs more than four, because the blank space has to clear the square's diagonal rather than its edges — the tool works that out for you.
Contrast is brightness, not colour
A scanner converts the image to black and white before it looks for anything, so what matters is how far apart the two colours are in luminance. A mid-blue on a mid-red looks obviously readable to a person and is a flat grey field to a threshold filter. The contrast ratio is shown next to the colour pickers; below 3:1 a code is unreliable in anything but perfect light, and below 7:1 it starts failing on print and older cameras.
How large a logo can be
Error correction at level H can rebuild about 30% of the codewords, but a centred hole damages data codewords specifically, so the practical ceiling is lower than the theoretical one. Rather than quote a number, the tool covers the modules behind the logo, decodes the result, and tells you what happened. The advisory turns amber as coverage rises and the verdict turns red if the code stops reading.
Light on dark
Inverting a code — light modules on a dark ground — is a real design choice and most modern phone cameras handle it. A significant number of older scanners and print workflows do not, because the finder search assumes dark on light. The tool flags it rather than refusing it, so the decision stays yours.
Printing QR codes: size, module size and DPI
The number that decides whether a printed code scans is not the size of the code. It is the size of one module.
Size the module, not the code
A camera has to resolve individual modules. Below roughly 0.4 mm each, a phone at normal reading distance cannot, and the code fails however large the sticker is. This is why a short link at 25 mm is comfortable while a full contact card at the same 25 mm is not: same paper, 29 modules across versus 77. Switch the size control to print, set the finished width, and the module size is shown against that floor.
Whole pixels per module
A raster export has to land on a whole number of pixels per module. At a fractional ratio the module boundaries fall mid-pixel, so the modules come out at uneven widths with soft edges between them, and a reader's sampling grid drifts out of step with the code's. Measured on a large code, every whole-number ratio decoded and several fractional ones did not — including ratios higher than whole-number ones that worked. The tool snaps the drawing to a whole ratio and centres it, so the file is the size you asked for and the grid is exact.
Scan distance
The usual planning rule is ten to one: a code scans from about ten times its own width. A 25 mm code on a business card is meant to be read from around 25 cm; a poster code meant to be read from three metres needs to be about 30 cm across. Treat it as a guideline for choosing a size, not a guarantee — lighting, camera and print quality all move it.
Which export format to use
Six formats, in two groups. Rasters are pixels and have a fixed resolution; vectors are instructions and stay sharp at any size.
PNG, JPEG and WebP
PNG is the default and the right answer for almost every screen use: lossless, supports transparency, and a QR code's flat colour compresses extremely well. JPEG is smaller but lossy and has no transparency at all — its compression puts soft ringing around every module edge, which is the last thing a code needs. WebP is lossless here too and usually smaller than PNG. Choose JPEG only when something downstream demands it.
SVG, PDF and EPS
All three are true vector exports built from the same geometry as the on-screen code, not a bitmap in a wrapper. SVG is the web and design-tool format and embeds the logo inside the file so it is self-contained. PDF is what a print shop will accept without question, sized in real millimetres. EPS is what older prepress workflows ask for. Gradients survive in all three as real gradients rather than being flattened to an image.
Transparency and format
PNG, WebP, SVG and PDF can carry a transparent background. JPEG and EPS cannot — neither format has an alpha channel. Asking for one of those with transparency turned on is refused with an explanation rather than silently composited onto white, because a code that looks right on screen and prints a white box over your artwork is worse than an error message.
QR Code Facts
Understanding these facts helps you create better QR codes.
Key Statistics
- QR codes can store up to 4,296 alphanumeric characters, 7,089 digits, or 2,953 bytes of arbitrary data
- Error correction allows QR codes to be scanned even if partially damaged
- QR codes can encode various data types including URLs, text, and contact information
- Custom colors help QR codes match brand identity
- Higher error correction levels increase QR code complexity but improve reliability
- There are 40 sizes, called versions, from 21×21 modules up to 177×177
- Eight mask patterns exist; the encoder scores all eight and picks the one that scans most reliably
Versions, capacity and error correction
A QR code comes in forty fixed sizes, called versions, from 21×21 modules up to 177×177. The version is chosen automatically: the smallest one that holds your content at the error correction level you picked. Raising error correction does not make the code bigger on paper, but it does add modules, so each module gets smaller — which is why a print job that is already tight can fail after switching from M to H. The readout beside the preview shows the version, the level in force and how much of the capacity is used.
How the content is packed
Digits pack at about 3.3 bits each, uppercase letters and a handful of symbols at 5.5, and anything else at 8 or more. So a code holding a phone number is far smaller than one holding the same number of mixed characters. The encoder splits your content into runs and picks the cheapest packing for each, which is why an all-caps URL often produces a visibly simpler code than the same address in lower case.
Best Practices
Follow these guidelines for optimal QR code results.
- Use appropriate error correction level based on usage (higher for print materials)
- Ensure sufficient contrast between dark and light colors for scanning
- Test QR codes before printing or sharing
- Keep QR codes at least 1cm x 1cm for reliable scanning
- Use high error correction for QR codes that may be damaged or partially obscured
- Keep the quiet zone at four modules or more — never trim it to tighten a layout
- Export vector (SVG, PDF or EPS) for anything that will be printed at more than one size
- Prefer a short link over a long one: less content means fewer modules and a code that scans from further away
Ideal Use Cases
- Marketing: Add QR codes to business cards, flyers, and advertisements
- WiFi Sharing: Generate QR codes for WiFi network credentials
- Contact Info: Create vCard QR codes for easy contact sharing
- Event Management: Use QR codes for event registration and check-in
- Product Information: Link QR codes to product details and reviews
- Bulk Labelling: Generate a code per row from a spreadsheet and get them back as one archive
What Free covers, and what Pro adds
The free tier is capped on scale, not on capability. Everything that decides whether a code is correct is free; what you pay for is doing more of it at once and at larger sizes.
Free
- Payloads up to 1,000 characters
- All twelve content types
- Every module shape, corner style and frame
- Solid foreground and background colours, with the contrast readout
- Exports up to 1024 px, as PNG or SVG
- The scannability check on every code
Pro
- Payloads up to 2,953 characters — the QR standard's own ceiling, not ours
- Bulk generation from a list or CSV, up to 250 codes, returned as one ZIP
- PDF and EPS for prepress, plus JPEG and WebP
- Linear and radial gradients
- A centre logo, with error correction handled for you
- Print sizing in millimetres at 150, 300 or 600 DPI
- Exports up to 4096 px
Why on-device generation matters here
A QR generator handles some of the most sensitive short strings anyone types: Wi-Fi passwords, personal phone numbers, home addresses on contact cards, wallet addresses. Most online generators build the image on a server, which means every one of those values is transmitted and, in the ordinary course of running a web service, logged. This tool builds and draws the code on your own device. Nothing is uploaded, and the page keeps working after it has loaded even with the network off — which is also the simplest way to verify the claim.
Frequently Asked Questions
How does this QR code generator work?
Choose a content type such as URL, plain text, email, phone, SMS, Wi-Fi, vCard, MeCard, WhatsApp, geo location, calendar event or crypto payment, then fill in the fields. Structured builders escape special characters correctly, the encoded string is shown so you can see what the code carries, and a live preview refreshes as you type. Every preview is decoded by an independent reader before it is shown to you, so you know the code scans before you download it.
Is my data private when generating QR codes?
Yes. The code is built and drawn on your own device and nothing is uploaded, so a Wi-Fi password, a contact card or a private link is processed on the machine you typed it on, not on our servers. That is not true of most QR generators, which render the image on a server — meaning your credentials pass through, and are often logged by, someone else's system.
What content types and formats can I generate?
Twelve content types: URL, plain text, email, phone, SMS, Wi-Fi, vCard, MeCard, WhatsApp, geo location, calendar event and crypto payment. Six export formats: PNG, JPEG and WebP for screens, and SVG, PDF and EPS for print. The three vector formats are true vectors, not a bitmap in a wrapper, so they stay sharp at any size a printer asks for.
Can I add a logo and customize the design?
Yes. Add a centre logo and error correction locks to High (H) so the code keeps enough redundancy to survive the hole. You can also set the module shape, the finder style, a square or circular frame, foreground and background colors, and linear or radial gradients. Whatever you change, the code is re-decoded and the verdict updates — so a logo that has grown too large tells you so instead of failing at the printer.
What is error correction and which level should I use?
Error correction lets a code scan even when partly damaged or covered. Levels range from L, which recovers about 7% of the codewords, to H, which recovers about 30%; a higher level adds redundancy and therefore modules, so the code gets denser at the same physical size. Use M for screens, Q or H for anything printed, and H whenever there is a logo — which the tool selects for you.
Why do some QR codes fail to scan even though they look fine?
Most often for one of four reasons, and the tool measures all four. The quiet zone — the blank margin — has been trimmed below the four modules the standard requires. The two colors differ in hue but not in brightness, so a scanner's black-and-white threshold sees one flat area. A logo covers more than the error correction can rebuild. Or the image was saved at a size that is not a whole number of pixels per module, which makes the modules come out at uneven widths.
How big should a printed QR code be?
Size the module, not the code. A scanner has to resolve individual modules, and below roughly 0.4 mm each a phone camera at normal distance cannot. Switch the tool to print sizing, set your finished width in millimetres, and it shows the resulting module size and flags anything under that floor. A short link at version 3 is comfortable at 20 mm; the same 20 mm holding a full vCard is not, because the same square now has far more modules across it.
Is the QR code generator free to use?
Yes, and the free tier is capped on scale rather than crippled. Free covers payloads up to 1,000 characters, every module and finder shape, every colour, exports up to 1024 px, and both PNG and SVG — including the vector export that Canva reserves for its paid plan. Pro adds bulk generation from a list, PDF and EPS for prepress, gradients, centre logos, print sizing and exports up to 4096 px. Codes never expire and carry no watermark on either tier.
Can I generate many QR codes at once?
Yes, on Pro. Paste a list with one entry per line, or drop a CSV and the first column is used, and the tool renders every code across your device's processor cores and hands back a single ZIP. Entry names are derived from the payloads and sanitised, so an archive cannot write outside the folder it is extracted into.
Do these QR codes expire or track scans?
No to both. Every code here is static: the data is encoded in the pattern itself, so it works forever, needs no service behind it, and keeps working if this site ever disappears. That also means there is nothing to track and no redirect in the middle — which is the trade-off against a dynamic code, whose destination can be changed later but which stops working the day its provider does.
from 1,500 ratings
Rate this tool
Tap a star — it takes a second