Skip to content
All tools

QR Code & Barcode Generator

Free QR code generator (link, text, Wi-Fi, vCard, email, SMS) and Code 128 / EAN-13 barcodes. Download PNG/SVG, custom colors, made in your browser.

·5 runs ·Developer API ↓
Content

Enter content — the code appears instantly

Codes are made in your browser — content, including Wi-Fi passwords, is never sent to the server. Codes never expire and use no redirect link.

Developer API

Developer API

Free

Call this exact tool from your code over JSON REST — same result as on the web, authenticated with an API key.

Endpoint

POST https://sieutool.net/api/v1/tools/qr-barcode

Auth: send the X-API-Key header — create a free key in Account → API keys.

  • Rate limit60 requests/min
  • Daily quota1.000 requests/day
  • PriceFree · up to 1 items/request

Request parameters

ParameterTypeDescription
kind"qr" | "code128" | "ean13"Loại mã(default "qr")
data *stringNội dung — Chữ/link cho QR (tối đa 2000 ký tự), ASCII cho Code 128, 12–13 số cho EAN-13 (mỗi dòng 1 mục)
eccstringMức sửa lỗi (QR) — L, M, Q hoặc H

* required. Send JSON in the body, Content-Type: application/json.

Code examples

curl -X POST 'https://sieutool.net/api/v1/tools/qr-barcode' \
  -H 'Content-Type: application/json' \
  -H "X-API-Key: $NXP_API_KEY" \
  -d '{"kind":"qr","data":"https://sieutool.net","ecc":"M"}'

Sample response

{
  "ok": true,
  "tool": "qr-barcode",
  "version": "1.0.0",
  "data": {
    "kind": "qr",
    "version": 2,
    "size": 25,
    "ecc": "Q",
    "mask": 7,
    "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 33 33\" shape-rendering=\"crispEdges\"><rect width=\"33\" height=\"33\" fill=\"#ffffff\"/><path fill=\"#000000\" d=\"M4 4h7v1h-7zM12 4h1v1h-1zM14 4h1v1h-1zM16 4h4v1h-4zM22 4h7v1h-7zM4 5h1v1h-1zM10 5h1v1h-1zM13 5h1v1h-1zM15 5h1v1h-1zM17 5h4v1h-4zM22 5h1v1h-1zM28 5h1v1h-1zM4 6h1v1h-1zM6 6h3v1h-3zM10 6h1v1h-1zM12 6h1v1h-1zM14 6h3v1h-3zM19 6h1v1h-1zM22 6h1v1h-1zM24 6h3v1h-3zM28 6h1v1h-1zM4 7h1v1h-1zM6 7h3v1h-3zM10 7h1v1h-1zM12 7h1v1h-1zM15 7h1v1h-1zM18 7h1v1h-1zM22 7h1v1h-1zM24 7h3v1h-3zM28 7h1v1h-1zM4 8h1v1h-1zM6 8h3v1h-3zM10 8h1v1h-1zM13 8h3v1h-3zM17 8h3v1h-3zM22 8h1v1h-1zM24 8h3v1h-3zM28 8h1v1h-1zM4 9h1v1h-1zM10 9h1v1h-1zM12 9h1v1h-1zM15 9h3v1h-3zM19 9h1v1h-1zM22 9h1v1h-1zM28 9h1v1h-1zM4 10h7v1h-7zM12 10h1v1h-1zM14 10h1v1h-1zM16 10h1v1h-1zM18 10h1v1h-1zM20 10h1v1h-1zM22 10h7v1h-7zM12 11h1v1h-1zM18 11h2v1h-2zM5 12h1v1h-1zM7 12h1v1h-1zM9 12h4v1h-4zM16 12h8v1h-8zM25 12h2v1h-2zM28 12h1v1h-1zM6 13h1v1h-1zM8 13h1v1h-1zM11 13h2v1h-2zM17 13h2v1h-2zM20 13h3v1h-3zM28 13h1v1h-1zM5 14h1v1h-1zM7 14h2v1h-2zM10 14h1v1h-1zM12 14h2v1h-2zM15 14h1v1h-1zM17 14h1v1h-1zM20 14h1v1h-1zM27 14h2v1h-2zM6 15h2v1h-2zM14 15h5v1h-5zM20 15h2v1h-2zM23 15h2v1h-2zM6 16h1v1h-1zM10 16h7v1h-7zM18 16h6v1h-6zM25 16h1v1h-1zM27 16h2v1h-2zM5 17h5v1h-5zM11 17h1v1h-1zM13 17h2v1h-2zM16 17h1v1h-1zM21 17h3v1h-3zM25 17h2v1h-2zM28 17h1v1h-1zM4 18h1v1h-1zM6 18h1v1h-1zM8 18h1v1h-1zM10 18h3v1h-3zM14 18h1v1h-1zM18 18h1v1h-1zM22 18h3v1h-3zM26 18h1v1h-1zM28 18h1v1h-1zM5 19h2v1h-2zM9 19h1v1h-1zM14 19h1v1h-1zM16 19h1v1h-1zM20 19h1v1h-1zM24 19h1v1h-1zM27 19h1v1h-1zM4 20h2v1h-2zM8 20h1v1h-1zM10 20h1v1h-1zM12 20h5v1h-5zM19 20h8v1h-8zM12 21h3v1h-3zM18 21h3v1h-3zM24 21h2v1h-2zM28 21h1v1h-1zM4 22h7v1h-7zM12 22h3v1h-3zM16 22h1v1h-1zM18 22h3v1h-3zM22 22h1v1h-1zM24 22h2v1h-2zM27 22h2v1h-2zM4 23h1v1h-1zM10 23h1v1h-1zM12 23h1v1h-1zM14 23h1v1h-1zM16 23h1v1h-1zM18 23h1v1h-1zM20 23h1v1h-1zM24 23h4v1h-4zM4 24h1v1h-1zM6 24h3v1h-3zM10 24h1v1h-1zM13 24h1v1h-1zM16 24h3v1h-3zM20 24h6v1h-6zM28 24h1v1h-1zM4 25h1v1h-1zM6 25h3v1h-3zM10 25h1v1h-1zM12 25h1v1h-1zM14 25h6v1h-6zM23 25h4v1h-4zM4 26h1v1h-1zM6 26h3v1h-3zM10 26h1v1h-1zM15 26h1v1h-1zM17 26h1v1h-1zM19 26h1v1h-1zM21 26h1v1h-1zM23 26h2v1h-2zM26 26h1v1h-1zM28 26h1v1h-1zM4 27h1v1h-1zM10 27h1v1h-1zM12 27h5v1h-5zM18 27h1v1h-1zM20 27h2v1h-2zM25 27h1v1h-1zM4 28h7v1h-7zM17 28h1v1h-1zM19 28h5v1h-5zM27 28h2v1h-2z\"/></svg>"
  }
}

Try it (live call)

No API key yet? Sign in and create a free key, then paste it below. Create API key
Paste your API key (kept in this page only, never stored) and send a request. Test requests count toward your key's rate limit.

Main error codes

HTTPcodeMeaning
400BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER…Invalid input — the message names the field
401MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEYMissing, invalid or revoked API key
429RATE_LIMITED / IP_RATE_LIMITEDPer-minute rate limit exceeded — wait for Retry-After
429DAILY_QUOTA_EXCEEDEDDaily quota used up — the upgrade field suggests a paid plan
429CLUSTER_QUOTA_EXCEEDEDLinked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account
503SERVER_BUSY / TOOL_BUSY / API_DISABLEDServer under heavy load or API paused — wait for Retry-After

Every response carries X-RateLimit-Remaining / X-RateLimit-Remaining-Day; 429/503 errors include Retry-After (seconds).

How to use

Create QR codes and barcodes for free, no sign-up: pick a content type, fill in the details, and the code appears instantly to download as PNG (print, social) or SVG (design, scales without blur). Codes are made in your browser, carry no ads and never expire — the content is encoded directly, not via a redirect link.

  1. Pick a type: Link, Text, Wi-Fi, Contact card (vCard), Email, SMS, Phone — or Barcode (Code 128 / EAN-13).
  2. Enter the content. The code updates as you type; adjust colors, error correction (L/M/Q/H) and margin if needed.
  3. Click Download PNG or SVG, or Copy image to paste into chat apps, Word or Canva. Test-scan with a phone camera before printing.

Frequently asked questions

No. The content (link, text, Wi-Fi…) is encoded straight into the image, not through a SieuTool short link, so the code keeps working forever, even if SieuTool goes away. To change the content, make a new code.

Choose Wi-Fi, enter the network name (SSID), password and security type (usually WPA/WPA2). Android phones and iPhones scanning with the camera show a Join button. The password only lives in the QR image on your device; it is not sent to the server.

EAN-13 is the retail product barcode (13 digits, the last is a check digit — enter 12 and the tool computes it); selling in stores requires a company prefix from GS1. Code 128 suits internal codes, warehouses and shipping labels: it accepts unaccented letters, digits and symbols.

How much of the code can be dirty or covered and still scan: L ~7%, M ~15%, Q ~25%, H ~30%. Higher levels make denser codes. Use Q or H for packaging or a logo in the middle; M is fine for small on-screen codes.

Not on the web: codes are generated in your browser, the content is not sent to the server and not stored (reloading clears it). The server only counts 1 run. The API receives the content to build an SVG in memory; it is not stored and not logged.
  • Need a bank transfer QR? Use the VietQR transfer QR tool (/tools/vietqr).
  • Do not use QR codes to lead people to scam or impersonation pages. Test-scan and check the content before printing or posting in public.
All Images tools →
Sends only the tool name, the last error code and your browser type — never what you typed.