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, wifitext(optional): Text for QR codeurl(optional): URL for QR codeemail(optional): Email addressemailSubject(optional): Email subjectemailBody(optional): Email bodyphone(optional): Phone numberwifiSSID(optional): WiFi network namewifiPassword(optional): WiFi passwordwifiSecurity(optional): WPA, WEP, nopasssize(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=svgPOST /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"
}
}