Tools
QR Code
Generate an SVG QR code for any text payload, powered by the /tools/api/qr endpoint.
Options
0/4096 bytes
2
400
#000000#ffffffPreview
Enter a payload to see the QR code.
API example
curl -X POST https://www.nickhedberg.com/tools/api/qr \
-H 'Content-Type: application/json' \
-d '{"payload":"your payload here","options":{"type":"png","margin":2,"width":400,"errorCorrectionLevel":"M","color":{"dark":"#000000","light":"#ffffff"}}}' \
-o qr.png