Developer Tools
QR Code Generator
Make QR codes for links, text, phone numbers, SMS, email or contact cards in your browser. Set error correction, size and colours; download PNG or SVG.
How to use QR Code Generator
Choose what the code should contain and fill in the link, text or contact details. Pick the error correction level, PNG size, quiet zone and colours, preview the code and download a PNG or SVG. Scan-test it before printing.
- Enter the contentChoose a URL or text, phone number, SMS, email or vCard contact and fill in the details.
- Adjust the stylePick the error correction level, PNG size, quiet zone and foreground and background colours.
- Download and testDownload a PNG or vector SVG, then scan it at its final size to check the content.
Made in your browser
The QR code is encoded on this page by a built-in encoder supporting all four error correction levels, L, M, Q and H. It picks the smallest version that fits the content and draws the PNG and SVG straight from the module grid, so nothing is sent to a third-party QR service, which matters for internal links and contact details. The default link is 32 bytes, which fits version 3 (29 × 29 modules) at level M, with room for 42 bytes.
Error correction, quiet zone and colours
Higher error correction lets a damaged or partly covered code still scan, at the cost of a denser pattern: about 7% for L, 15% for M, 25% for Q and 30% for H. Use H for print or if a logo will cover the middle. Keep a quiet zone of four modules around the code. Dark modules on a light background scan most reliably, and the tool warns if the foreground is lighter than the background or the contrast is low. The SVG stays sharp at any print size.
Accuracy and data handling
Validate the result with your project's own tests and runtime rules before using it in production. The domain, URL or value required for this lookup is sent to the relevant service only to complete the request.
FAQ
Is my content sent anywhere?
No. The code is generated in your browser, so links, phone numbers and contact details never reach a server or third-party service.
What error-correction level should I use?
M suits screens and most printing. Choose Q or H if the code may be printed small, scuffed or partly covered by a logo, accepting a denser pattern.
How much can a QR code hold?
Up to 2,953 bytes at level L, 2,331 at M, 1,663 at Q and 1,273 at H. Accented letters and other non-ASCII characters take more than one byte.
Should I test the code before printing?
Yes. Scan the final artwork at its real size with a couple of phones and check that the decoded content is exactly right.
More Developer Tools
Related toolsPretty-print, minify, validate or sort JSON with exact error positions
Explain a cron schedule in plain English and list its next run times.
Base64, Base64URL and URL percent-encoding in one place, UTF-8 safe.
Bulk-generate random v4 or sortable v7 UUIDs in four formats.
Highlight regex matches, inspect groups and preview replacements live.
Encode special characters as HTML entities or decode entities back to text