QR Code
The QR Code tool generates QR codes from text or URLs.
Output Formats
svg, png, pdf
Error Correction Levels
L— Low (~7% recovery)M— Medium (~15% recovery, default)Q— Quartile (~25% recovery)H— High (~30% recovery)
Web Interface
Accessible from /tools/qr-code. Enter the URL, select the options, and click Generate.
API
Endpoint: POST /api/v1/tools/modes/{mode}/qr-code
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
data |
string | Yes | Content to encode (max 4296 characters) |
format |
string | Yes | Output format (svg, png, pdf) |
size |
integer | No | Size in pixels (100-1000, default: 300) |
error_correction |
string | No | Error correction level (L, M, Q, H, default: M) |
Example:
POST /api/v1/tools/modes/direct/qr-code
{
"data": "https://example.com",
"format": "svg",
"size": 400
}