Best QR Code API: Free PNG/SVG APIs Compared (2026)
Disclosure: This article contains affiliate links to third-party QR code services. If you sign up via one of these links, HookRay may earn a small commission at no extra cost to you. We list every alternative we evaluated — paid and free — so you can pick what fits. Read our affiliate disclosure.
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, output quality, and whether the API is still reliable enough for production.
We compared the most popular QR code generator APIs — including the long-running api.qrserver.com, goqr.me, QR Code Monkey, and HookRay — to help you pick the right one for your project.
Quick answer: use HookRay QR if you want a free browser tool plus a simple API, QRServer/goqr.me if you need a no-key basic endpoint, QR Code Monkey for styled QR codes with logos, and QuickChart if you already use chart/image APIs.
Best QR Code API for Developers in 2026: Quick Picks
If you just need the answer:
- Best simple developer API: HookRay QR — PNG/SVG output, custom colors, browser testing tool, and a free no-signup path.
- Best completely free basic API: goqr.me / QRServer — good for simple QR codes when you do not need SLA, support, or usage visibility.
- Best branded QR codes: QR Code Monkey — strongest styling options, logo support, and high-resolution exports.
- Best campaign analytics: QRCode Generator — dynamic QR codes and scan analytics for marketing teams.
- Best client-side library:
qrcodeorqr-code-stylingif you do not need a hosted API.
Want to test before integrating? Generate a QR code now with the free HookRay QR Code tool, or use the QR Code Generator API for automation.
QRServer API Status in 2026: Is api.qrserver.com Still Working?
Short answer: Yes, as of April 2026, api.qrserver.com (operated by goqr.me) remains online and continues to serve QR codes for free with no API key. It has been running continuously for over a decade and still responds in the ~200-400ms range.
See our dedicated guide: Free api.qrserver.com Alternatives in 2026 (With Real SLAs) for a side-by-side migration reference.
But there are real caveats for anyone depending on it in production:
- No SLA or uptime guarantee — if the service goes down, you have no contractual recourse. Teams have reported intermittent 500s and slowdowns during peak hours.
- No support channel — community forums only; you cannot open a support ticket.
- No public status page — when it breaks, you find out by looking at your own error logs.
- No roadmap or changelog — API parameters have historically changed without notice.
- No analytics or usage insights — you can't see how many QR codes you've generated or track error rates.
For hobby projects or internal tooling, api.qrserver.com is fine and free forever. For any production workflow that your users or customers depend on, you should evaluate an alternative with a real SLA. The options below — including the free-tier-friendly HookRay QR Code API — are all worth considering.
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.
QR Code API Pricing, Formats, and Rate Limits Compared
| API | Free Tier | Paid From | Output Formats | Custom Colors | Logo Embed | API Key Required |
|---|---|---|---|---|---|---|
| HookRay QR | 200/mo | $9/mo | PNG, SVG | Yes | No | No (free tier) |
| goqr.me | Unlimited | N/A (free) | PNG, SVG, EPS | Yes | No | No |
| QRServer API | Unlimited | N/A (free) | PNG, SVG | Yes | No | No |
| QR Code Monkey | Unlimited (manual) | $9.99/mo (API) | PNG, SVG, PDF, EPS | Yes | Yes | Yes (API) |
| QRCode Generator (qr-code-generator.com) | 50/mo | $14.90/mo | PNG, SVG, PDF | Yes | Yes | Yes |
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 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
| Plan | QR Codes/mo | Price |
|---|---|---|
| Free | 200 | $0 |
| Pro | 10,000 | $9/mo |
| Business | 50,000 | $29/mo |
Code Example
# Simple POST request — no API key needed for the free tier
curl -X POST "https://hookray.com/api/tools/qrcode" \
-H "Content-Type: application/json" \
-d '{"data":"https://example.com","size":300,"format":"png","darkColor":"#1a1a2e","lightColor":"#ffffff"}' \
--output qr.png
// Node.js — generate and save a QR code
const response = await fetch("https://hookray.com/api/tools/qrcode", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
data: "https://example.com",
size: 300,
format: "svg",
darkColor: "#1a1a2e",
lightColor: "#ffffff",
}),
});
const svg = await response.text();
# Python
import requests
response = requests.post("https://hookray.com/api/tools/qrcode", json={
"data": "https://example.com",
"size": 300,
"format": "png",
"darkColor": "#000000",
"lightColor": "#ffffff",
})
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
| Plan | Feature | Price |
|---|---|---|
| Web tool | Unlimited manual generation | Free |
| API Basic | 10,000 QR codes/mo | $9.99/mo |
| API Pro | 50,000 QR codes/mo | $24.99/mo |
| API Enterprise | Unlimited | $49.99/mo |
Try QR Code Monkey
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
| Plan | QR Codes | Price |
|---|---|---|
| Free | 50/mo (static only) | $0 |
| Starter | 100 dynamic | $14.90/mo |
| Advanced | 500 dynamic | $44.90/mo |
| Professional | 2,500 dynamic | $139.90/mo |
Try QRCode Generator
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
| Feature | HookRay QR | goqr.me | QRServer | QR Code Monkey | QRCode Generator |
|---|---|---|---|---|---|
| Free tier | 200/mo | Unlimited | Unlimited | Web tool only | 50/mo (static) |
| API key needed | No (free) | No | No | Yes | Yes |
| PNG output | Yes | Yes | Yes | Yes | Yes |
| SVG output | Yes | Yes | Yes | Yes | Yes |
| PDF output | No | No | No | Yes | Yes |
| Logo embedding | No | No | No | Yes | Yes |
| Custom colors | Yes | Yes | Yes | Yes | Yes |
| Custom dot shapes | No | No | No | Yes | Yes |
| Dynamic QR codes | No | No | No | No | Yes |
| Scan analytics | No | No | No | No | Yes |
| QR code reading | No | No | Yes | No | No |
| Browser tool | Yes | No | No | Yes | Yes |
| Best for | Dev simplicity | Free basic | Free + decode | Branded QR | Enterprise |
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
Best JavaScript QR Code Libraries in 2026
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 a JavaScript QR code library when the QR code only needs to exist inside your frontend. Use a QR Code API when you need server-side generation for PDFs, emails, receipts, print workflows, no-code automation, or consistent output across different backend jobs.
The Bottom Line
For most developers, the choice comes down to three questions:
- Do you need branded QR codes with logos? Go with QR Code Monkey.
- Do you need dynamic QR codes with analytics? Go with QRCode Generator.
- 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. Unlike api.qrserver.com, you get a proper product page, versioning, and a real path to upgrade when you need more capacity.
Migrating from api.qrserver.com to HookRay
If you're currently using api.qrserver.com and want a replacement with the same simplicity, the migration is essentially a URL swap. Both APIs accept GET requests with URL-encoded parameters.
# Before — api.qrserver.com
curl "https://api.qrserver.com/v1/create-qr-code/?data=https://example.com&size=300x300" \
--output qr.png
# After — HookRay QR Code API
curl -X POST "https://hookray.com/api/tools/qrcode" \
-H "Content-Type: application/json" \
-d '{"data":"https://example.com","size":300,"format":"png"}' \
--output qr.png
The parameter names are slightly different (size=300x300 vs size: 300), but the migration is still small. Read the full HookRay QR API docs →
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 Generator API.
Generate a QR code now
Use the free browser tool first, then move to the API when you need automation.
Open QR Code Tool