QR Code Generator
/qr-code-generator/
Related tools
Related posts
Comments
About this tool
Why a QR code generator is useful everywhere
The QR code is a two dimensional barcode created in 1994 by the Japanese company Denso Wave to track inventory in car parts factories. A traditional linear barcode holds a few dozen digits, but a QR code stores data both horizontally and vertically and can carry thousands of bytes. Denso Wave chose not to exercise its patent rights, and the code is now defined by the international standard ISO/IEC 18004.
Read moreShow less
During the COVID 19 pandemic, QR check ins at venues made scanning second nature for almost everyone, in Korea and in many other countries. Table ordering, business cards, flyers, invitations and Wi-Fi signs all use them. Smartphone cameras read them directly, so no extra app is required.
This QR code generator turns a link, text or Wi-Fi login details into a QR code you can download as PNG or SVG. There is no sign up and no watermark, and the code is calculated inside this browser without being sent to a server. Your content and options stay only in this browser for your next visit, and Reset clears them; the Wi-Fi password is never stored. The last 5 codes made from text are listed under Recent, and tapping one loads it again.
How a QR code is generated
The text you enter is first turned into UTF-8 bytes with TextEncoder, and the qrcode-generator library places those bytes in Byte mode and calculates the layout of dark and light modules. Plain English letters take one byte each, while accented letters and non Latin scripts take more; a Korean character is 3 bytes, so the five character greeting 안녕하세요 is 15 bytes. Once the layout is set, the SVG is built by drawing a square path for each module, and the PNG by painting the same modules on a canvas and exporting with canvas.toDataURL('image/png'). A white margin of 4 modules, the quiet zone the standard requires, surrounds the code.
QR codes come in 40 sizes, from version 1 (21×21 modules) to version 40 (177×177), with each version adding 4 modules per side. This tool automatically picks the smallest version that fits the content. For example, https://scottools.com becomes 25×25 modules (version 2) at error correction L and M, and 29×29 (version 3) at Q and H. The three large corner squares are finder patterns that let a camera work out orientation even at an angle.
Error correction levels differ in how much Reed-Solomon code is added. L can recover from about 7% damage, M about 15%, Q about 25% and H about 30%. The more recovery data, the less content fits: in this tool, letters and digits fit up to 2,953 characters at L, 2,331 at M, 1,663 at Q and 1,273 at H, and Korean text fits 984, 777, 554 and 424 characters respectively. Anything longer shows a too long message.
Choosing settings for each use of your QR code
For a Wi-Fi sign in a shop or office, choose the Wi-Fi tab and enter the network name (SSID), security type and password. This builds a string in the form WIFI:T:WPA;S:name;P:password;;, and guests just scan it with the camera and tap Join. Semicolons, commas, colons, quotes and backslashes in the name or password are escaped automatically with a backslash, so a password like pass;word can be entered as is. Tick Hidden network if the network name is hidden.
For printed items such as business cards and flyers, SVG is the better choice. It is a vector file containing only module coordinates, so it stays crisp even at poster size. For pasting into chat apps, blogs or documents, PNG is more convenient. PNG draws each module as a whole number of pixels, so the image is the largest whole multiple that does not exceed the size you chose: a 33 module code (25 modules plus an 8 module margin) at 512px gets 15 pixels per module and comes out at 495px. This keeps module edges sharp.
For screens or clean paper prints, the default error correction M is enough. For outdoor posters that may get scratched or wet, or if you plan to put a logo sticker in the middle, choose Q or H. Higher levels make the modules denser, though, so for small stickers keeping modules large with L or M actually scans better.
What to know before making a QR code
The codes this tool makes are static QR codes with the content stored in the code itself. Unlike paid dynamic QR codes that redirect through an intermediate server, they never expire and keep working even if a service shuts down. On the other hand, the content cannot be changed after printing, and there is no way to count scans. Scanning the code with your own phone before printing to confirm the link is the surest habit.
A Wi-Fi QR code contains the password as unencrypted text. Anyone who gets hold of the image can read the password with an ordinary QR reader, so for codes posted in public places it is safer to set up a separate guest network.
Colors are fixed to dark modules on a white background for reliable scanning and do not change in dark mode. Inverting the colors or recoloring with low contrast may stop some cameras from reading the code. Even digits only content is encoded in Byte mode rather than numeric mode, so for the same length the code can be one version larger than generators that use numeric mode.
Popular tools
FAQ
Do the QR codes expire?
No. The link or text is stored in the QR code itself and no intermediate server is involved, so the code keeps working even if this site disappears. The trade off is that the content cannot be changed after printing.
How do I make a Wi-Fi QR code?
In the Wi-Fi tab, enter the network name, security type (WPA/WPA2/WPA3, WEP or None) and password, and the code appears immediately. Scanning it with the built in camera on iPhone or Android connects without typing the password. The password is stored in the QR as is, so using a guest network is safer.
Which error correction level should I choose?
For screens or clean prints, the default M (about 15%) is enough. If you add a logo or post it outdoors where it may be damaged, choose Q (about 25%) or H (about 30%). Higher levels make the modules denser, which can make small prints harder to scan.
Is PNG or SVG better for printing a QR code?
SVG is a vector file that stays sharp at any size, so it suits business cards and banners. PNG (256, 512 or 1024px) is handier for chat apps and blogs. PNG can come out a few pixels smaller than the chosen size to keep module edges crisp.
How much text can a QR code hold?
In this tool, letters and digits fit up to 2,953 characters at L and 2,331 at the default M. Korean characters take 3 bytes each, so about 777 fit at M. Longer content makes the modules denser, so long text scans better as a link.
Is this QR code generator really free?
Yes, with no sign up and no watermark. Codes are calculated in this browser, and your content is not sent to a server and stays only in this browser. You can use the codes on commercial print materials.