QR Code API
QR codes from a URL
Encode any URL or text as a PNG QR code. Pick a resolution from 64 to 4000 px and embed the URL directly — no JS, no image hosting, no cost.
Direct URL Usage
You can generate QR codes directly by calling our endpoint.
Endpoint Structure
https://imgsrc.pub/qr?text=[content]&size=[px]
- text: Your URL-encoded content (Required)
- size: Width/Height in pixels (Optional, Default: 300)
Real Example
A 400x400 QR code pointing to example.com:
https://imgsrc.pub/qr?text=https://example.com&size=400High Reliability
Uses high error correction (Level H) allowing the QR to be readable even if damaged.
Static & Permanent
These QR codes don't expire and don't require any subscription or sign-up.
Multiple Formats
Supports plain text, URLs, WiFi credentials, VCards, and many more data formats.