Developer Tools

Free QR Code Generator

Generate high-quality QR codes for URLs, Wi-Fi, vCards, email, SMS and locations. Custom colours, four error-correction levels, optional logo overlay, and PNG or SVG download — all offline in your browser.

100% Offline No Expiry Custom Colours PNG & SVG

Content & Style

Text or URL
Up to ~2900 characters (version 40, level L)
Error correction
Use Q or H when adding a logo
Size
Export size (pixels) 512 px
Foreground
Background
Logo (optional)
Drop an image or click to browse
PNG · JPG · SVG · WebP — keep it under 20% of the QR area

Preview

Waiting for content

Fill in the left panel to see your QR code

What Is a QR Code?

A QR code (Quick Response code) is a two-dimensional barcode that stores data in a grid of dark and light modules. It was invented by Denso Wave in 1994 for the automotive industry and standardised as ISO/IEC 18004. Compared to a traditional linear barcode, a QR code can hold far more data — up to ~2900 characters — and can be scanned from any angle, in any orientation, at speed.

Anatomy of a QR code

PartPurpose
Finder patternsThe three large squares in the corners — tell the scanner where the code is and how it is rotated
Alignment patternsSmaller squares in larger codes that compensate for lens distortion and printing warp
Timing patternsAlternating dark/light rows that let the scanner measure the module grid
Format informationEncodes the error-correction level and mask pattern
Data & error correctionThe payload itself, plus Reed-Solomon redundancy that lets it survive damage
Quiet zoneThe empty margin around the code — required by the spec, and essential for scanning

The 40 versions and 4 error-correction levels

QR codes come in 40 sizes called versions, numbered 1 to 40. Each version increases the module count by 4, and roughly doubles capacity. Version 1 is 21×21 modules; version 40 is 177×177. Most consumer QR codes are version 3 to 10.

LevelRecoveryUse when…
L (Low)~7%Clean digital display, clean print, maximum data density
M (Medium)~15%The default — good balance of robustness and size
Q (Quartile)~25%Adding a small logo, printing on glossy or textured surfaces
H (High)~30%Adding a large logo, outdoor signage, harsh conditions

Static vs dynamic QR codes

This tool generates static QR codes: the payload is encoded directly in the pattern. They never expire, never redirect through a third party, and work as long as the encoded data itself is valid. That is the right choice for URLs, Wi-Fi credentials, contact cards, and anything else you want to work forever.

Dynamic QR codes — offered by many commercial services — actually encode a short redirect URL. When scanned, the phone hits the provider's server, which forwards to the real destination. The advantage is that you can edit the target URL without changing the code, and you get analytics on scans. The disadvantage is that the code stops working the moment you stop paying, and the provider can see every scan. Choose static unless you specifically need those trade-offs.

Best practices for scannability

Common use cases

Instant Wi-Fi Access

Guests scan to join your network — no typing the password.

Digital Business Cards

A vCard QR code that adds you to contacts in one tap.

Marketing & Packaging

Send users to a landing page, menu or app store listing.

Restaurant Menus

Replace printed menus with a scannable link to your website.

Event Tickets

Encode a unique ticket ID that scanners can verify at the door.

Physical Locations

A geo QR code that opens turn-by-turn directions.

Payment Links

Encode a UPI, PayPal.me or Venmo URL for instant payment.

Product Authentication

A unique code per item that verifies authenticity online.

Privacy and security

This QR code generator runs entirely in your browser. The encoder is a complete ISO/IEC 18004 implementation in pure JavaScript — no server, no CDN, no network requests. Nothing is uploaded, stored or logged. That makes it safe to encode sensitive content like Wi-Fi passwords and private contact information. But remember: a QR code is not encryption — anyone who can see the pattern can read the data.

Frequently Asked Questions

What is a QR code?
A QR (Quick Response) code is a two-dimensional barcode that stores data in a grid of black and white squares. A smartphone camera or app can scan it and instantly decode the payload. The format was invented by Denso Wave in 1994 and is standardised as ISO/IEC 18004.
Is this QR code generator free?
Yes. It is 100% free, requires no sign-up, and runs entirely in your browser. There are no watermarks, no scan limits, no expiry and no premium tier. The QR codes you generate are yours forever.
Do the QR codes expire?
No. This tool generates static QR codes — the payload is encoded directly in the pattern, so the code works forever and does not depend on any server. Beware of "dynamic QR codes" offered by some services: those actually encode a URL that redirects through the provider's server, and they stop working if you stop paying.
What is the error-correction level?
QR codes include Reed-Solomon error correction, which lets them still scan even if part of the pattern is damaged, obscured or covered by a logo. The four levels are L (7% recovery), M (15%), Q (25%) and H (30%). Higher levels make the QR code denser but more robust. Use Q or H if you plan to add a logo, print on a surface that may get scratched, or display on a screen that may have glare.
Is my data sent to a server?
No. The entire QR encoder runs in your browser in pure JavaScript. Nothing is uploaded, stored, logged or transmitted. This is important if you are encoding sensitive data such as a Wi-Fi password or a private vCard.
Can I add a logo to my QR code?
Yes. Upload any image (PNG, JPG, SVG or WebP) and it is centred over the QR code. To keep the code scannable, always use an error-correction level of Q or H when adding a logo, and keep the logo small — no more than about 20 to 25 percent of the QR code's total area.
What data types can I encode?
This tool supports six preset types: plain text or URL, Wi-Fi network credentials, vCard contact cards, email (address, subject and body), SMS (number and message), and geo locations (latitude, longitude and optional query). You can also edit the raw payload manually for full control.
How do I scan a QR code?
Open the camera app on iPhone or Android and point it at the QR code. Both operating systems detect QR codes natively and offer a link or action. Third-party scanner apps are only needed for older devices.
What is the difference between PNG and SVG?
PNG is a raster format — it has a fixed pixel size, which means it will get blurry if you scale it up. Use it for screen use, social media or wherever you cannot embed vector graphics. SVG is a vector format that scales to any size without losing sharpness, so it is the best choice for print, large signage, business cards or anywhere the QR code might be resized. Browsers, design tools and print workflows all support both.
Why does my QR code look bigger with more data?
QR codes come in 40 sizes, called versions 1 through 40. Each version increases the number of modules per side by 4, and each version roughly doubles the capacity. If you encode a long URL or a vCard, the QR code will use a higher version and look denser. Shortening the URL, using a URL shortener or removing unnecessary fields keeps the QR code compact and easier to scan.

Related Developer Tools

Done!