QR Code Generator

    Generate QR codes instantly from text, URLs, WiFi details, contacts, or emails. Customize style and download high-quality QR codes as PNG or SVG images.

    QR Code Configuration

    Up to 15% damage tolerance. Good for most uses.

    No QR Code Yet

    Enter text or fill out details on the left to generate your QR code

    How to Use

    Follow these simple steps to get the best results.

    1Choose your content type. Use Text / URL for links and plain text, WiFi to let guests join your network by scanning, Contact to share a vCard, or Email to pre-fill a compose window.
    2Type or paste your content in the input area. The QR code updates live as you type with no need to click a button.
    3Adjust the error correction level if needed. Medium works for most uses. Use High if the code will be printed on a surface that may get worn or dirty.
    4Pick foreground and background colors if you want a custom look. Keep contrast high so scanners can read the code reliably.
    5Choose a download size. Small (256px) is fine for on-screen use. Medium (512px) works for most documents and web pages. Large (1024px) is best for print.
    6Click Download PNG to save a raster image at your chosen size, or Download SVG to save a vector file that scales without losing clarity.
    7Click Reset to clear the input and return all options to their defaults.

    Frequently Asked Questions

    Find answers to common questions about this tool.

    Yes, completely. Every QR code is generated locally in your browser using JavaScript. Your text, URLs, WiFi passwords, and contact details never leave your device. No account is needed, no data is stored, and no server ever sees what you type.

    Error correction determines how much of the QR code can be obscured, scratched, or damaged and still scan correctly. Low (L) tolerates up to 7% damage. Medium (M) is the most common choice for screens and simple prints. Quartile (Q) is better for printed materials that may get worn. High (H) withstands up to 30% damage, which is useful when the QR code will be placed on a physical surface that may get dirty or partially covered.

    PNG is a pixel-based image. It looks sharp at the size you specify (Small: 256px, Medium: 512px, Large: 1024px) and works everywhere. SVG is a vector format that can be scaled to any size without losing clarity. Use SVG when printing large-format materials like posters or packaging, and PNG when you need a quick image to paste into a document or share digitally.

    Yes. Switch to the WiFi tab, enter your network name (SSID), password, and the encryption type your router uses (WPA2 is most common). When someone scans the resulting code, their phone will prompt them to join your network automatically, no typing required.

    QR code density is directly related to how much data is encoded. Long URLs, full contact cards, or lengthy plain text all require more modules (the small squares in the code). If the code looks very dense, a warning will appear in the preview. To reduce complexity, shorten your URL with a link shortener, remove optional fields from the contact card, or trim your text.

    Yes. Use the foreground and background color pickers in the options panel to choose any color combination. Make sure there is enough contrast between foreground and background for scanners to read the code reliably. Avoid low-contrast combinations like light grey on white or dark red on black.

    How It Works

    Understand the methodology, formulas, and concepts behind this tool.

    How QR Codes Work

    A QR (Quick Response) code stores data as a grid of black and white squares that any smartphone camera can read in an instant. Unlike a barcode, which only holds a small number along one axis, a QR code stores data in two dimensions, which is why it can hold URLs, contact cards, WiFi credentials, and long text strings.

    This tool generates every QR code locally in your browser using the industry-standard Reed-Solomon error correction algorithm. Nothing you type is sent to any server.

    Choosing the Right Content Type

    TypeBest ForExample Content
    Text / URLLinks, plain text, any custom stringhttps://tooltri.com
    WiFiSharing network access without typing a passwordSSID, password, WPA2
    ContactSharing your phone number and email as a vCardName, phone, email
    EmailPre-filling a compose window with recipient and subjectto, subject, body

    Error Correction Explained

    QR codes are built to survive real-world conditions: smudges, folds, partial shadows, and low-quality prints. Error correction adds redundant data so a scanner can reconstruct the original content even when part of the code is missing.

    • Low (L): Smallest code, least redundancy. Good for clean digital displays only.
    • Medium (M): The default. Suitable for most uses including websites and documents.
    • Quartile (Q): Recommended for printed materials that may get worn or partially obscured.
    • High (H): Maximum redundancy. Use this for outdoor signage, packaging, or anywhere the code will face wear and tear.

    Higher error correction levels produce more complex (denser) codes, which require a larger physical print size or a higher-resolution image for reliable scanning.

    PNG vs. SVG: Which Format to Use

    PNG is a pixel-based image. The quality is fixed at the size you choose (256px, 512px, or 1024px). It works in every app, email client, and document editor without any special support.

    SVG is a vector format. The file describes the code as mathematical shapes rather than pixels, which means it can be scaled to any size (a business card or a billboard) with perfect clarity and no blurriness. Use SVG for professional print work or anywhere you need to resize the image.

    Tips for a Scannable QR Code

    • Keep enough contrast between the foreground (dark) and background (light) colors. Avoid pastels, gradients, or low-contrast combinations.
    • Leave a quiet zone (white border) around the code. Most scanning apps require at least a small margin to locate the code boundary.
    • Longer content creates a denser, harder-to-scan code. For URLs, use a short-link service to reduce the payload if the code looks very complex.
    • Test your code with at least two different scanning apps before printing or distributing it.

    Explore other calculators and tools to speed up your workflow.