Free QR Code APIs: Generate and Read QR Codes via REST
Generate custom QR codes and read barcodes from images using free APIs. Perfect for ticketing, payments, and marketing.
QR codes bridge physical and digital experiences. Whether you're building a ticketing system, payment flow, or marketing campaign, these free APIs make QR code generation and reading trivial.
QRCode Gen - Custom QR Code Generation
Create QR codes with custom colors, logos, and error correction levels. Supports PNG, SVG, and PDF output formats. 5,000 free QR codes per month.
curl -X POST https://freeapitools.dev/api/v1/qr/generate \
-d '{
"data": "https://example.com/ticket/12345",
"size": 500,
"format": "png",
"foreground": "#000000",
"background": "#FFFFFF"
}'
# Response:
# {
# "url": "https://cdn.freeapitools.dev/qr/abc123.png",
# "size": 500,
# "format": "png"
# }
BarcodeReader - Scan QR Codes and Barcodes
Detect and decode QR codes, EAN, UPC, and Code128 barcodes from images. Supports batch processing. 1,000 free scans per month.
Use Cases
- Event ticketing: Generate unique QR codes for each ticket
- Product authentication: Add QR codes to verify genuine products
- Contact sharing: Generate vCard QR codes for business cards
- Wi-Fi access: Create QR codes that connect to Wi-Fi networks
- Payment flows: Generate dynamic payment QR codes
Error Correction Levels
QR codes support four error correction levels:
- L (Low): 7% correction - use for clean environments
- M (Medium): 15% correction - default, good balance
- Q (Quartile): 25% correction - use if adding logos
- H (High): 30% correction - maximum durability
Adding Logos to QR Codes
curl -X POST https://freeapitools.dev/api/v1/qr/generate \
-d '{
"data": "https://example.com",
"size": 600,
"logo_url": "https://example.com/logo.png",
"error_correction": "H"
}'
Use error correction level H when adding logos to ensure scannability.
Get Started
Related Articles
Complete Guide to Free IP Geolocation APIs
Get location data from IP addresses, convert coordinates to addresses, and work with timezones using free geolocation APIs.
Weather APIsBest Free Weather APIs for Developers in 2026
Compare the top free weather APIs for real-time data, forecasts, and air quality. All tested and production-ready.
Best PracticesHow to Handle API Rate Limits Like a Pro
Learn strategies for handling rate limits gracefully: exponential backoff, request queuing, and caching.
Ready to Start Building?
Get your free API key and access all the APIs mentioned in this article.
Get Free API Key →