How to Generate QR Codes: Free Online Generator

QR codes bridge the physical and digital worlds: scan a code with your phone and instantly open a website, connect to WiFi, or save a contact. Creating them is simple, but getting them right for your use case requires some attention.

What Can a QR Code Contain?

TypeContentExample Use
URLWebsite linkMarketing materials, business cards
TextPlain text messageNotes, quick info
WiFiNetwork name + passwordCafe, office, guest networks
vCardContact infoBusiness cards
EmailEmail address + subjectCustomer support

How to Create a QR Code

  1. Open the [QR Code Generator](/tools/qr-code-generator).
  2. Enter your content: Paste a URL, type text, or fill in WiFi details.
  3. Customize: Adjust size and error correction level.
  4. Download: Save as PNG for digital use or SVG for print.

Best Practices

For Print

  • Size matters: QR codes should be at least 2cm × 2cm (0.8" × 0.8") for reliable scanning.
  • Contrast: Use dark codes on light backgrounds. Inverted colors (white on black) may not scan well.
  • Quiet zone: Leave white space around the code (at least 4 modules wide).
  • Test before printing: Always scan the code with multiple phones before mass printing.

For Digital

  • Link shortener: Shorter URLs create simpler QR codes that are easier to scan.
  • Error correction: Use a higher level (H = 30%) if the code might be partially obscured.
  • PNG vs SVG: Use PNG for screens, SVG for print materials that need to be resized.

Error Correction Levels

LevelRecoveryBest For
L (7%)LowSimple codes, good conditions
M (15%)MediumGeneral purpose
Q (25%)GoodOutdoor or partial coverage
H (30%)HighLogos overlaid, harsh conditions

Privacy

Our QR Code Generator runs entirely in your browser. Your content is never sent to any server, and the QR code is generated locally on your device.