QR Code Generator API — Generate QR Codes Programmatically
Generate QR codes from any text or URL. Customizable size and error correction. Returns PNG images. Free API for developers.
What is QR Code Generation?
QR (Quick Response) codes are two-dimensional barcodes that can be scanned by smartphones and QR readers to quickly access encoded information. The QR code generator API creates QR codes from any text, URL, or data string. It supports customizable size (pixels), error correction levels (L, M, Q, H), and returns a PNG image.
How to Use It
Call GET /api/v1/qr-code?text=https://example.com. Returns a PNG image directly with content-type image/png.
Use Cases
URL sharing, contact information (vCard), WiFi credentials, product labels, event tickets, restaurant menus, payment links, and marketing materials.
Try it live
Test this endpoint in the interactive console
Open Console →
Frequently Asked Questions
What error correction levels are available?
L (7% recovery), M (15% recovery), Q (25% recovery), H (30% recovery). Higher levels allow the QR code to be scanned even when partially damaged or obscured.
What is the maximum data capacity?
A QR code can store up to 4,296 alphanumeric characters, 7,089 numeric digits, or 2,953 bytes of binary data.