🔲 qr.espos.nl — QR Code Generator API

Generate QR codes on-the-fly via a simple URL. Powered by chillerlan/php-qrcode.

URL Structure

https://qr.espos.nl/{content-type}[.{format}]?{params}

Default output format is SVG. Append .png, .webp, .gif, .jpg, or .eps for other formats.

Content Types

TypeRequired paramsOptional paramsExample
textdata/text?data=Hello+World
urlurl/url?url=https://espos.nl
emailtosubject, body/email?to=info@espos.nl&subject=Hi
telnumber/tel?number=%2B31612345678
smsnumberbody/sms?number=%2B31612345678&body=Hello
geolat, lngalt/geo?lat=52.0705&lng=4.3007
wifissidpass, enc (WPA/WEP/nopass), hidden/wifi?ssid=MyNet&pass=secret&enc=WPA
vcardnameorg, phone, email, url, address, note/vcard?name=Jan+Jansen
mecardnamephone, email, url/mecard?name=Jan+Jansen
otpauthsecretissuer, account, type (totp/hotp), digits, period/otpauth?secret=…
sepaname, ibanbic, amount, ref, msg, purpose/sepa?name=…&iban=…
eventsummary, startend, location, desc/event?summary=…
bookmarkurltitle/bookmark?url=…

Common Style Parameters

ParamValuesDefaultDescription
eccL, M, Q, HMError correction level
scale1–4010Pixel size per module (raster only)
margin0–104Quiet zone size in modules
darkhex (no #)000000Dark module colour
lighthex (no #)ffffffLight module colour
invert0, 10Invert dark/light colours
circles0, 10Circular modules (SVG/PNG)

Output Formats

.svg (default, scalable) .png .webp .gif .jpg .eps

Examples

# Simple URL QR as SVG
https://qr.espos.nl/url?url=https://espos.nl

# URL as PNG, high ECC, custom colour
https://qr.espos.nl/url.png?url=https://espos.nl&ecc=H&dark=1a1a2e&scale=12

# WiFi credentials
https://qr.espos.nl/wifi?ssid=HomeNetwork&pass=MySecretPass&enc=WPA

# SEPA payment
https://qr.espos.nl/sepa?name=Jan+Jansen&iban=NL91ABNA0417164300&amount=19.99&msg=Invoice+001

# vCard contact
https://qr.espos.nl/vcard?name=Jan+Jansen&phone=%2B31612345678&email=jan@espos.nl

# Inverted SVG with circular modules
https://qr.espos.nl/url?url=https://espos.nl&invert=1&circles=1