HomeGeneratorsEverydayQR Code Generator

QR Code Generator

Everyday

Generate QR codes for any URL, text, or contact info instantly. Download as PNG — free, browser-based, nothing uploaded to any server.

Enter content above to generate a QR code

What is a QR Code?

A QR Code Generator encodes any text — a URL, a message, a phone number, or structured data — into a scannable two-dimensional barcode that any smartphone camera can read instantly. This generator runs entirely in your browser: type or paste your content, choose an error correction level and output size, and download a PNG ready for print or digital use.

QR (Quick Response) codes were invented by Denso Wave in Japan in 1994 to track automotive parts. They entered mainstream consumer use as smartphones gained built-in camera-based scanning — iOS 11 in 2017 and modern Android devices since 2018 can decode a QR code directly in the camera viewfinder without a separate app. In India, QR codes are deeply embedded in daily commerce: every UPI payment collection point, restaurant menu, event ticket, product packaging, and government document now carries one.

A QR code encodes data in a matrix of black and white squares (modules). The size of the matrix depends on the amount of content and the error correction level. A short URL at Low correction might fit in a 21×21 module grid; a longer URL with High correction might require a 45×45 grid. The denser the code, the larger it must be printed to remain reliably scannable.

The most common use is encoding URLs — linking a physical object to a webpage, a restaurant table to a menu, a business card to a contact page. But QR codes can encode any text: phone numbers (the tel: prefix makes them one-tap diallers on most smartphones), email addresses (the mailto: prefix opens the email composer), plain text messages, and structured data like WiFi credentials. For encoding WiFi credentials specifically, use the dedicated WiFi QR Code Generator which builds the correct WiFi format string automatically.

How to use this QR Code calculator

  1. Enter your content in the Content field — paste a URL, type a message, or enter a phone number with the tel: prefix (e.g. tel:+919876543210).
  2. Choose an error correction level — Medium (M) is the right default for most uses. Choose High (H) if you plan to overlay a logo or print on surfaces that may wear.
  3. Select output size — 256×256 for on-screen and standard print; 512×512 for larger print applications.
  4. Review the preview — the QR code appears automatically as you type. Test-scan it with your phone camera before distributing.
  5. Click Download PNG to save the image file to your device.
  6. Place in your design — the QR code PNG can be inserted into any document, presentation, or design tool. Maintain a clear white margin (called the quiet zone) around the code equal to at least 4 module widths.

Formula & Methodology

QR codes follow the ISO/IEC 18004 standard. Data is encoded in a Galois Field (GF256) Reed-Solomon error correction scheme, which is what enables partial damage recovery.

Error correction capacity:
- Level L: recovers 7% of data if damaged
- Level M: recovers 15% of data if damaged
- Level Q: recovers 25% of data if damaged
- Level H: recovers 30% of data if damaged

Capacity example (Version 1 QR code, 21×21 modules):
- Level L: up to 41 alphanumeric characters
- Level H: up to 17 alphanumeric characters

This generator uses the qrcode library which automatically selects the minimum QR version (matrix size) needed to encode the content at the chosen error correction level. The dark module colour is #1A1A2E and the light background is #FFFFFF, with a 2-module quiet zone margin.
Frequently Asked Questions
What is a QR code?
QR (Quick Response) code is a two-dimensional barcode invented by Denso Wave in 1994. Unlike a traditional one-dimensional barcode that stores data horizontally in a series of lines, a QR code stores data in a matrix of black and white squares that can be read from any angle. A smartphone camera or dedicated QR scanner can decode the pattern in under a second, making QR codes the preferred way to share URLs, contact details, payment links, and other text-based information in physical spaces.
What kind of content can I encode in a QR code?
A QR code can encode any text: URLs (the most common use), plain text messages, phone numbers (use `tel:+919876543210` format for one-tap dialling), SMS messages (`sms:+91XXXXXXXXXX?body=Hello`), email addresses (`mailto:name@example.com`), vCard contact data, and WiFi credentials (use the separate WiFi QR Code Generator for this). The generator on this page supports any text or URL up to the capacity limit of the selected error correction level.
What do the error correction levels L, M, Q, H mean?
Error correction allows a QR code to be read even when part of it is damaged, obscured, or covered by a logo. The four levels — Low (L), Medium (M), Quartile (Q), and High (H) — recover 7%, 15%, 25%, and 30% of the data respectively if the code is damaged. Higher correction means the code can withstand more damage but also produces a denser, more complex pattern. For digital use (screen display, email), use M. For print on materials that might wear, use Q or H. For placing a logo in the centre of the QR code, use H to leave room for the logo without breaking the code.
What size should I generate the QR code?
For on-screen display — websites, presentations, digital menus — 256×256 pixels is ideal. For print at A4 or smaller, export at 512×512 and let your print tool handle sizing without interpolation artefacts. For very small print (business card QR codes below 2 cm × 2 cm), use H error correction with a short URL — shorter content means fewer modules and better readability at small sizes. Never resize a QR code below its minimum print size for the error correction level you chose.
Why does my QR code not scan?
The most common reasons: (1) The content is too long for the selected error correction level — try a URL shortener or switch from H to M correction. (2) The code is printed too small — standard minimum for reliable scanning is 2 cm × 2 cm. (3) Insufficient contrast — the dark modules must be clearly darker than the light background; do not print dark on dark. (4) The code is partially obscured — if using logo overlay, make sure it covers less than the error correction budget (e.g. under 30% of the code area for H level).
Can I customise the colours of the QR code?
This generator produces QR codes with dark navy (#1A1A2E) modules on a white background, which provides excellent contrast and works with all standard scanners. For branded QR codes with custom colours, the key rule is that the dark modules must remain significantly darker than the light background — QR scanners rely on contrast, not colour. Avoid light-on-dark (e.g. white modules on a dark background) as many older scanners cannot read inverted QR codes.
Is the QR code generated privately?
Yes. All QR code generation happens entirely in your browser using the open-source `qrcode.js` library. The text or URL you enter is never sent to any server, stored in a database, or logged. Closing or refreshing the page loses the generated code unless you have downloaded it. This is important when encoding sensitive links such as internal system URLs or private event links.
What is the difference between a static and dynamic QR code?
A static QR code (generated by this tool) encodes the destination URL or text permanently in the code itself. If you need to change the destination later, you must generate a new code and redistribute it. A dynamic QR code uses a short URL from a QR management service as the encoded link — scanning always hits the short URL, which the service redirects to the actual destination, which you can change without reprinting. Dynamic codes are useful for print campaigns where reprinting is expensive; static codes are simpler, free, and have no dependency on a third-party service.
Can I use QR codes for payments in India?
India's UPI payment system uses a specific QR format (UPI QR code) that is distinct from a plain text QR code encoding a UPI URL. Payment app QR codes (PhonePe, GPay, Paytm) embed UPI payment parameters in a standardised format. This generator creates general-purpose QR codes and is not suitable for generating payment-collection QR codes — for those, use your bank's merchant portal or a UPI payment gateway. You can, however, encode a UPI payment link (`upi://pay?pa=...`) as a QR code using this tool for informational use.
What image format is best for QR codes — PNG or SVG?
This generator produces PNG output. PNG is the right format for screen display and most print use: it is universally supported, renders crisply at the generated resolution, and integrates with any document or presentation. SVG is preferable for print at large sizes (posters, banners, signage) because it is vector-based and scales without pixelation — for those cases, export from this generator at 512×512 and use a vector conversion tool, or use a command-line QR generator like `qrcode-svg`.