Generate QR codes for any URL, text, or contact in one API call.
The QR Code API generates high-quality QR codes from any URL, plain text, or vCard contact. Returns a PNG or SVG with full control over size, colour, and error correction level. No libraries to install — one request, one image.
GET https://api.it-stacks.com/qr-code/generate?data=https://it-stacks.com&format=png&size=256{
"url": "https://cdn.it-stacks.com/qr/abc123.png",
"format": "png",
"size": 256,
"data": "https://it-stacks.com"
}https://api.it-stacks.com/qr-codeFull documentation →PNG and SVG. Use the format parameter to specify which you need.
Yes. Use the color param for the foreground and bg for the background — both accept hex values without the # prefix.
The maximum output size is 1024×1024px. The default is 256×256px.
No. Generated QR codes are cached indefinitely via CDN.
Yes. The data parameter accepts any UTF-8 string — URLs, plain text, phone numbers, vCard data, and more.
Free tier available — no credit card required.