Content is loading…
Generate a PNG QR code from any text or URL — customise size, colors, error correction.
qr_code#qr code#qrcode#qr generator#barcode#image generatorGenerates a PNG QR code from a string or URL and returns a public link to the hosted image. Accepts text, size in pixels, darkColor and lightColor hex codes, margin, and errorCorrection level (L, M, Q, H). The resulting file is temporary and expires after 24 hours.
| Name | Type | Required | Description |
|---|---|---|---|
text | string | required | The text or URL to encode in the QR code |
size | number | optional | Pixel dimensions (square). Default 512, max 2000. |
darkColor | string | optional | Hex color for the dark modules. Default "#000000". |
lightColor | string | optional | Hex color for the light background. Default "#ffffff". Use "#00000000" for transparent. |
errorCorrection | enum ("L" | "M" | "Q" | "H") | optional | Error correction level: L (low/7%), M (medium/15%), Q (quartile/25%), H (high/30%). Default M. |
margin | number | optional | Quiet-zone margin in modules. Default 4. |
{
"text": "https://toolsy.my",
"size": 512
}{
"text": "WIFI:T:WPA;S:Office;P:secret;;",
"size": 1024,
"darkColor": "#1e3a5f",
"errorCorrection": "H"
}curl -X POST https://toolsy.my/api/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "qr_code",
"arguments": {
"text": "https://toolsy.my",
"size": 512
}
}
}'Make 1200×630 OG or 1080×1080 social images with title, subtitle, and theme.
post_image_makerRender bar, line, pie, scatter, area, or doughnut charts from JSON data to a PNG URL.
render_chartGenerate QR codes from text or URLs and download as PNG.
Generate CODE128, EAN-13, UPC-A, and other barcodes from text.
Generate a free API key or set up an OAuth connector for Claude.ai.