tune Live Playground
Test parameters interactively and generate QR codes on the fly.
link Endpoint
All requests should be sent via HTTP GET to the following base URL:
https://qr.alfian.web.id/?text=Hello+World list Query Parameters
Customize the generated QR code by passing parameters in the URL query string.
| Parameter | Type | Default | Description |
|---|---|---|---|
| text * | string | — | The text, URL, or data payload to encode into the QR code. |
| size | integer | 10 | Image dimension width & height in pixels (square output). |
| margin | integer | 4 | Quiet zone border size surrounding the QR matrix. |
| type | string | png | Output image file format format (png or svg). |
| ec_level | string | Q | Error correction capacity level: L (7%), M (15%), Q (25%), H (30%). |
| dl | int | 0 | When set to 1, forces the browser to download the QR code image file as an
attachment. |
* Required parameter.
100% Free
No tiers, completely free to use for personal and commercial apps.
Unlimited Requests
No rate limits or throttling imposed on endpoints.
No Auth Required
Just perform GET requests and get direct images back.
Want to host your own QR API?
Get the complete, high-performance source code for this QR Code Generation microservice. Easily deploy on your own server, Netlify, Vercel, or Cloudflare Pages and Workers.
Secure checkout · Instant delivery