# QR Code Generator & Reader: Bulk PNG/SVG, Barcode Scanner (`plotpointtech/qr-code-generator-reader`) Actor

Generate QR codes in bulk as PNG, SVG or PDF with custom colours and sizes (links, Wi-Fi, contacts) and read QR codes and barcodes (EAN, UPC, Code 128, Data Matrix) from images and photos. $1 per 1,000 codes.

- **URL**: https://apify.com/plotpointtech/qr-code-generator-reader.md
- **Developed by:** [Plot Point Technologies](https://apify.com/plotpointtech) (community)
- **Categories:** Developer tools, E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.62 / 1,000 qr code generateds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## QR Code Generator & Reader: Bulk PNG/SVG, Barcode Scanner

**Make QR codes in bulk and read QR codes and barcodes from images for $1 per 1,000 codes.** Paste a list of links or text and get a QR code image for each one as **PNG, SVG or PDF**, in your colours and size, with optional automatic scan-verification. Or give it photos and screenshots and it reads every **QR code, Data Matrix, Aztec, PDF417 and 1D barcode** (EAN, UPC, Code 128, Code 39 and more) it finds.

### What can this QR code tool do?

- **Bulk QR generation:** one code per line, each with a download link: product links, menus, tickets, inventory tags, event badges.
- **Any content:** URLs, plain text, phone (`tel:`), email (`mailto:`), SMS, **Wi-Fi login** (`WIFI:S:Network;T:WPA;P:password;;`) and vCard contacts.
- **PNG, SVG (vector, for print and design) or PDF**, with custom module size, quiet zone, dark and light colours or a transparent background.
- **Error correction** from Low to High (30%), and the level is raised automatically when it does not make the code bigger.
- **Verify** that every generated PNG scans back to exactly the right text.
- **Read codes from images:** QR, Micro QR, Data Matrix, Aztec, PDF417, EAN-13/8, UPC-A/E, Code 128/39/93, ITF and Codabar, several per image, with their positions.

### What data do you get?

Generated codes:

| Field | Description |
|---|---|
| `text`, `imageUrl`, `format` | Content and download link of the QR code |
| `version`, `errorCorrection` | QR version (size) and error-correction level |
| `widthPx`, `heightPx`, `bytes` | Image size |
| `readBackOk` | `true` when verification scanned it correctly |

Images read:

| Field | Description |
|---|---|
| `source`, `codesFound` | The image and how many codes were found |
| `text` | Content of the first code |
| `codes` | Every code: `text`, `format`, `position` |

### Who uses it?

- **Marketers and event organisers** making QR codes for flyers, packaging, menus and tickets in one batch.
- **Retail and warehouse teams** creating product and shelf labels, and reading barcodes from photos.
- **Developers** adding QR generation or barcode scanning to apps and workflows without extra libraries.
- **Print and design teams** who need vector SVG or PDF codes in brand colours.

### How to use it

1. Click **Try for free** (or **Start**).
2. To make codes, add lines under **Make QR codes from** and choose the format, size and colours.
3. To read codes, add **image URLs** or **upload an image**.
4. Run it and open the **Output** tab to download the QR codes or see the decoded text.

### Input example

```json
{
  "generate": [
    "https://example.com/menu",
    "WIFI:S:Cafe Guest;T:WPA;P:coffee2026;;",
    "mailto:hello@example.com"
  ],
  "format": "svg",
  "darkColor": "#1A237E",
  "errorCorrection": "H",
  "readImageUrls": [{ "url": "https://example.com/photos/shelf-label.jpg" }]
}
```

### Output example

From a real run (one generated code and one barcode read from an image):

```json
[
  {
    "type": "generated",
    "text": "WIFI:S:Cafe Guest;T:WPA;P:coffee2026;;",
    "imageUrl": "https://api.apify.com/v2/key-value-stores/hIEWIv7LSaTKb0bZe/records/qr-0002-WIFI-S-Cafe-Guest-T-WPA-P-coffee2026.png?signature=...",
    "format": "png",
    "version": 3,
    "errorCorrection": "M",
    "widthPx": 370,
    "heightPx": 370,
    "readBackOk": true,
    "status": "ok"
  },
  {
    "type": "read",
    "source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/UPC-A-036000291452.svg/500px-UPC-A-036000291452.svg.png",
    "codesFound": 1,
    "codes": [{ "text": "0036000291452", "format": "EAN-13", "position": "51x24 453x24 453x362 51x362" }],
    "status": "ok"
  }
]
```

### How much does it cost?

**$0.001 per QR code generated** and **$0.001 per image in which a code is found**, plus a $0.00005 start fee per run. Images with no readable code are listed free.

| You do | You pay |
|---|---|
| The default run (2 codes, verified) | $0.002 |
| 1,000 QR codes for product labels | $1.00 |
| Read barcodes from 5,000 photos | up to $5.00 |

**Volume discounts on higher Apify plans.** The prices above are for the Apify Free plan. On paid plans the price drops automatically: about 15% lower on Bronze, 25% lower on Silver and 38% lower on Gold and above.

### Use it via API, Make, Zapier, n8n or an AI agent

**Apify API.** Generate codes and get the image links back in one HTTP request (replace `YOUR_API_TOKEN` with the token from Apify Console > Settings > Integrations):

```bash
curl -X POST "https://api.apify.com/v2/acts/plotpointtech~qr-code-generator-reader/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"generate": ["https://example.com/product/123"], "format": "png", "moduleSizePx": 12}'
```

Official `apify-client` libraries exist for Python and JavaScript; the **API** tab on this page has ready-made code.

**No-code automation.** Connect the tool to **Make, Zapier, n8n, Google Sheets, Airtable, Shopify** or any webhook with Apify integrations.

**AI agents (MCP).** Give Claude, ChatGPT, Cursor or any MCP-compatible agent direct access through the hosted Apify MCP server:

```
https://mcp.apify.com?tools=plotpointtech/qr-code-generator-reader
```

### FAQ

**Do the QR codes expire?**
No. These are static QR codes: the content is in the code itself, so they work forever and do not depend on any service. (They also cannot be edited or tracked after printing; for that you would need a dynamic-QR redirect service.)

**Which colours scan reliably?**
Keep the code dark on a light background with strong contrast. Inverted (light on dark) codes do not scan on every phone. Use **Verify generated codes** to check.

**Why was no code found in my photo?**
The code may be too small, blurred, cut off or at a steep angle. Codes should be at least about 100 px across in the image. The tool also retries on an enlarged, higher-contrast copy before giving up.

**How large can the codes be?**
A QR code holds up to about 2,900 characters of text; long content makes the code denser, so keep links short for printing.

### Related tools from Plot Point Technologies

- [Image OCR - Image to Text in Bulk](https://apify.com/plotpointtech/image-to-text-ocr-bulk): read the printed text around the codes.
- [ISBN Book Lookup & Book Search: Title, Author, Cover (Bulk)](https://apify.com/plotpointtech/isbn-book-lookup): look up the books behind ISBN barcodes.
- [Bulk Image Converter & Compressor: WebP, AVIF, JPG, PNG, Resize](https://apify.com/plotpointtech/bulk-image-converter-compressor): resize and convert the codes.

QR Code is a registered trademark of DENSO WAVE INCORPORATED; Plot Point Technologies is not affiliated with it. Questions: support@plotpoint.tech.

***

If this tool saved you time, we would be grateful for a short review on this page; it helps other people find it. If something did not work as expected, please open an issue on the **Issues** tab and we will look into it quickly.

# Actor input Schema

## `generate` (type: `array`):

One QR code per line: links, text, phone numbers (tel:+15551234567), email (mailto:...), Wi-Fi (WIFI:S:Network;T:WPA;P:password;;) or vCards.

## `format` (type: `string`):

Format of the generated QR codes.

## `moduleSizePx` (type: `integer`):

Size of each square in the code. 10 gives about 300-400 px images.

## `quietZone` (type: `integer`):

White border around the code; 4 is the standard.

## `darkColor` (type: `string`):

Colour of the code squares (keep it dark for reliable scanning).

## `lightColor` (type: `string`):

Background colour.

## `transparentBackground` (type: `boolean`):

PNG/SVG with no background colour.

## `errorCorrection` (type: `string`):

Higher levels survive damage and dirt but make denser codes.

## `readBack` (type: `boolean`):

Scan each generated PNG to confirm it reads correctly.

## `readImageUrls` (type: `array`):

Images or photos containing QR codes, Data Matrix, Aztec, PDF417 or 1D barcodes (EAN, UPC, Code 128...).

## `uploadedImage` (type: `string`):

Upload a photo or screenshot with codes in it.

## Actor input object example

```json
{
  "generate": [
    "https://apify.com/plotpointtech",
    "WIFI:S:Cafe Guest;T:WPA;P:coffee2026;;"
  ],
  "format": "png",
  "moduleSizePx": 10,
  "quietZone": 4,
  "darkColor": "#000000",
  "lightColor": "#FFFFFF",
  "transparentBackground": false,
  "errorCorrection": "M",
  "readBack": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `files` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "generate": [
        "https://apify.com/plotpointtech",
        "WIFI:S:Cafe Guest;T:WPA;P:coffee2026;;"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plotpointtech/qr-code-generator-reader").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "generate": [
        "https://apify.com/plotpointtech",
        "WIFI:S:Cafe Guest;T:WPA;P:coffee2026;;",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("plotpointtech/qr-code-generator-reader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "generate": [
    "https://apify.com/plotpointtech",
    "WIFI:S:Cafe Guest;T:WPA;P:coffee2026;;"
  ]
}' |
apify call plotpointtech/qr-code-generator-reader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plotpointtech/qr-code-generator-reader"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/TJRKCIES7Wj41tK3m/builds/esEWTWBTZ0kBWijaD/openapi.json
