QR / Barcodes

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"
# }

View QRCode Gen docs →

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.

View BarcodeReader docs →

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

Get your free API key →

Ready to Start Building?

Get your free API key and access all the APIs mentioned in this article.

Get Free API Key →