Skip to main content

QR Code Generator

Turn URLs, text, or Wi-Fi credentials into QR codes in one click. Customize colors, margin, and error correction, then download as PNG or SVG.

Style

Customize

4

H – High (30%)

Preview

Enter content to generate a QR code

How to use the QR Code Generator

  1. 1

    Choose a tab: enter a URL for links, free text for any content, or Wi-Fi credentials for network sharing.

  2. 2

    A live preview of your QR code appears instantly in the right panel.

  3. 3

    Optionally customize the foreground/background color, margin, and error correction level.

  4. 4

    Check the automatic re-scan result, then save a 1024px PNG or a Standard-style SVG. Test printed codes on a real device too.

Features

  • PNG & SVG download: SVG is ideal for print and scaling; PNG is convenient for web and digital use.
  • Wi-Fi QR codes: Enter SSID, password, and security type to create a scannable Wi-Fi connection QR code.
  • Error correction levels L/M/Q/H: Higher levels add redundancy, but do not guarantee that a particular logo or design will scan.
  • Automatic re-scan: every preview is decoded with jsQR and warns immediately when decoration makes it unreadable.
  • QR generation and re-scan checks run in the browser without uploading the entered QR payload.

FAQ

Q. Should I download PNG or SVG?

A. Choose SVG for print materials, business cards, or posters where scaling is important. Choose PNG for websites, apps, or when a standard raster image file is required.

Q. Do Android and iPhone both support Wi-Fi QR codes?

A. Yes. Android 10+ and iOS 11+ can read Wi-Fi QR codes using their built-in camera apps, connecting to the network without manually entering a password.

Q. Which error correction level should I use?

A. M is a practical starting point for ordinary use. H adds more redundancy for decorated codes, but capacity, placement, contrast, print quality, and scanner behavior still matter. Test the final exported or printed code on real devices.

Q. Can I overlay a logo on the QR code?

A. The tool does not composite logos directly. You can edit the exported SVG elsewhere, but error-correction percentages are not a safe logo-area allowance. Keep finder and timing patterns clear, use strong contrast, and test the final size on several devices before publishing.

Q. What should I do if my QR code fails to scan?

A. Common causes include the code being too small, low contrast between foreground and background, or insufficient margin. Try increasing the margin to 4+, boosting color contrast, ensuring the printed size is at least 2cm × 2cm, and raising the error correction level to M or H.

Technical Deep Dive: QR Code Structure & Reed-Solomon Error Correction

QR Code (Quick Response Code) was developed by Denso Wave in 1994 and is standardized as ISO/IEC 18004. Data is encoded in one of four modes — Numeric, Alphanumeric, Byte, or Kanji — chosen to maximize data density. URLs and general text are encoded in Byte mode using a UTF-8 byte sequence, while pure numeric data benefits from the more compact Numeric mode, which encodes three digits in only 10 bits.

Reliability is provided by Reed-Solomon error correction, which adds recovery codewords. L, M, Q, and H provide increasing redundancy, commonly summarized with approximate recovery percentages. Real scan success also depends on where damage occurs, symbol size, contrast, quiet zone, printing, and the scanner, so those percentages are not a guaranteed safe area for decoration.

The three square finder patterns positioned in the top-left, top-right, and bottom-left corners (a quiet corner is left at bottom-right for timing reference) have a black-white-black width ratio of 1:1:3:1:1. Scanners detect this distinctive ratio at any angle of rotation, enabling the decoder to determine the code's orientation, skew, and scale before reading the data modules.

The version number (1–40) controls the matrix size: Version 1 uses a 21×21 module grid; Version 40 uses 177×177. Maximum data capacity at Version 40 with error correction Level L is 4,296 alphanumeric characters or 7,089 digits. The qrcode.react library used by this tool automatically selects the smallest version that fits the input data.

Data Handling & Security Notes

This tool uses qrcode.react to render SVG or Canvas elements in the browser. The generation and validation actions do not make a request that uploads the URL, text, SSID, or password entered for the QR payload.

Wi-Fi passwords embedded in QR codes are sensitive. Generation and PNG/SVG export happen in the browser, and this feature makes no request that uploads their content. On shared devices, protect both the entered credentials and downloaded files.

Generated image data is held in the page session and exported only when you request a download. Shared-device history, downloaded files, extensions, and backups remain outside the tool's control.

Examples, Pre-Print Checks, and Common Mistakes

Examples

  • Add a URL QR code to store signage so visitors can open a page quickly.
  • Share event Wi-Fi details or registration pages through a QR code.
  • Use SVG output for documents or business cards that may be resized.

Cautions

  • Test scanning on the actual smartphones and print size before publishing.
  • Define the sharing scope clearly when embedding Wi-Fi passwords.
  • Low contrast between foreground and background can reduce scan reliability.

Common Mistakes

  • Printing the code too small for real-world scanning distance.
  • Not checking whether shortened URLs expire or redirect somewhere unexpected.
  • Prioritizing visual styling over scan accuracy.