Skip to content
Media

QR Generator

Generate downloadable QR codes for any text or URL.

qrcodebarcodeurl
Advertisement · horizontal
Loading tool…

Recommended tools

Affiliate links — we may earn a commission if you sign up.

About the QR Generator

The QR Code Generator creates high-resolution QR codes for URLs, plain text, WiFi credentials, vCards, and email addresses — entirely in your browser using the qrcode library. You control the error-correction level (L/M/Q/H), which determines how much damage the code can sustain and still scan (a higher level lets you add a logo overlay or print on a surface that gets scuffed). Download as PNG (raster, for screen), SVG (vector, for print at any size), or copy the data URI directly into your HTML. Nothing is uploaded — the QR code is generated from your input locally, so it’s safe for WiFi passwords, private contact info, and internal URLs.

Hand-written guide

Examples

Input
URL: https://fernandeslabs.com/tools/qr-generator
Output
[ 25×25 module QR code, error level M, PNG download ]
Note: URL QR codes are the most common type. Short URLs scan faster than long ones.
Input
WiFi: WIFI:T:WPA;S:MyNetwork;P:SecretPass123;;
Output
[ WiFi QR — scanning auto-joins the network ]
Note: Format: WIFI:T:<security>;S:<ssid>;P:<password>;; — note the trailing semicolons.
Input
vCard: BEGIN:VCARD...END:VCARD
Output
[ Contact QR — scanning adds to phone contacts ]
Note: vCard 3.0 is universally supported by iOS and Android.

How to use

  1. 1

    Choose the data type (URL, text, WiFi, vCard, email) from the dropdown. The input fields adapt to the type.

  2. 2

    Enter your data. For WiFi, fill in the network name (SSID), password, and security type (WPA/WEP/none). For vCard, fill in name, phone, email, and URL.

  3. 3

    Select the error-correction level: L (7% recoverable, densest), M (15%, default), Q (25%), or H (30%, sparsest but most durable). Use H if you plan to add a logo or print on a rough surface.

  4. 4

    Pick the output size (128–1024 px for PNG; SVG scales infinitely) and click Generate. A live preview appears instantly.

  5. 5

    Click Download PNG for screen use, Download SVG for print, or Copy Data URI to embed the QR directly in HTML/CSS.

Common use cases

  • Printing a QR code on a business card that links to your portfolio or vCard.
  • Creating a WiFi QR code for guests to scan and join your network without typing the password.
  • Adding a QR code to a poster or flyer that links to an event registration page.
  • Embedding a QR code in a restaurant menu that opens a digital version on the phone.
  • Generating a QR code for a 2FA backup code or a one-time setup link (use level H for durability).

Tips

  • Shorten long URLs before encoding them — shorter URLs produce smaller, denser, more reliable QR codes.
  • Always use black-on-white for maximum scan reliability. Colored QR codes look nice but scan less reliably.
  • Download SVG for print (scales to any size without pixelation) and PNG for screen.
  • Test your printed QR code with at least two different phones (iOS and Android) before mass-printing.
  • If you add a logo, use error-correction level H and keep the center logo under 30% of the code’s area.

Frequently asked questions

QR codes use Reed-Solomon error correction, which lets the code remain scannable even if part of it is damaged, dirty, or covered by a logo. There are four levels: L (recovers 7% of data), M (15%, the default), Q (25%), and H (30%). Higher levels make the code denser (more modules) and slightly harder to scan at small sizes, but more durable. Use L/M for clean digital display. Use Q/H if you’re printing on packaging, adding a logo overlay, or placing the code where it may get scuffed.

Explore more media tools

Browse the full collection of media tools on the hub, or jump back to all categories.

Advertisement · footer