Toolstia / QR code generator
Create a QR code
A QR code is a small square of black and white modules that a phone camera reads as text. What the phone does with that text depends on its shape: a web address opens a page, plain text is displayed, and a specially formatted Wi-Fi string offers to join a network. This generator builds codes for either a link or any text, or for a Wi-Fi network from its name, password and security type.
You can set the size from 256 to 1,024 pixels, choose one of four error-correction levels, pick the code and background colors, and download the result as a PNG for screens and documents or an SVG for printing at any size. The preview updates as you type.
It is useful for menus, posters, business cards, event signs, guest Wi-Fi cards and product labels. The code is drawn in your browser from what you enter, and nothing needs to be saved or registered.
Enter some text to see your QR code.
Always scan the code with a phone before printing it. Low contrast colours may not scan.
How it works
- Choose a link or text, or Wi-Fi.
- Enter your details and adjust the size and colours if you like.
- Download the PNG, or the SVG for printing at any size.
Links and text
Anything you type is stored directly in the code, so it works without our site. These codes do not expire and are not tracked.
Wi-Fi codes
Phones can scan a Wi-Fi code to join the network without typing the password. Keep in mind that anyone who sees the code can read the password from it.
Error correction
Higher levels let a code still scan when part of it is damaged or covered, but make the code denser. Use High if you will print it or place a logo over it.
PNG or SVG
PNG is right for screens and documents. SVG is a vector file that stays sharp at any size, which suits posters and print.
What the Wi-Fi code actually contains
A Wi-Fi code is just text in a standard format. For a network named Home with the password secret123 and WPA security, the content is WIFI:T:WPA;S:Home;P:secret123;; and a phone that scans it offers to join. If the network is hidden, H:true; is added. For an open network the security type is nopass and no password field is included.
Semicolons, colons, commas and backslashes in a name or password have special meaning in this format, so the tool puts a backslash in front of them. A network called Cafe;Guest with the password p:ss;word becomes S:Cafe;Guest;P:p\:ss;word, and the phone reads it back correctly. Because the password sits inside the code in readable form, treat a printed Wi-Fi code like a printed password.
How much text fits, and why higher error correction makes denser codes
Capacity depends on the error-correction level. For ordinary text, the maximum is 2,953 characters at Low, 2,331 at Medium, 1,663 at Quartile and 1,273 at High (digit-only content can fit more). Accented, Bangla or emoji characters take more than one byte each, so they fit fewer.
More correction means more of the grid is spent on redundancy, so the same message needs a bigger, more crowded code. A 100-character text is a 37 by 37 module code at Low, 41 by 41 at Medium, 49 by 49 at Quartile and 57 by 57 at High. A short link such as https://toolstia.com at Medium is only 25 by 25 modules, which is why short addresses make the most reliable codes.
Picking a level and size for print
Low is fine for a short link shown on a screen. Medium, the default, is a good general setting. Choose Quartile or High for printed codes that may be scratched, folded or smudged, and for codes with a logo covering the middle, since High can survive up to about 30 percent damage. But a denser code needs bigger printing to stay readable.
The PNG you download is at most 1,024 pixels wide, so for a large poster use the SVG, which scales without blurring. A common rule of thumb is to make a code about one tenth as wide as the distance it will be scanned from. Always scan a printed test with at least two different phones before ordering a run.
Colors, contrast and the border around the code
Scanners find a code by contrast, so keep the code color much darker than the background. Dark on light is the safest. Inverted codes, with a light code on a dark background, are not read by every scanner. Low-contrast pairs such as yellow on white or two similar blues commonly fail.
The generated image has a border of 2 modules on each side. This is narrower than the 4-module quiet zone the standard suggests, and it works for most phone cameras, but if your design puts the code right against busy artwork, add your own clear margin around it when you place the image.
Static codes: what you cannot change afterward
These codes store the content directly. They never expire and do not depend on any website, but they also cannot be edited, redirected or measured. If the web page moves, the printed code still points to the old address. For a campaign where you need scan counts or the freedom to change the destination later, point the code at a short address you control and manage the redirect there.
Questions
Does the QR code expire?
No. The data is inside the code itself, so it keeps working as long as the destination exists.
Is anything tracked or saved?
No. The code is generated in your browser and we do not store what you enter.
Why will my code not scan?
Check the contrast between the code colour and the background, keep the code large enough, and keep the quiet border around it. Test it with a phone before printing.
Is there a limit on length?
Yes. Very long text will not fit. You will see a message if that happens; shorten the text or lower the error correction.
Can I put a logo in the middle of the code?
The tool does not add logos, but you can place one over the center in an image editor. Use the High level first, keep the logo small, and test the final image with several phones.
Why does my link produce a huge, dense code?
Long addresses with tracking parameters need many modules. Shorten the link or remove unneeded parameters, and use a lower error-correction level for screen use.
Will an iPhone and Android phone both read the Wi-Fi code?
Recent versions of both read the standard Wi-Fi format with their built-in camera. Older phones may need a scanner app. Test with a spare device.
Can the code be made for a phone number, email or SMS?
The tool encodes whatever text you type. Writing tel:, mailto: or sms: formats yourself can work for many phone scanners, but test it, because behavior differs between apps.
What size PNG should I download?
For screens, 512 pixels is plenty. For print at small sizes use 1,024 pixels, and for anything bigger use the SVG.