QR Code Generator
Convert any URL to a downloadable QR code. Pick size, scan, download PNG. Client-side only.
Convert any URL to a scannable QR code — paste a URL, pick a size (128, 256, or 512 px), and the QR code renders immediately on canvas. Download as a PNG file named qr-code.png with one click. Works entirely in your browser via the qrcode library; no URL is sent to any server and no sign-up is needed.
How to generate a QR code from a URL
- 1
Paste your URL
Type or paste any URL — including https://, http://, or deep links — into the input field. The QR code preview updates automatically as you type.
- 2
Choose a size
Select 128 px for small digital use, 256 px for general-purpose print and web, or 512 px for large-format print such as posters and banners. Larger sizes improve scan reliability at a distance.
- 3
Preview the QR code
The QR code renders immediately on an HTML canvas element using the qrcode library — no server request is made. Point your phone camera at the preview to verify it scans correctly before downloading.
- 4
Download as PNG
Click Download PNG to save the QR code as a file named qr-code.png. The image is suitable for embedding in documents, web pages, or printed materials.
QR Code Generator FAQ
- How do I generate a QR code from a URL for free?
- Paste your URL in the input field above, select a size (128, 256, or 512 px), and the QR code renders automatically. Click Download PNG to save it. No sign-up, no expiry, no watermark — free forever.
- What size QR code should I use?
- Use 128 px for small digital displays or quick tests. Use 256 px for general-purpose use — web pages, presentations, printed A4 flyers. Use 512 px when printing on large formats such as posters or banners to maintain scan reliability from a distance.
- Do generated QR codes expire?
- No. The QR code encodes the URL directly in the image pixel pattern — there is no external redirect or tracking service. As long as the encoded URL remains live, the QR code works indefinitely.
- Can I generate a QR code for Wi-Fi or plain text?
- This tool is optimised for URL input. QR codes can technically encode any text — Wi-Fi credentials (WIFI:S:mynet;T:WPA;P:mypass;;), plain text, vCards — but scanning behavior depends on the reader app. Future versions may add dedicated Wi-Fi and text modes.
- Is my URL sent to a server when generating a QR code?
- No. The QR code is generated entirely in your browser using the qrcode JavaScript library. Your URL is never transmitted to any server, making this tool safe for internal or private URLs.
- What error correction level does the generated QR code use?
- The tool uses error correction level M (medium), which allows up to 15% of the QR code pattern to be damaged or obscured while still scanning correctly. This balances data density and scan reliability for most print and screen use cases.
References
- ISO/IEC 18004 — QR Code Standard
The international standard defining the QR code symbology — specifying data encoding modes, error correction levels, and module layout.
- MDN — Canvas API
The browser API used to render QR code pixel patterns to a bitmap — enabling client-side generation with no server round-trip.
- node-qrcode (generation library)
The open-source JavaScript library used by this tool to encode URLs and render QR code patterns to an HTML canvas element.
Related developer tools
URL to JSON
Parse any URL into its components — protocol, host, pathname, query params — as a structured JSON object.
Base64 Encode / Decode
Encode text or binary data to Base64 — useful for embedding QR code images as data URIs in HTML or CSS.
Image to Base64
Convert any image file to a Base64 data URI — handy when you want to embed the downloaded QR code PNG directly in markup.
URL Encode / Decode
Percent-encode or decode URLs before feeding them into the QR generator to ensure special characters are handled correctly.