Dynamic website image
/api/qr-code?code=https%3A%2F%2Fexample.com&dim=250x250
A 250 × 250 PNG response
Generate and download a scannable PNG QR code locally.
Quick answer
Generate a QR code from text or a URL, download it as a PNG, or create a dynamic image URL for an HTML img element.
QR code
Dynamic QR image URL
/api/qr-code?code=https%3A%2F%2Fexample.com&dim=320x320Embed with: <img src="/api/qr-code?code=https%3A%2F%2Fexample.com&dim=320x320" alt="QR code" />
Illustrative view
Text becomes an error-corrected matrix and downloadable PNG.
Generate a QR code from text or a URL, download it as a PNG, or create a dynamic image URL for an HTML img element. Browser previews are generated locally with medium error correction and a quiet margin.
A request to the separate /api/qr-code endpoint with code and an optional square dim parameter returns image/png directly. The endpoint bounds content and dimensions and provides public cache headers for practical website embedding.
/api/qr-code?code=https%3A%2F%2Fexample.com&dim=250x250
A 250 × 250 PNG response
A short Wi-Fi instruction
Text encoded inside the symbol
Yes. Put the generated API URL in the src attribute. Encode query parameter values when constructing URLs yourself.
No. Dynamic here means the PNG is generated from URL parameters. The encoded destination itself is fixed unless it points to a redirect that you control.
No. The image contains only the supplied content and has no analytics or tracking service.
No. This tool runs locally in your browser, so the values or files you provide are not sent to a ToolStack server.
Keep going