How do I generate a QR code?
Type a URL or any text and the tool renders a QR code as a PNG or SVG you can download. The code is generated in your browser, so the content you encode — including anything confidential — is never transmitted.
Runs entirely in your browser · no upload · no account · no watermark
- Type the text or URL you want to encode.
- Choose the size, margin and error-correction level.
- Download the result as a PNG or a vector SVG.
A URL, plain text, Wi-Fi details or contact data. It stays on this page.
Preview
The preview appears as soon as you type.
What this page can do
- Encode text, URLs, Wi-Fi details or contact data
- Adjustable size, margin and error-correction level
- Download as PNG or vector SVG
- The encoded content never leaves the page
When to use this page
- Encoding a short URL, Wi-Fi credentials or contact details for print or sharing.
- You want either a raster PNG or a vector SVG with no upload.
- Choosing the error-correction level yourself.
When to use something else
- The content is long: capacity drops sharply as error correction rises, and the tool reports overflow rather than producing an unscannable code.
- You need scan analytics, an editable destination, or a branded code with a logo.
- You need guaranteed print performance at a specific physical size.
How it compares with other options
Dynamic QR services let you change the destination after printing and report scan counts, but they route readers through their servers and usually need an account. This generator produces a static code whose target can never be changed, and it cannot tell you whether a 12 mm print will scan reliably — test the actual print. The SVG is a vector grid with no fixed pixel size, which is why the size field only affects the PNG.
Where your files go
Nowhere. This page loads the code that does the work, and from then on the file you open is read by your own browser. There is no upload step, no temporary server copy and no cleanup to trust — the data never crosses the network, so there is nothing to delete afterwards. You can confirm it yourself: open your browser’s network panel while the tool runs and watch it stay quiet.
Questions about this tool
- Which error-correction level should I choose?
- M (about 15% recoverable) is the sensible default and what most generators use. Raise it to Q or H when the code will be printed small, placed on a curved surface, or carry a logo in the middle, because more redundancy survives damage but leaves less room for data. Drop to L only when you need every byte of capacity and the code will be scanned close up.
- How much text fits in one QR code?
- It depends on the error-correction level: roughly 2,900 characters of ordinary text at L, falling to about 1,270 at H. Numeric input fits more and byte input less. If your content is too long the generator reports it instead of producing an unscannable code.
- Why does the SVG ignore the size setting?
- SVG is a vector format, so the download carries the module grid and no fixed pixel size — you scale it to any dimension in a design tool or on a page without it going blurry. The size field sets the raster PNG preview and download; the physical size of a printed SVG is whatever you give it.
Other tools in the same group
- JSON formatterPretty-print, minify and validate JSON, with the error position when it is invalid.
- Hash generatorSHA-1, SHA-256, SHA-384 and SHA-512 digests of text or a file, computed locally.
- Base64 encoderEncode text or a file to Base64 and decode it back, including URL-safe variants.
- Regex testerTry a JavaScript regular expression against sample text, with matches and capture groups.