·11 min read·comparison, qr-code-api, developer-tools, api

Best QR Code API for Developers in 2026

QR codes are everywhere in 2026 — restaurant menus, payment links, event tickets, product packaging, Wi-Fi sharing, and app downloads. If you're building an application that needs to generate QR codes programmatically, you have several API options. But they vary widely in pricing, customization, and output quality.

We compared the most popular QR code generator APIs to help you pick the right one for your project.

Why Use a QR Code API?

You could generate QR codes client-side with a JavaScript library like qrcode.js or qr-code-styling. But there are good reasons to use an API instead:

  • Consistency — same rendering across all platforms and devices
  • Server-side generation — generate QR codes in backend workflows (emails, PDFs, receipts)
  • Advanced customization — logos, colors, shapes that go beyond basic libraries
  • Format flexibility — SVG, PNG, PDF output without client-side rendering
  • No bundle size impact — no additional JavaScript shipped to the browser

That said, if you only need basic black-and-white QR codes on the client side, a library is fine. An API makes sense when you need server-side generation, advanced styling, or consistent output across platforms.

Quick Comparison Table

APIFree TierPaid FromOutput FormatsCustom ColorsLogo EmbedAPI Key Required
HookRay QR200/mo$9/moPNG, SVGYesNoNo (free tier)
goqr.meUnlimitedN/A (free)PNG, SVG, EPSYesNoNo
QRServer APIUnlimitedN/A (free)PNG, SVGYesNoNo
QR Code MonkeyUnlimited (manual)$9.99/mo (API)PNG, SVG, PDF, EPSYesYesYes (API)
QRCode Generator (qr-code-generator.com)50/mo$14.90/moPNG, SVG, PDFYesYesYes

1. HookRay QR — Best Free Browser Tool + API Combo

Best for: Developers who want a quick browser tool for manual QR code generation AND an API for programmatic use.

HookRay QR offers both a browser-based QR code generator and a REST API. The browser tool lets you generate QR codes instantly — paste a URL, download a PNG or SVG. The API gives you the same functionality programmatically.

Key Features

  • Browser tool — generate QR codes visually without writing code
  • REST API — programmatic generation with a simple GET or POST request
  • PNG and SVG output — raster and vector formats
  • Custom colors — set foreground and background colors
  • Custom size — specify pixel dimensions for PNG output
  • Error correction levels — L, M, Q, H levels for different use cases
  • No API key for free tier — start generating immediately

Pricing

PlanQR Codes/moPrice
Free200$0
Pro10,000$9/mo
Business50,000$29/mo

Code Example

# Simple GET request — no API key needed
curl "https://hookray.com/apis/qr-code?data=https://example.com&size=300&format=png" \
  --output qr.png
// Node.js — generate and save a QR code
const response = await fetch(
  "https://hookray.com/apis/qr-code?" +
    new URLSearchParams({
      data: "https://example.com",
      size: "300",
      format: "svg",
      color: "1a1a2e",
      bgcolor: "ffffff",
    })
);
const svg = await response.text();
# Python
import requests

response = requests.get("https://hookray.com/apis/qr-code", params={
    "data": "https://example.com",
    "size": 300,
    "format": "png",
})

with open("qr.png", "wb") as f:
    f.write(response.content)

Pros

  • Browser tool for quick, manual generation
  • Simple API with no authentication needed on free tier
  • Both PNG and SVG output
  • Custom colors and error correction levels
  • Fast response times (~200ms)

Cons

  • No logo embedding (yet)
  • No PDF output format
  • Fewer customization options than QR Code Monkey
  • Rate limited on free tier (200/mo)

2. goqr.me API — Best Completely Free Option

Best for: Developers who need a free, no-registration QR code API for basic use cases.

The goqr.me API has been around for years and remains one of the most used free QR code APIs. It requires no registration, no API key, and has no explicit rate limits (though they ask you to be reasonable).

Key Features

  • Completely free — no registration, no API key, no payment
  • Multiple output formats — PNG, SVG, and EPS
  • Custom colors — foreground and background
  • Custom size — up to 1000x1000 pixels
  • Error correction — all four levels supported
  • Margin control — set quiet zone size

Pricing

Completely free. No paid tiers.

Code Example

curl "https://api.qrserver.com/v1/create-qr-code/?data=https://example.com&size=300x300&format=png" \
  --output qr.png

Pros

  • 100% free with no registration
  • No rate limits (within reason)
  • Supports PNG, SVG, and EPS
  • Been around for years — stable and reliable
  • No API key management

Cons

  • No SLA or uptime guarantee
  • No logo embedding or advanced customization
  • No analytics or tracking
  • Limited documentation
  • No support channel — if it goes down, you wait
  • Response times can be inconsistent

3. QRServer API — Best for Simple Integrations

Best for: Developers who need a reliable, free QR code API with good documentation.

QRServer (api.qrserver.com) is another free QR code API that's been running for over a decade. It's often confused with goqr.me — they share a domain but are technically different endpoints. QRServer offers both generation and reading (decoding) of QR codes.

Key Features

  • QR code generation — create QR codes from text or URLs
  • QR code reading — decode QR codes from uploaded images
  • Multiple formats — PNG and SVG output
  • Color customization — hex color codes for foreground and background
  • Size options — up to 1000x1000 pixels
  • UTF-8 support — encode non-Latin characters

Pricing

Completely free. No paid tiers.

Code Example

# Generate
curl "https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=Hello%20World" \
  --output qr.png

# Read/Decode
curl "https://api.qrserver.com/v1/read-qr-code/?fileurl=https://example.com/qr.png"

Pros

  • Free with no registration
  • QR code reading/decoding capability (unique in this list)
  • Stable — running for 10+ years
  • Good UTF-8 and special character support
  • Simple URL-based API

Cons

  • No logo embedding
  • No advanced styling (rounded corners, dot shapes)
  • No uptime SLA
  • Limited to PNG and SVG
  • No batch generation
  • Community support only

4. QR Code Monkey — Best for Branded QR Codes

Best for: Marketing teams and developers who need visually customized QR codes with logos, colors, and custom dot shapes.

QR Code Monkey is primarily a web-based QR code generator with extensive customization options. They also offer an API, though it requires a paid subscription. The customization options are the most extensive in this comparison.

Key Features

  • Logo embedding — add your brand logo to the center of the QR code
  • Custom dot shapes — squares, rounded, dots, stars, and more
  • Gradient colors — single color or gradient foreground
  • Custom eye shapes — change the corner marker design
  • High-resolution output — up to 3000x3000 pixels
  • Multiple formats — PNG, SVG, PDF, and EPS

Pricing

PlanFeaturePrice
Web toolUnlimited manual generationFree
API Basic10,000 QR codes/mo$9.99/mo
API Pro50,000 QR codes/mo$24.99/mo
API EnterpriseUnlimited$49.99/mo

Code Example

const response = await fetch("https://api.qrcode-monkey.com/qr/custom", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
  body: JSON.stringify({
    data: "https://example.com",
    config: {
      body: "circle",
      eye: "frame13",
      eyeBall: "ball14",
      bodyColor: "#1a1a2e",
      bgColor: "#ffffff",
    },
    size: 300,
    download: true,
    file: "png",
  }),
});

Pros

  • Most customization options (logos, dot shapes, gradients)
  • High-resolution output (up to 3000x3000)
  • Free web tool for manual generation
  • PNG, SVG, PDF, and EPS output
  • Good for branded/marketing QR codes

Cons

  • API requires paid subscription ($9.99/mo minimum)
  • Free web tool doesn't include API access
  • Complex API with many parameters
  • Response times slower due to advanced rendering (~1-3s)
  • Logo embedding can reduce scan reliability if overdone

5. QRCode Generator (qr-code-generator.com) — Best for Enterprise with Analytics

Best for: Businesses that need dynamic QR codes with scan analytics and campaign tracking.

QRCode Generator is a full-featured QR code platform aimed at marketing teams and enterprises. Its key differentiator is dynamic QR codes — codes where the destination URL can be changed after printing — and built-in scan analytics.

Key Features

  • Dynamic QR codes — change the destination URL without reprinting
  • Scan analytics — track scans by location, device, time
  • Campaign management — organize QR codes into campaigns
  • Bulk generation — create hundreds of QR codes from a CSV
  • Custom design — colors, logos, frames, and call-to-action text
  • API access — programmatic generation and management

Pricing

PlanQR CodesPrice
Free50/mo (static only)$0
Starter100 dynamic$14.90/mo
Advanced500 dynamic$44.90/mo
Professional2,500 dynamic$139.90/mo

Pros

  • Dynamic QR codes (change URL after printing)
  • Scan analytics and tracking
  • Campaign management tools
  • Bulk generation from CSV
  • Enterprise-grade features

Cons

  • Free tier limited to static QR codes only
  • Expensive compared to API-only solutions
  • API is secondary to the web platform
  • Overkill for developers who just need to generate QR codes
  • Per-QR-code pricing model (not per-request)

QR Code API Feature Comparison

FeatureHookRay QRgoqr.meQRServerQR Code MonkeyQRCode Generator
Free tier200/moUnlimitedUnlimitedWeb tool only50/mo (static)
API key neededNo (free)NoNoYesYes
PNG outputYesYesYesYesYes
SVG outputYesYesYesYesYes
PDF outputNoNoNoYesYes
Logo embeddingNoNoNoYesYes
Custom colorsYesYesYesYesYes
Custom dot shapesNoNoNoYesYes
Dynamic QR codesNoNoNoNoYes
Scan analyticsNoNoNoNoYes
QR code readingNoNoYesNoNo
Browser toolYesNoNoYesYes
Best forDev simplicityFree basicFree + decodeBranded QREnterprise

How to Choose the Right QR Code API

Choose HookRay QR if:

  • You want a simple API with a browser testing tool
  • You need both PNG and SVG output
  • You want to start free without registration
  • You value developer experience and simplicity

Choose goqr.me or QRServer if:

  • You need a completely free solution with no limits
  • Basic black-and-white QR codes are sufficient
  • You don't need SLA guarantees or support
  • You want the simplest possible integration (just a URL)

Choose QR Code Monkey if:

  • You need branded QR codes with logos and custom styling
  • Visual design of the QR code matters (marketing materials)
  • You need high-resolution output for print
  • PDF or EPS output is required

Choose QRCode Generator if:

  • You need dynamic QR codes (change URL after printing)
  • Scan analytics and tracking are important
  • You're managing QR code campaigns at scale
  • Enterprise features like SSO and team management matter

When to Skip the API Entirely

If you're generating QR codes purely on the client side and only need basic styling, consider a JavaScript library instead:

  • qrcode (npm) — lightweight, no dependencies, PNG/SVG output
  • qr-code-styling (npm) — customizable with logos, colors, and dot shapes
  • vue-qrcode / react-qr-code — framework-specific wrappers

Use an API when you need server-side generation, consistent output across platforms, or features like error correction tuning that aren't well-supported in client libraries.

The Bottom Line

For most developers, the choice comes down to three questions:

  1. Do you need branded QR codes with logos? Go with QR Code Monkey.
  2. Do you need dynamic QR codes with analytics? Go with QRCode Generator.
  3. Do you need a simple, developer-friendly API? Go with HookRay QR.

If budget is truly zero and you don't mind the lack of SLA, goqr.me and QRServer have served developers well for over a decade.

HookRay QR gives you 200 free QR codes per month with both a browser tool and an API — enough for most side projects and early-stage products.


Generate your first QR code in seconds — no signup required. Try the HookRay QR Code tool in your browser, or integrate directly via the QR Code API.

Ready to test your webhooks?

Get a free webhook URL in 5 seconds. No signup required.

Start Testing — Free