Back to APIs
QR Server
A free, no-auth QR code generation and reading API — just construct the URL with your data and get back a PNG image.
Base URL
https://api.qrserver.com/v1QR codesimage generationfreeno authutility
Endpoints
GET
/create-qr-code/Generate a QR code image for any text or URL.
const response = await fetch("https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://github.com", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
});
const data = await response.json();
console.log(data);Response Preview
Returns a PNG image directly. Example URL: https://api.qrserver.com/v1/create-qr-code/ ?size=200x200 &data=https://github.com &format=png &color=000000 &bgcolor=ffffff