Bulk QR Code & Barcode Generator: PNG & SVG avatar

Bulk QR Code & Barcode Generator: PNG & SVG

Pricing

Pay per event

Go to Apify Store
Bulk QR Code & Barcode Generator: PNG & SVG

Bulk QR Code & Barcode Generator: PNG & SVG

Generate QR codes and barcodes in bulk as PNG or SVG. Supports URLs, text, vCard, WiFi, email, phone, SMS, EAN-13, UPC-A, Code 128 and more. Set size, colors, error correction and module style, and get download links for every image.

Pricing

Pay per event

Rating

0.0

(0)

Developer

bite-sized-insights

bite-sized-insights

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Generate QR codes and barcodes in bulk - URL, text, vCard, WiFi, email, phone and SMS payloads plus Code128, EAN-13, UPC-A and more - as crisp PNG or SVG files with your own size, colors and error correction.

Give the actor a list of things to encode and get back one image per entry, stored in the run's key-value store, with a download link in every result row. Everything is computed inside the run: no external service is called and no account is needed. Pay-per-event pricing, charged only for codes that were generated.

Why Choose This Actor?

  • Many payload types: plain text, URLs, contact cards (vCard), WiFi login codes, pre-filled emails, phone numbers and SMS messages - the payload format is built for you, including escaping
  • Common barcodes: Code128, Code39, EAN-13, EAN-8, UPC-A, ITF and ISBN-13, with check digits calculated or verified
  • PNG and SVG: raster files for quick use, vector files for print; request both in one run
  • Full control over the look: size, error correction level, margin, foreground and background color, a transparent background, and dot or rounded module styles - no logo required
  • Per-entry results: a bad entry never fails the run; it gets its own row with a clear error and is not charged
  • Cost-effective: $1.20 / 1,000 codes on the Free plan, down to $0.78 on Gold, plus a tiny start fee

Quick Start

{
"items": [
"https://apify.com",
{ "type": "wifi", "ssid": "Office", "password": "correct-horse", "security": "WPA" },
{ "type": "ean13", "data": "5901234123457" }
],
"outputFormat": "png",
"size": 512
}

Entry Types

TypeFields
textdata
urldata (https:// is added when no scheme is given)
phonedata
smsdata (number), body
emaildata (address), subject, body
wifissid, password, security (WPA, WEP, nopass), hidden
vcardfirstName, lastName, organization, title, note
vcard contact fieldsphone, mobile, email, website, street, city, region, postalCode, country
code128, code39, ean13, ean8, upca, itf, isbn13data

An optional id on any entry is echoed back in its result row. A plain string entry is treated as a URL code when it starts with http:// or https://, otherwise as text.

Usage Examples

A contact card as a styled SVG

{
"items": [
{ "type": "vcard", "firstName": "Jane", "lastName": "Doe", "organization": "Acme", "phone": "+4930123456",
"email": "jane@acme.example", "website": "https://acme.example" }
],
"outputFormat": "svg",
"moduleStyle": "rounded",
"foregroundColor": "#1a2b6d",
"backgroundColor": "transparent",
"errorCorrection": "Q"
}

Product barcodes

{
"items": [
{ "type": "ean13", "data": "590123412345", "id": "sku-1" },
{ "type": "upca", "data": "03600029145", "id": "sku-2" },
{ "type": "code128", "data": "ORDER-2024-0042", "id": "sku-3" }
],
"outputFormat": "both"
}

Give EAN-13, EAN-8, UPC-A and ISBN-13 either without the check digit (it is calculated) or complete (it is verified).

Output Example

{
"id": null,
"type": "ean13",
"kind": "barcode",
"content": "5901234123457",
"status": "ok",
"error": null,
"width": 460,
"height": 213,
"png_key": "barcode-00003-0b5d0f2e.png",
"svg_key": null,
"png_url": "https://api.apify.com/v2/key-value-stores/.../records/barcode-00003-0b5d0f2e.png",
"svg_url": null
}

Input Options

OptionDescription
outputFormatpng (default), svg or both
sizeTarget width in pixels, 64 to 2048 (default 512)
errorCorrectionQR error correction: L, M (default), Q, H
marginQR blank border in modules, 0 to 20 (default 4)
foregroundColor, backgroundColorHex colors; the background may be transparent
moduleStylesquare (default), dots, rounded; the three corner squares always stay square
showTextPrint the readable code under barcodes (default true)

Up to 5,000 entries per run. A QR code holds up to roughly 2,900 bytes at the lower error correction levels.

Pricing

Pay-per-event. code-generated is charged only for codes that were generated; error rows are free, including codes not started because the run's time limit was close (time_limit error). The start fee ($0.0001) is charged once per GB of memory (minimum one), i.e. once for runs at or under 1 GB.

Plancode-generated price
Free$1.20 / 1,000 codes
Bronze$1.14 / 1,000 codes
Silver$1.02 / 1,000 codes
Gold, Platinum, Diamond$0.78 / 1,000 codes

FAQ

Where are the images? In the run's default key-value store; every result row has the key and a download URL.

Why is my QR code a little smaller than the size I asked for? QR codes are drawn at a whole number of pixels per module so edges stay sharp; the real width and height are in the result.

Is the free plan limited? Test and free-plan runs create the first 10 codes of the list.