QR Code Generator
Generate a QR code from any text or URL. Customize colors and size, then download as PNG or SVG.
Updated
How It Works
QR codes (Quick Response codes) follow the ISO 18004 standard. Each code encodes data as a grid of black and white squares. When a smartphone camera scans the grid, it decodes the pattern back into text, a URL, or other data and acts on it - typically by opening a link.
This tool generates QR codes entirely in your browser. No text or URL is ever sent to a server. The preview updates in real time as you type, and you can download the result as a scalable SVG or a high-resolution 512x512 PNG.
Choosing the Right Error Correction Level
Every QR code includes redundant data so it can still be read even if part of the code is damaged or obscured. There are four levels:
- L - Low (7%): The smallest, densest QR code. Use only for clean digital displays where nothing will cover or damage the code.
- M - Medium (15%): The default and the right choice for most use cases - good balance of density and durability.
- Q - Quartile (25%): A good pick for print materials like flyers or posters that might pick up minor scuffs.
- H - High (30%): Maximum redundancy. Use when the code will be printed on a curved surface, embossed into packaging, or placed somewhere that could get dirty.
Higher error correction produces a more complex QR pattern, which can be slightly harder for older scanners to read. For typical uses, stick with M.
Tips for QR Codes That Scan Reliably
- Keep enough contrast. Dark on light is the classic and most reliable combination. Avoid low-contrast color pairs like dark gray on black - most scanners need a clear difference between the foreground and background.
- Size it appropriately. A printed QR code should be at least 2 cm x 2 cm (roughly 0.8 in). The further away the scanner will be held, the larger the code needs to be.
- Leave a quiet zone. The white border around the QR code (the "quiet zone") is part of the spec. Do not crop it tightly or place the code directly against a busy background.
- Test before distributing. Scan your own QR code with at least two different devices before printing or publishing it at scale.
- Shorter URLs scan faster. If you are linking to a long URL, consider using a URL shortener first. A shorter input means a less dense QR pattern, which scans more reliably at smaller print sizes.
Frequently Asked Questions
Explore More Tools
Password Generator
Generate strong, secure passwords with custom length and character options.
Word Counter
Count words, characters, sentences, and estimate reading time.
Username Generator
Generate unique usernames with style options and bulk generation.
Markdown to PDF
Convert Markdown to a clean, printable PDF. No installs required.
Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back. See the current epoch time live, with timezone support.