QR Code Generator
Generate a QR code for a link, a block of text, a WiFi network or a contact card, then download it as a PNG or a scalable SVG. The data is encoded directly into the image, so the code has no expiry date and reports nothing to anyone.
Runs entirely in your browser — nothing is uploaded
https:// is added automatically if you leave it off.
Options — size, error correction, colours
For print, 1024 px or more keeps edges crisp. The SVG download is resolution-independent.
Higher levels still scan when the code is scuffed or partly covered, at the cost of a denser pattern.
The blank border scanners need to find the code. Below 2 some readers struggle.
Preview
Enter something above to see the code.
How to use it
- Pick what kind of code you want: Link, Text, WiFi or Contact.
- Fill in the fields. The preview updates as you type — there is no generate button.
- Open Options if you need a different size, error correction level, quiet zone or colours.
- Download as PNG for screens or SVG for print, or copy the image straight to your clipboard.
How it works
A QR code is not a link to your data — it is your data, written as a grid of black and white squares. The encoder takes your text, converts it to bits, adds Reed–Solomon error correction codes so the result survives damage, and lays the whole thing out in the grid pattern along with the three corner squares scanners use to orient themselves.
All of that happens in your browser. The pattern is drawn onto an HTML canvas, which is what you see in the preview, and the PNG download is that canvas encoded as an image by your own device. The SVG download takes a different path — it writes out the module grid as vector rectangles, which is why it scales to any size without losing sharpness.
Because the payload lives inside the image, there is no server involved at scan time either. A phone pointed at the code reads the value and acts on it directly.
What each mode encodes
- Link encodes the URL as plain text, adding
https://if you leave the scheme off. - Text encodes exactly what you type, with no interpretation.
- WiFi builds the
WIFI:T:WPA;S:network;P:password;;string that iOS and Android both understand as a join-network instruction. - Contact builds a vCard 3.0 record, which phones offer to save straight into contacts.
Tips
- Test before you print in bulk. Scan with an iPhone camera and an Android phone, at the actual printed size, in the lighting the code will live in.
- For a printed code, download the SVG and let the print shop scale it. Never enlarge a small PNG.
- Keep the pattern dark and the background light. Inverted codes look striking and fail on a large share of scanner apps.
- Shorter content makes a sparser, more reliable code. If you are encoding a long URL with tracking parameters, strip the ones you do not need.
Frequently asked questions
Will these QR codes ever expire or stop working?
Does anyone track scans of my code?
Is my data sent to a server to make the image?
PNG or SVG — which should I download?
How much data fits in one QR code?
What is error correction and which level should I use?
Why does my code fail to scan?
Do WiFi QR codes work on both iPhone and Android?
WIFI: format from the built-in Camera app since iOS 11, and Android since version 10. Older Android devices may need a dedicated scanner app. Set Security to match your router — WPA covers WPA, WPA2 and WPA3 — and tick "hidden" only if your network does not broadcast its name, because getting that flag wrong will stop the code from connecting.Can I put my logo in the middle of the code?
Popular tools
Merge PDF
Combine several PDFs into one file and drag the pages into the order you want before merging.
Image Compressor
Cut image file size with a quality slider and a side-by-side before/after preview.
Compress PDF
Shrink a PDF by re-encoding the images inside it, with a quality setting you control.
PDF Viewer
Open and read a PDF full screen in your browser, with dark mode, without it being uploaded anywhere.
Browse every tool in Security & Encoding.
Found a bug or want a feature? Tell us — ToolStash is built from user requests.