Back to Tools

QR Code Generator

Create QR codes for URLs, text, emails and more

Type

Content

Settings

128px512px

Higher error correction = more robust code, but larger file size

QR Code

Vorschau:

Hello, World!

Usage

  • • QR codes can be scanned with any smartphone
  • • Use higher error correction for printed codes
  • • Larger codes are easier to scan
  • • WiFi QR codes enable quick connection to networks

API Endpoint

You can also use the QR code generator via an API:

GET /api/tools/qr-code

Query Parameters:

  • type (optional): text, url, email, phone, wifi
  • text (optional): Text for QR code
  • url (optional): URL for QR code
  • email (optional): Email address
  • emailSubject (optional): Email subject
  • emailBody (optional): Email body
  • phone (optional): Phone number
  • wifiSSID (optional): WiFi network name
  • wifiPassword (optional): WiFi password
  • wifiSecurity (optional): WPA, WEP, nopass
  • size (optional): Size in pixels (50-2000, default: 256)
  • errorCorrectionLevel (optional): L, M, Q, H (default: H)
  • format (optional): json, png, svg (default: json)

Examples:

/api/tools/qr-code?type=text&text=Hello World&format=json/api/tools/qr-code?type=url&url=https://example.com&format=png&size=512/api/tools/qr-code?type=wifi&wifiSSID=MyNetwork&wifiPassword=secret&format=svg

POST /api/tools/qr-code

Request Body (JSON):

{ "type": "url", "url": "https://example.com", "size": 512, "errorCorrectionLevel": "H", "format": "json" // or "png" or "svg" }

Response (format=json):

{ "success": true, "data": { "value": "https://example.com", "type": "url", "size": 512, "errorCorrectionLevel": "H", "dataUrl": "data:image/png;base64,...", "format": "png" } }