Developer API
Generate QR codes with a single request.
The QRKit API turns any text or URL into a QR image. It is free, needs no API key, and has open CORS — so you can drop it straight into an <img> tag or call it from your backend.
Endpoint
Both GET and POST are supported. GET is the easiest — pass your options as query parameters.
GET https://qrkit.tools/api/qr?data=<text>&size=512&format=png
Parameters
data
Required. Text or URL to encode. Max 2048 characters.
size
Image size in pixels (default 512).
format
png (default) or svg.
ecc
Error correction level: L, M (default), Q, or H.
dark
Foreground hex color without # (default 000000).
light
Background hex color without # (default ffffff).
margin
Quiet-zone margin in modules (default 4).
download
Set to 1 to return the image as a file download.
Embed as an image
Because CORS is open, the endpoint works anywhere an image URL is accepted.
<img src="https://qrkit.tools/api/qr?data=https://qrkit.tools&size=300" alt="QR code" />
Example: cURL
curl "https://qrkit.tools/api/qr?data=Hello%20World&size=400&format=svg" -o qr.svg
Example: POST with JSON
curl -X POST https://qrkit.tools/api/qr \ -H "Content-Type: application/json" \ -d '{"data":"https://qrkit.tools","size":512,"format":"png","ecc":"H"}' \ -o qr.png

Frequently asked questions

Is the QRKit Tools QR code API free?

Yes. The API is free and needs no API key, no account and no registration. Send a request to https://qrkit.tools/api/qr and you get an image back.

Do I need an API key?

No. There is no key, token or header to send. The endpoint is public and CORS is open, so it works from a browser, a server or an <img> tag.

What formats can the API return?

PNG by default, or SVG with format=svg. Set download=1 to have the image returned as a file download instead of inline.

How large can the encoded data be?

Up to 2048 characters in the data parameter, and up to 1024 pixels for the size parameter.

Can I use the API in production?

Yes, and it is free to do so. It is a best-effort public endpoint with no uptime guarantee, so cache the generated images on your side rather than requesting the same code on every page view.

Does the API store the data I encode?

The endpoint renders the image from the request and returns it. Encoded content is not exposed in any public listing and never appears in product analytics.
QRKit Tools
Free static QR code and barcode tools at qrkit.tools. No sign-up, no tracking redirects, no expiry.
QR codes & barcodes created with QRKit
© 2026 QRKit Tools — qrkit.tools
Terms
Contact
GitHub
X
LinkedIn