Free QR Code Generator Online

Create QR codes for URLs, text, WiFi passwords, or contact cards. Download as PNG or SVG · no sign up needed.

Generated in your browser · nothing sent to a server

What Is a QR Code?

A QR (Quick Response) code is a 2D matrix barcode that stores data such as URLs, text, Wi-Fi credentials, or contact information. Point a phone camera at one and the device decodes the modules and acts on the payload. QR codes turn up on business cards, restaurant menus, product packaging, event tickets, marketing posters, payment terminals, and the back of countless modern objects.

A Short History of the QR Code

QR codes were invented in 1994 by Masahiro Hara, an engineer at Denso Corporation (later spun off as Denso Wave), to solve a Japanese-automotive-supply-chain problem. Toyota's lean manufacturing model generated more SKUs per workpiece than the roughly 20 characters a one-dimensional barcode could carry, so workers were scanning ten codes in a row per part. Hara's brief was to design a 2D code that carried the whole tag in one symbol, in any orientation, fast. He has said in interviews that the matrix-grid layout came partly from the black-and-white stones of a Go board on his lunch break. The harder problem was position detection: how does a scanner know where the code starts and which way is up when it is photographed at a slant or upside down? Hara's answer is the three concentric-square finder patterns in three corners of every QR code. To pick a marker that would not collide with normal print, his team tabulated the run-length frequencies of stripes in thousands of magazines and newspapers and found that the ratio 1:1:3:1:1, thin black, thin white, thick black, thin white, thin black, almost never appears in ordinary printing. That ratio is what scanners search for. Denso Wave's other decisive contribution was strategic: the company holds patents on the QR code but explicitly waived royalty rights for any use that conforms to the public ISO/IEC 18004 specification, first published in June 2000 with major revisions in 2006 (defining «QR Code 2005»), 2015 (renaming it simply «QR Code»), and the current fourth edition of August 2024. The «QR Code» trademark is enforced; the underlying matrix barcode is free. That 1994 decision is the single biggest reason QR codes won the consumer-2D-barcode race against PDF417, Aztec, and Datamatrix. Mass-market adoption arrived with native phone-camera detection: iOS 11 in September 2017 and Google Lens in May 2018. Today every modern phone reads QR codes from its default camera app without a separate scanner.

The Anatomy of a QR Code

Common Uses for QR Codes

Standards and Milestones

More frequently asked questions

What size should I print my QR code at?

For print, at least 2 cm by 2 cm (about 0.8 inches), which gives roughly a 20:1 ratio of scanning distance to module size at typical phone-camera resolutions. A useful rule of thumb is minimum print size ≈ scanning distance ÷ 10: a QR meant to be scanned from 2 metres away should be at least 20 cm wide; a code on a highway billboard 50 metres away should be at least 5 metres wide.

Why does the same payload sometimes produce different code sizes?

Two reasons. First, the encoder may have upgraded the QR version (more modules per side) because your error-correction level requires more redundancy than fits in the smaller version. Second, the encoder may have changed the mode: an all-digit ID encodes as numeric mode at 3.33 bits per character; the same ID with a letter prefix forces alphanumeric or byte mode, which uses more bits per character and may bump the version up.

Can I embed a logo in the centre without breaking the QR?

Yes, up to about 25-30% of the visible area, if you also raise the error-correction level. Reed-Solomon can recover the modules a logo covers, but only up to the level's recovery percentage. Level H (30%) is the standard choice for logo overlays; Level Q (25%) works for smaller logos. Always scan-test from at least three different phones before committing to print, because the placement of the logo over which specific modules also matters.

What is the difference between static and dynamic QR codes?

A static QR encodes the payload directly: scan it and you get exactly the URL or text that was encoded. A dynamic QR encodes a short tracking URL that redirects through a third-party server, so the destination can be changed without reprinting the code, and every scan can be logged. This generator produces static QRs only: the payload is the payload, no redirects, no tracking. That is slower to update but invisible to phishing scanners and survives the third-party redirect company going out of business.

Are QR codes case-sensitive?

The data is, but the mode determines what fits. Alphanumeric mode only supports uppercase A-Z plus digits, space, and $ % * + - . / :; a URL written in lowercase forces the encoder into byte mode, which uses more bits per character and may bump the QR version up. If you control the destination, using an all-uppercase short path on a domain with no querystring keeps the code as small as possible.

Are my inputs stored or sent anywhere?

No. This generator runs entirely in your browser via the MIT-licensed QRCode.js library. The URL, Wi-Fi password, vCard, and image data are computed and rendered locally; nothing is transmitted to any server, no analytics events log the values, no marketing list captures your inputs. Verifiable in DevTools' Network panel by watching for the absence of any POST after page load. Wi-Fi passwords and vCard phone numbers are exactly the kind of payload server-side generators monetise; this one does not.

Frequently Asked Questions

What's the best size for a QR code?

For print, make the QR code at least 2 cm x 2 cm (about 0.8 inches). For billboards or signs viewed from a distance, scale up proportionally. Rule of thumb: minimum code size equals scanning distance divided by 10.

PNG or SVG: which should I download?

Use PNG for digital use (websites, social media, email). Use SVG for print materials since it's a vector format that scales to any size without losing quality.

Can I customize the colors of the QR code?

Yes. Use the foreground and background color pickers to match your brand. Just keep enough contrast between the two colors, otherwise scanners won't reliably read the code.

Do QR codes expire?

No. QR codes generated here are static: the data is encoded directly in the pattern. They keep working forever, as long as the content they link to (like a URL) stays live.

What does "error correction level" do?

Higher error correction levels let a scanner still read the code when part of it is damaged, dirty, or covered by a logo. Low (7%) gives the smallest pattern; High (30%) survives heavy damage but makes the code denser.

Related Tools