QR Code Generator
Generate QR codes on demand from a URL. Supports PNG, SVG, JPEG, WebP output, custom colors, error correction level, and quiet-zone margin. Bulk mode turns a list of lines into a ZIP of individually named QR codes — handy for business cards, event badges, and printable sheets.
AI instructions — paste into Claude / Cursor / ChatGPT
URL template — replace the highlighted tokens
https://anhtu.dev/tool/qr?data=YOUR_DATA&size=SIZE&fg=FG&bg=BG&ecc=ECC&margin=MARGIN&format=FORMAT
YOUR_DATA— required, URL-encoded, up to 2000 charsSIZE— optional pixel size, 64–2048 (default 512)FG— optional foreground color, hex or nameBG— optional background color, hex or nameECC—L,M,Q(default),HMARGIN— optional quiet-zone modules, 0–16 (default 2)FORMAT—png,svg,webp,jpg
HTML <img>
Markdown