qr.tools.town

QR Code API

QR codes via uqr (SVG or PNG). One GET request — no API key for public use.

Open sample (SVG) → Sample PNG → Embed widget → Validate JSON → /meta →

Live preview

Same URL as the sample above, embedded as an image:

Sample QR

API reference

GET/?data=…&format=svg|png&size=…&color=…&bg=…&ecl=…

Omit data to load this page. With data, returns image/svg+xml or image/png.

ParamDefaultDescription
dataText or URL to encode (required for image; max 4096 UTF-8 bytes)
formatsvgsvg · png
size400Approx. width/height in px (32–1000)
color#000000Foreground hex (#rgb or #rrggbb)
bg#ffffffBackground hex
eclMError correction: L · M · Q · H (alias: ecc)
border1Quiet zone in modules (0–4)
altAccessible label in SVG (aria-label + <title>)
download1 or trueContent-Disposition: attachment
filenameBasename for download (safe chars only)

Also: /validate?data=… (capacity check JSON), /embed/ (iframe-friendly UI), /meta (machine-readable discovery).