QR code

Create an easy to read QR code and URL shortener

QRTag.net provides a simple API for generating QR codes from any text, URL, or data. You can customize size, color, format (PNG/SVG), and error correction level. The API also includes a URL shortener that can be embedded directly into QR codes for cleaner results. For OpenClaw agents, QR code generation is useful for sharing links, WiFi credentials, contact cards, or any data that needs to be scannable. Your agent can generate a QR code from a URL and send it directly to Telegram or Discord — handy for sharing meeting links, payment URLs, or quick setup instructions.

Tags: utility, development

Category: Development

Use Cases

  • Generate QR codes for URLs and send them as images in Telegram/Discord
  • Create WiFi credential QR codes for guest network sharing
  • Generate vCard QR codes for quick contact sharing

Tips

  • Shorten URLs before encoding them in QR codes for better scannability
  • Use SVG format if you need to resize the QR code without quality loss
  • For WiFi QR codes, use the format: WIFI:T:WPA;S:NetworkName;P:Password;;

Known Issues & Gotchas

  • Long URLs produce dense QR codes that may be hard to scan — use a URL shortener first
  • The API returns an image file, not JSON — handle as binary download
  • Custom branding (logo in QR center) typically requires a paid plan

Frequently Asked Questions

Do I need an API key for basic QR generation?

No. Basic QR code generation works without authentication. Just pass your data as a URL parameter and get a PNG or SVG back.

What formats does the QR API support?

The API returns QR codes as PNG or SVG images. PNG is better for messaging (Telegram/Discord), while SVG is better for print or web embedding.

Are there alternatives for QR generation?

Yes. Google Charts API (deprecated but working), goqr.me, and QRServer.com all offer free QR generation. For self-hosted, the qrcode npm/Python libraries work offline.