QR Code Generator

Free, no account required.

Colors

Border & Shape

Dark Modules: — Density: —

For Developers

Use the QR API directly from your code. No API key required.

Endpoints

EndpointDescription
GET /qrGenerate QR code (SVG)
GET /qr-infoGet QR metadata (version, modules, density, ecc)

Parameters

ParameterDefaultDescription
text(required)Content to encode (max 1000 chars)
size400SVG size in px (100–1000)
eccMError correction: L, M, Q, H
fg000000Foreground color (hex)
bgffffffBackground color (hex)
styleclassicModule style: classic, rounded, dots, smooth, modern
border4Quiet zone (0–10)
borderRadius0Corner radius (0–100)

Error Codes

StatusMessageDescription
400Text requiredtext parameter missing
400Text too long (max 1000)text exceeds 1000 characters
400QR generation failedInternal QR generation error
405Method not allowedOnly GET is allowed

Example

curl "https://qr.divct.workers.dev/qr?text=Hello&size=400&ecc=M&style=classic"
Copied ✓