Skip to main content

QR Code Generator

Make QR codes for links, text, Wi-Fi, email and phone numbers. Download PNG or SVG.

Built and tested by Muhammad Irfan Liaqat · Updated

QR Code Generator: key facts

  • Makes QR codes for links, plain text, Wi-Fi networks, email addresses and phone numbers
  • Choose the size (150–600 px) and the foreground and background colours
  • Download as PNG or as SVG for print
  • Codes are static: they never expire, need no account and have no scan tracking

How static QR codes work

Choose what the QR code should contain, a link, plain text, email address, phone number or Wi-Fi login, enter the details, and the code appears as you type. Set its size and colours, then download it as a PNG for screens or an SVG for print.

These are static codes: the content is stored in the pattern itself rather than on a server, so they never expire and work without an account. The trade-off is that a static code cannot be edited after it is printed, so scan it with your phone camera before you use it. Dark modules on a light background scan most reliably; light-on-dark or low-contrast colour pairs can fail on some phones. A Wi-Fi code lets guests join by scanning and must be remade if you change the network name or password.

How to make a QR code

  1. 1Choose a type: URL, Text, Email, Wi-Fi or Phone
  2. 2Enter the content to encode
  3. 3Adjust the size and colours if you need to
  4. 4Test the code with your phone camera, then download it as PNG or SVG

How the amount of content changes the code

Every extra character adds modules (the black and white squares). A code with fewer, larger modules can be printed smaller and scanned from further away, so keep the content short.

ContentLengthGrid size
Short link, such as https://alventra.io/xyz23 characters25 × 25 modules
Wi-Fi login with a 21-character password53 characters33 × 33 modules
Typical page address59 characters33 × 33 modules
Address with tracking tags (utm_source and so on)124 characters49 × 49 modules

Measured with this generator, which uses error-correction level M. That level lets a code scan even if about 15% of it is damaged or covered.

How big to print a QR code

A common rule of thumb is to make the code at least one tenth as wide as the distance it will be scanned from: about 2 cm across for a business card held in the hand, and at least 20 cm for a poster read from 2 metres. Codes with more content need to be bigger, because their modules are smaller.

For print, download the SVG, which stays sharp at any size. If you must use the PNG, check its size: at 300 dots per inch, the 600-pixel option prints about 5 cm wide without blurring. Leave white space around the code when you place it in a design, and always test the printed proof with two or three different phones.

How much a QR code can hold

At level M, the largest QR code holds up to 2,331 bytes of text, 3,391 capital letters and digits, or 5,596 digits alone. Codes near that limit have a 177 × 177 grid and are hard to scan with a phone, so for long text it is better to put the text on a web page and encode the page's address.

Frequently Asked Questions

Do these QR codes expire?
No. The content is encoded directly in the pattern, so the code keeps working as long as the link or details inside it are valid.
How do I make a Wi-Fi QR code?
Choose Wi-Fi and replace NetworkName and password in the template with your own network name and password, keeping T:WPA for most home routers. Guests can scan it with their phone camera to join without typing the password.
Should I download PNG or SVG?
PNG for websites, documents and social media. SVG for print, because it is a vector file that stays sharp at any size, from a business card to a poster.
Can I change a QR code after printing it?
No. A static code always contains the same content. If you may need to change the destination, point the code at a page you control, so you can update that page instead.
Why won't my coloured QR code scan?
The colours probably lack contrast, or the code is light on a dark background. Use a dark colour on a light background and keep a blank margin around the code.
How do I make a QR code for a PDF, Google Form or menu?
Upload the file somewhere that gives a public link, such as Google Drive with link sharing on, or copy the form's share link. Paste that link in as the QR code's content.
Can I add a logo to the QR code?
No, this generator makes plain QR codes. If you add a logo in an editor afterwards, keep it small and in the centre and test the code with several phones.
Can I see how many people scanned my QR code?
No. Static QR codes have no tracking. To count scans, link to a URL with UTM tags, such as ?utm_source=poster, and check visits in your website analytics.
How big should a printed QR code be?
At least 2 × 2 cm (about 0.8 inch) for scanning up close. A common rule is a width of one tenth of the scanning distance, so a poster read from 2 metres needs a code about 20 cm wide.
How much data can a QR code hold?
Up to 7,089 digits, 4,296 letters and numbers, or 2,953 bytes in the largest code. In practice, keep links short, because more data means smaller squares that are harder to scan.

Related Tools

Guides