QR Code Generator
Generate QR codes from text, URLs, or contact info online. Free QR code generator with custom colors, sizes, and PNG download.
0/2000 characters
Enter content to generate QR code
About QR Codes
QR (Quick Response) codes are two-dimensional barcodes that can store URLs, text, contact information, WiFi credentials, and more. They can be scanned using smartphone cameras.
Error Correction Levels:
- L (Low) - ~7% recovery capacity, smallest QR code
- M (Medium) - ~15% recovery capacity, good default
- Q (Quartile) - ~25% recovery capacity
- H (High) - ~30% recovery capacity, best for printed/damaged codes
Common Uses:
- Website URLs and links
- Contact information (vCard)
- WiFi network credentials
- Payment information
- App store links
How to Use QR Code Generator
Enter your data
Type or paste the URL, text, contact info, or other data you want to encode. The QR code updates instantly as you type — no submit button needed.
Customize appearance (optional)
Adjust the size, foreground color, background color, error correction level, and optional center logo. Higher error correction allows smaller codes and embedded logos.
Test the QR code
Scan the generated code with your phone's camera before downloading. Verify it decodes correctly to your intended data — especially important after customizing colors or adding logos.
Download or copy
Click Download to save as PNG (raster, fixed size) or SVG (vector, infinite scaling). Use the SVG for printing at any size; PNG for web embedding, social media, or quick sharing.
When to Use QR Code Generator
Linking print media to online content
Add QR codes to business cards, brochures, posters, restaurant menus, event flyers, or product packaging so readers can instantly access your website, social media, app download page, or product page. Eliminates the friction of typing long URLs and lets you measure offline-to-online conversion via UTM-tagged links.
Sharing WiFi credentials
Generate a WiFi QR code (network name + password + encryption type) for your office, home, or event. Guests scan with their phone's camera and connect automatically — no typing complex passwords. Works on iOS 11+, Android 10+, and most modern devices. Frame and display in conference rooms, cafes, or rentals.
Contactless menus and ordering
Restaurants and venues can replace physical menus with QR codes linking to digital ordering systems or PDF menus. Customers scan, browse, and order from their own phones. Reduces print costs, allows instant menu updates, and provides a hygienic alternative to shared physical menus — adoption surged during COVID-19 and remains popular.
Payment and tipping
Mobile payment apps (PayPal, Venmo, Cash App, Stripe) generate QR codes for accepting payments. Scan-to-pay eliminates manual input of recipient details. Useful for street vendors, freelancers, charity collections, tip jars, and any peer-to-peer payment scenario where typing addresses is error-prone.
QR Code Generator Examples
Encoding a URL
https://treasure.tools/json-beautifier[QR code image: 21×21 modules at version 1, error correction M]A short URL fits in the smallest QR code (Version 1, 21×21 modules). Easy to scan from up to ~30cm away with a typical phone camera. Add UTM parameters (?utm_source=poster&utm_campaign=launch) to track which physical location drove visits — the QR generator handles longer URLs but the resulting code becomes denser.
WiFi credentials
WIFI:T:WPA;S:GuestNetwork;P:welcome2024;;[QR code image: scannable WiFi config]WiFi QR codes use a special URI format (WIFI:T:auth;S:ssid;P:password;;). When scanned by a modern phone, the OS prompts to join the network automatically. T=encryption type (WPA, WEP, or nopass for open), S=network name, P=password. Much easier than typing complex passwords on a phone keyboard.
Contact card (vCard)
BEGIN:VCARD\nVERSION:3.0\nFN:Jane Doe\nORG:Acme Corp\nTEL:+15551234567\nEMAIL:jane@acme.com\nEND:VCARD[QR code image: scannable contact]vCard format (RFC 6350) creates a QR code that prompts the scanner's phone to add a new contact. Include name (FN), organization (ORG), phone (TEL), email (EMAIL), and optionally photo (PHOTO), website (URL), or address (ADR). Print on business cards for one-tap saving — far more reliable than asking someone to type your details.
Tips & Best Practices for QR Code Generator
- 1.Use error correction level Q (25%) for printed materials — survives folds, smudges, and partial damage. Use level L (7%) for clean digital displays where reliability isn't a concern. Higher levels increase density but improve scan reliability.
- 2.Test before printing! Scan with multiple phones (iOS and Android, old and new) and various lighting conditions. A QR code that scans on your iPhone might fail on someone's older Android. Distance matters too — verify scan-ability at the expected use distance.
- 3.Keep the 'quiet zone' (white border around the code) intact. Even though it looks like wasted space, scanners need it to detect the code boundaries. Don't crop tightly to the modules — leave at least 4 modules of white border for reliable scanning.
- 4.When using custom colors, ensure high contrast between foreground (modules) and background. Black-on-white scans best; dark-on-light works but reduces scan reliability. Reverse colors (light modules on dark background) often fail to scan — most scanners assume dark-on-light. Always test reversed designs.
- 5.Embedded logos work but reduce scan-ability. Use level H (30%) error correction when adding logos so the code can survive the 'damaged' center. Keep logos to ~20% of code area — anything larger likely won't scan. Position logos centrally, not over the position-detection patterns in the corners.
- 6.For URLs, use a short URL service (Bitly, your own short domain) before generating the QR code. Shorter URLs = simpler, smaller, faster-scanning codes. Plus, you can change the destination later without reprinting if you used a URL shortener that allows redirect updates.
Frequently Asked Questions
Related Tools
QR Code Reader
Scan and read QR codes from uploaded images online. Free QR code reader that decodes URLs, text, and contact information instantly.
Image Format Converter
Convert images between PNG, JPG, WebP, GIF, and more formats online. Free image converter with quality settings and batch support.
Image Resizer
Resize images online with stretch, fit, or pad options. Free image resizer with custom dimensions, aspect ratio lock, and preview.
Image Compressor
Compress and reduce image file size online while maintaining quality. Free image compressor for JPG, PNG, and WebP optimization.
Image Cropper
Crop images to custom dimensions online with a visual editor. Free image cropper with aspect ratio presets and drag-to-select.
Image to Base64
Convert images to Base64 encoded strings online. Free image to Base64 encoder for embedding images directly in HTML, CSS, or JSON.