Render a QR code
Render a QR code
Render non-empty UTF-8 text as a deterministic SVG, PNG, or WebP QR code. Base64 is not encryption; never include secrets because request URLs and responses may be logged or publicly cached.
GET
Render a QR code
Path Parameters
Output image file extension.
Available options:
svg, png, webp Query Parameters
Canonical standard Base64 encoding of 1–512 bytes of UTF-8 text.
Maximum string length:
684Square raster size in pixels. Defaults to 256 for PNG and WebP and is ignored for SVG.
Required range:
64 <= x <= 2048Keep clear space around the QR modules for reliable scanning. Defaults to true.
Response
Deterministic QR code image.
The response is of type string.