A link to a QR image for any text. Free, no key, no account.
A link to a QR image for any text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | required | What the QR code should contain. Max 900 characters. |
| size | integer | optional | Target pixel size. Rounded down to whole modules, so the image is never stretched. Default 300. |
| error | string | optional | Error-correction level: l, m, q or h. Higher survives more damage but holds less. Default m. |
| format | string | optional | json, png or svg. Defaults to JSON, except for a browser opening the URL directly, which gets the image. |
{
"data_uri": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53…",
"error_correction": "M",
"modules": 15,
"note": "Generated by CUB SOFTWARE — no third-party service involved.",
"png_url": "https://cubsoftware.site/api/qr.png?text=hello&size=300&error=m",
"requested_size": 300,
"size": 299,
"svg": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"299\" height=\"299\" class=…",
"svg_url": "https://cubsoftware.site/api/qr.svg?text=hello&size=300&error=m",
"text_length": 5,
"version": "M3-M"
}
The QR code itself, as a PNG image. Takes the same parameters.
curl 'https://cubsoftware.site/api/qr.png?text=hello&size=300'
The QR code itself, as SVG — sharp at any size. Takes the same parameters.
curl 'https://cubsoftware.site/api/qr.svg?text=hello&size=300'
Edit the path and send it. This runs against the real endpoint.
Press Send to run the request.