QR Code Generator avatar

QR Code Generator

Pricing

Pay per usage

Go to Apify Store
QR Code Generator

QR Code Generator

Generate QR codes from text, URLs, vCards, WiFi credentials, email, or phone numbers. Supports PNG, SVG, and Base64 output with customizable size, colors, and error correction levels.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

2x lazymac

2x lazymac

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 hours ago

Last modified

Categories

Share

Generate QR codes from text, URLs, vCards, WiFi credentials, email addresses, or phone numbers. Supports multiple output formats and full customization of colors, size, and error correction.

Features

  • Text / URL QR codes -- encode any string or link
  • vCard QR codes -- contact cards with name, phone, email, org, title, URL, address
  • WiFi QR codes -- scan to connect (SSID, password, encryption type)
  • Email QR codes -- mailto links with subject and body
  • Phone QR codes -- tel: links for quick dialing
  • Output formats -- PNG image, SVG, or Base64 data URL
  • Customizable -- size (50-2000px), colors, margin, error correction level (L/M/Q/H)

Input

FieldTypeRequiredDescription
datastringYes*Text or URL to encode (*not needed for special types)
typestringNotext (default), vcard, wifi, email, phone
formatstringNopng (default), svg, base64
sizeintegerNoWidth in pixels, 50-2000 (default 300)
errorCorrectionLevelstringNoL, M (default), Q, H
darkColorstringNoHex color for dark modules (default #000000)
lightColorstringNoHex color for light modules (default #ffffff)
marginintegerNoQuiet zone in modules (default 2)

vCard fields

firstName, lastName, phone, email, org, jobTitle, url, address

WiFi fields

ssid (required), password, encryption (WPA/WEP/nopass)

Email fields

email (required as to), subject, body

Phone fields

number (required)

Output

Results are pushed to the default dataset. Each result contains:

{
"type": "text",
"data": "https://example.com",
"format": "png",
"size": 300,
"qrBase64": "data:image/png;base64,..."
}

For PNG and SVG formats, the QR image is also saved to the key-value store as qr-code.png or qr-code.svg.

Usage

  1. Set data to the text/URL you want to encode (or choose a special type)
  2. Customize format, size, and colors as needed
  3. Run the actor
  4. Download the QR image from the key-value store or use the base64 from the dataset