📱
📊
🎨
🏷️
🔍
⚡
Open API — 10+ Endpoints

The complete QR & Barcode API toolkit

1D barcodes (Code 128, EAN-13, UPC-A, ITF, Code 39), 2D QR codes, and Data Matrix — all returned as base64-encoded PNG images with configurable size, margin, and error correction.

curl -X POST "https://barcode.toolkitapi.io/v1/qr/generate" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": "https://toolkitapi.io", "fg_color": "#1a1a2e", "module_shape": "rounded", "size": 400}'
import httpx

resp = httpx.post(
    "https://barcode.toolkitapi.io/v1/qr/generate",
    headers={"X-API-Key": "YOUR_KEY"},
    json={
        "data": "https://toolkitapi.io",
        "fg_color": "#1a1a2e",
        "module_shape": "rounded",
        "size": 400,
    },
)
result = resp.json()
print(result["format"], result["width"], "x", result["height"])
const resp = await fetch(
  "https://barcode.toolkitapi.io/v1/qr/generate",
  {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "X-API-Key": "YOUR_KEY",
    },
    body: JSON.stringify({
      data: "https://toolkitapi.io",
      fg_color: "#1a1a2e",
      module_shape: "rounded",
      size: 400,
    }),
  }
);
const data = await resp.json();
console.log(data.format, data.width, "x", data.height);
Styled QR Codes | 11 Barcode Formats | Free Tier Available | Bulk Generation

Browse by Category

Generate, decode, and style QR codes and barcodes in seconds.

Built for Developers

Designed to simplify your workflow, not complicate it.

🖼️

Base64 PNG Output

Every barcode is returned as a base64-encoded PNG — embed directly in HTML, PDFs, or emails.

📏

Configurable Size

Set width, height, and quiet-zone margin for any barcode format.

🔧

7 Formats

Code 128, EAN-13, UPC-A, ITF, Code 39, QR Code, and Data Matrix in one API.

⚡

Instant Generation

Pure compute — no external calls, no storage. Sub-50ms generation times.

10
API Endpoints
2
Categories
11
Barcode Formats
20
Max Bulk Items

Start generating QR codes in minutes

One API key. 10 endpoints. Styled QR codes & 11 barcode formats.

Get an API Key →