QR Code Generator

Create QR codes for URLs, vCards, WiFi, email, and text. Customize colors and size, download as PNG or SVG. Perfect for marketing.

Advertisement

Free QR code generator

Turn any URL, text, email, phone number, or Wi-Fi login into a scannable QR code in your browser, then download it as a high-resolution PNG or SVG. Generation happens entirely client-side — the data you encode is never sent to a server — and the codes never expire, because they are static rather than routed through a tracked redirect.

What you can encode

  • A website URL — the most common use; the code opens the link when scanned.
  • Plain text — a note, a serial number, or a short message.
  • Wi-Fi credentials — guests join your network by scanning instead of typing the password.
  • Email or phone — open a pre-addressed email or dial a number.
  • vCard contact details — share a name, company, and number that saves straight to a phone.

Static vs dynamic codes

This generator makes static QR codes: the data is encoded in the pattern itself, so the code works forever, with no account, no subscription, and no third party able to disable it or track scans. Dynamic codes (which many paid services sell) route through a short link the provider controls — convenient for editing the destination later, but they break if the service shuts down. For a permanent code on print or packaging, static is the safer choice.

Tips for a code that scans reliably

Keep good contrast (a dark code on a light background), leave the quiet-zone margin around it, and do not scale it below about 2 cm in print. Shorter data makes a less dense, more forgiving code. Download SVG for print, where it stays sharp at any size, and PNG for screens.

What Is a QR Code Generator

A QR (Quick Response) code generator converts text, URLs, contact information, Wi-Fi credentials, or other data into a two-dimensional barcode that can be scanned by smartphone cameras and dedicated readers. Invented by Denso Wave in 1994 for tracking automotive parts, QR codes have become ubiquitous in contactless payments, event ticketing, restaurant menus, product packaging, and digital marketing.

QR codes encode data as a matrix of black and white modules (squares) arranged in a grid pattern. They include built-in error correction, meaning they can still be read even when partially damaged or obscured. This robustness, combined with the universal availability of smartphone cameras, makes QR codes the most practical bridge between physical and digital content.

How QR Codes Work

A QR code consists of several functional areas:

Finder patterns: Three large squares in three corners that help scanners locate and orient the code.

Alignment patterns: Smaller squares that help correct for distortion when the code is photographed at an angle.

Timing patterns: Alternating black-white rows/columns that define the grid spacing.

Data and error correction: The actual encoded information plus Reed-Solomon error correction codes.

Error Correction LevelRecovery CapacityBest For
L (Low)~7% damageClean environments, maximum data
M (Medium)~15% damageGeneral purpose (default)
Q (Quartile)~25% damageIndustrial environments
H (High)~30% damageLogos embedded in QR code

QR code data types:

TypeFormatExample
URLPlain text URLhttps://example.com
Wi-FiWIFI:T:WPA;S:NetworkName;P:Password;;Auto-connect to network
vCardBEGIN:VCARD...Contact card
Emailmailto:user@example.comCompose email
SMSsmsto:+1234567890:MessageSend text message
Phonetel:+1234567890Dial number

Common Use Cases

  • Marketing and advertising: Link print materials to digital content, landing pages, and promotions
  • Contactless menus: Restaurants display QR codes linking to digital menus
  • Event management: Encode ticket information for fast scanning at event entry points
  • Wi-Fi sharing: Generate QR codes that automatically connect devices to Wi-Fi networks
  • Asset tracking: Label equipment and inventory with QR codes linking to management systems

Best Practices

  1. Use the lowest error correction level that fits your use case — Lower correction allows more data or smaller codes; higher correction handles damage better
  2. Test QR codes before printing — Scan with multiple devices and apps to ensure reliable reading
  3. Maintain adequate quiet zone — Leave a margin of at least 4 modules (white space) around the QR code for reliable scanning
  4. Use URL shorteners for long URLs — Shorter data produces simpler, more scannable QR codes
  5. Consider accessibility — QR codes are not accessible to all users; always provide an alternative text link or URL alongside the code
Advertisement

Frequently Asked Questions

What is a QR code and how does it work?+

QR (Quick Response) code is a 2D barcode that stores data as black squares on white background. Invented by Denso Wave (Toyota subsidiary) in 1994 for tracking automotive parts. Uses Reed-Solomon error correction - works even if 30% damaged. Scanning with smartphone camera decodes the pattern into text, URL, or other data. Can store up to 4,296 alphanumeric characters or 7,089 numeric digits. Widely used for: contactless payments, marketing campaigns, product tracking, authentication, WiFi sharing, digital menus. This tool generates standards-compliant QR codes in multiple formats (PNG, SVG).

What types of data can I encode in a QR code?+

QR codes support multiple data types: URL/website link (most common), plain text (up to 4,296 characters), contact information (vCard format - name, phone, email, address), WiFi credentials (SSID, password, encryption type - auto-connect on scan), email address with subject/body, phone number (click to call), SMS message (recipient + pre-filled text), geo-location (GPS coordinates), calendar events (iCal format), crypto wallet addresses. Best practice: URLs should be short (long URLs create dense, harder-to-scan codes). Use URL shorteners if needed. This tool supports all major QR code data types with format validation.

What are QR code error correction levels and which should I use?+

QR codes have 4 error correction levels that determine damage tolerance: L (Low) - 7% recovery, fastest scanning, smallest size. M (Medium) - 15% recovery, default for most uses. Q (Quartile) - 25% recovery, good for printed materials. H (High) - 30% recovery, best for damaged/dirty environments. Higher correction = larger QR code (more data cells). Use L for digital displays (screens, perfect quality). M for business cards, flyers. Q/H for outdoor use, stickers, products (wear and tear). This tool defaults to M (balanced), allows selection of other levels for specific use cases.

How do I customize QR code appearance and colors?+

QR codes can be customized while maintaining scannability: Colors - foreground (data modules) must be dark, background must be light. Ensure high contrast ratio (3:1 minimum). Avoid: light colors on dark background (scanners expect opposite). Size - minimum 2x2cm (0.8") for reliable scanning. Larger is better for distance scanning. Logo/image - can embed in center (up to 30% area with H error correction). Must not obstruct positioning squares (3 corners). Quiet zone - white border required (4 modules minimum) for scanner detection. This tool generates customizable QR codes with color picker and size options.

What is the best size and format for QR codes in different use cases?+

Physical print: 2x2cm minimum, 3x3cm recommended for business cards, 5x5cm+ for posters/signage. Use 300+ DPI PNG or vector SVG. Digital screens: 200x200px minimum on mobile, 400x400px for desktop. SVG recommended for responsive scaling. Packaging: 1.5x1.5cm minimum (depends on scan distance), high error correction (Q/H). T-shirts/fabric: 10x10cm minimum (curved surface + movement), H error correction. Billboards: scale to viewing distance (1cm per meter of distance). Vector formats (SVG, EPS) scale infinitely without quality loss. This tool exports optimized formats for each use case.

How do I create a WiFi QR code for easy network sharing?+

WiFi QR codes allow instant network connection without typing passwords. Format: WIFI:T:WPA;S:NetworkName;P:Password;H:false;; where T = security type (WPA, WPA2, WEP, or nopass), S = SSID (network name), P = password, H = hidden network (true/false). Example: WIFI:T:WPA2;S:MyNetwork;P:SecurePass123;; Scanning auto-fills WiFi settings - user taps Connect. Best practices: use WPA2/WPA3 encryption, avoid special characters in SSID/password (causes encoding issues), test before deploying, print multiple copies for guests. This tool generates WiFi QR codes with automatic format validation and preview.

Are QR codes secure and what are the privacy risks?+

QR codes themselves are not encrypted - anyone can scan and read the data. Security risks: malicious URLs (phishing sites, malware downloads), QR code replacement (stickers over legitimate codes), data leakage (sensitive info visible when scanned), tracking (shortened URLs with analytics). Mitigation: preview URL before visiting, use QR scanner app with URL preview, don't encode sensitive data (passwords, credit cards), use HTTPS URLs only, implement link expiration for temporary access, monitor QR code analytics for abuse. For sensitive use cases, combine with authentication (password, 2FA). This tool highlights security best practices during QR generation.

How do I track QR code scans and measure campaign effectiveness?+

Direct QR codes (static data) cannot track scans. For analytics, use dynamic QR codes pointing to redirect URLs: create unique tracking URL (bit.ly, goo.gl, custom domain), generate QR pointing to tracking URL, redirect to actual destination, analytics platform logs: scan count, timestamp, location (IP geolocation), device type, referrer. Track with UTM parameters: ?utm_source=qr&utm_medium=print&utm_campaign=fall2025. Services: Google Analytics, Bitly, QR code platforms with built-in analytics. A/B test different QR placements, compare scan rates across locations/materials. This tool generates QR codes compatible with any URL shortener or tracking platform.

This tool is provided for informational and educational purposes only. All processing happens in your browser — no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results.