QR Code Generator

Generate QR codes for URLs, text, WiFi, email, and more. Customize colors, size, and error correction. Download as PNG or SVG. Free, client-side.

Enter content and click Generate

About QR codes

QR (Quick Response) codes are two-dimensional barcodes that encode data in a grid of black and white squares. They were invented in 1994 by Denso Wave for tracking automotive parts and have since become the standard for encoding URLs, contact information, WiFi credentials, and plain text for scanning with smartphone cameras.

Error correction levels

  • Level L (7%): Smallest QR code. Best for clean digital displays where the code won't be damaged.
  • Level M (15%): Default. Good balance between size and resilience for most uses.
  • Level Q (25%): For printed materials that may get partially obscured or damaged.
  • Level H (30%): Maximum redundancy. Allows up to 30% of the code to be damaged. Required if overlaying a logo on the QR code.

Best practices

  • Use short URLs: Shorter data produces simpler QR codes that scan more reliably.
  • Maintain contrast: Dark foreground on light background scans best. Avoid low-contrast color combinations.
  • Test before printing: Always scan your QR code with multiple devices before printing or publishing.
  • Include quiet zone: The white border (margin) around the QR code is required for reliable scanning.

Common use cases

  • Marketing: Link to websites, landing pages, app downloads, or social media profiles.
  • Business cards: Encode vCard contact information for easy import.
  • WiFi sharing: Encode WiFi credentials (WIFI:T:WPA;S:NetworkName;P:Password;;) for instant connection.
  • Payments: Many payment systems use QR codes for transaction initiation.
  • Authentication: Two-factor authentication apps use QR codes to share TOTP secrets.

Frequently Asked Questions

Is my data sent to a server? No. The QR code is generated entirely in your browser using JavaScript and the Canvas API. Nothing is uploaded.

What is the maximum data capacity? This generator supports up to about 900 characters of text (at error correction level L). URLs and short text typically fit easily within this limit.

Can I use the generated QR codes commercially? Yes. QR codes are an open standard. The codes you generate here are yours to use without restriction.