QR Code Generator icon

QR Code Generator

Generates QR codes from text, URLs, or any string data as binary output

QR Code Generator

AI-generated

Summary

Generate a PNG-format QR code image from provided text or URL with customizable size, error correction level, colors, and margin, outputting it as binary data within the workflow.

Inputs

  • inputText (required) — Text, URL, or data to encode into the QR code (e.g., website URL, contact info, WiFi credentials, or any text).
  • fileName (required) — Name for the generated QR code image file, including extension (default 'qrcode.png').
  • binaryPropertyName (required) — Name of the binary property to store the generated QR code image; default is 'data'.
  • size — Width and height in pixels of the QR code image; default is 300, range from 100 to 2000.
  • errorCorrectionLevel — Error correction level affecting readability under damage: Low (7%), Medium (15%, default), High (25%), or Maximum (30%).
  • advancedOptions — Optional advanced settings including Dark Color (QR code pattern color, default #000000), Light Color (background color, default #ffffff), and Margin (white border modules around QR code, default 4).

Output shape

A list of JSON objects each containing the original input and a binary property with the PNG QR code image in base64 encoding.

Each output item corresponds to one input; binary data includes MIME type 'image/png', file name, and extension. If an error occurs and 'Continue On Fail' is enabled, an error message is returned in JSON form for that item.

Examples

Example 1: Generate a QR code for a URL

Set 'inputText' to URL like 'https://example.com', configure size and colors as desired, optionally adjust error correction level, and specify output file name and binary property name.

Discussion