How to use it
- Type or paste a URL or any text in the left pane.
- The Preview tab shows the QR code at a comfortable size. The SVG tab shows the markup, which you can Copy or Download as
qr-code.svg. Click PNG to saveqr-code.pngfor apps that don’t accept SVG. - Choose Error correction from L 7%, M 15%, Q 25% or H 30%. The percentage is roughly how much of the code can be damaged and still scan.
- Change Color and Background with hex values such as
#1e1b4band#ffffff.
The status bar shows the QR version (its size), the module count, the error correction level and the encoded length. For example, https://tidypane.dev/json/formatter/ produces Version 3 · 29×29 modules · error correction M · 36 bytes.
Choosing colors
Scanners look for dark modules on a light background. The tool computes the contrast between the two colors and warns when it is below 3:1: Low contrast between colors — many scanners need a dark code on a light background. Inverted codes (light on dark) also confuse many camera apps, so keep the darker color in Color. The Color Converter shows the exact contrast ratio between any two colors.
What you can encode
| Payload | Example |
|---|---|
| Website | https://example.com/menu |
| Wi-Fi | WIFI:T:WPA;S:Office;P:secret;; |
mailto:hello@example.com?subject=Hi |
|
| Phone | tel:+84901234567 |
| Text message | SMSTO:+84901234567:Hello |
| Location | geo:21.0285,105.8542 |
| Contact | a vCard starting with BEGIN:VCARD |
For URLs with spaces or non-ASCII characters in the query string, encode them first with URL Encode so every scanner opens the same address. Shorter content produces a smaller, easier-to-scan code, which matters for print.
Tips for printing
- Keep the quiet zone. The SVG already includes a four-module margin. Don’t crop it or place the code against busy artwork.
- Size for distance. A common rule of thumb is a code width of at least one tenth of the scanning distance, so about 3 cm for a table card read from 30 cm.
- Test before you print. Scan the preview with two different phones, and check that the link opens the right page.
- Use H with logos. If you place a logo over the center, choose error correction H so the covered modules can be recovered.
Codes are generated from scratch each time and contain nothing but your text. There is no tracking redirect, so the code keeps working as long as the URL does. To generate IDs to put in codes, see the UUID Generator.
Frequently asked questions
Which error correction level should I choose?
M (15%) is a good default for screens and clean prints. Use Q or H when the code may get scratched, printed small, or partly covered by a logo. Higher levels make the code denser, so L is best when you need to fit a lot of text.
Why is the QR code an SVG?
SVG is vector graphics, so the code stays sharp at any size, from a business card to a poster. Most design tools, browsers and office apps accept SVG. The file includes the recommended four-module quiet zone around the code.
How much text fits in a QR code?
Up to 2,953 bytes at level L, and less at higher levels. The tool encodes text as UTF-8 bytes, so accented letters and emoji take more than one byte each. If the text is too long, you get an error that suggests a lower level or shorter text.
Can I make a Wi-Fi QR code?
Yes. Enter WIFI:T:WPA;S:NetworkName;P:password;; with your own network name and password. Phones that scan it offer to join the network. Use T:nopass for an open network, and escape ; , : and \ in the name or password with a backslash.
Is my text sent anywhere?
No. The QR code is generated in your browser, and the text, including Wi-Fi passwords, is never uploaded.
Last updated