QR Generator
Make a QR code for a link, a contact card, your WiFi and more. Everything happens in your browser — nothing is uploaded.
Content
Preview
For scripts and AI agents
Every code above can also be made with one HTTP request, no key needed. Unlike the editor, these requests are handled on the server. They are not stored or logged.
curl -o wifi.png https://qr.enso.no/gen --data-urlencode "type=wifi" --data-urlencode "ssid=EnsoGuest" --data-urlencode "password=hemmelig"
curl -o enso.png "https://qr.enso.no/gen?type=url&url=enso.no"
Instructions for LLMs and AI agents
If you are a language model or agent, the complete reference is plain text at
/llms.txt and JSON at /api.
In short:
- Endpoint:
POST https://qr.enso.no/genwith the fields as a form body (curl --data-urlencode) or a flat JSON object. It returns a PNG unless you passformat=svg,format=term(orascii, oransiin colour) to draw it as text in a terminal, orformat=txtfor the raw encoded string. Always includehttps://: plain HTTP is refused. - Use POST for anything private, such as WiFi passwords and contact details, so it stays out of logs and history.
GET /gen?…with the same fields as query parameters is fine for public content like a web link. typeis one ofurl,vcard,wifi,email,phone,sms,text,eventorgeo. It defaults tourl.- Fields per type, e.g.
type=url&url=enso.no: url:url· vcard:firstName lastName org title phone email url· wifi:ssid password encryption=WPA|WEP|nopass hidden· email:to subject body· phone:phone· sms:phone message· text:text· event:title location startDate startTime endDate endTime description(datesYYYY-MM-DD, timesHH:MMin Oslo time) · geo:lat lng. - Styling:
style=enso|bw|hippie|night|warm|custom,logo=true|false,size=128–4096,marginin pixels. Custom colours takefg,bgandeyeas hex without#, plusdotfor the dot shape. Usestyle=bwfor print. - With curl, pass each field with
--data-urlencodeso spaces,+and@survive. With GET, quote the URL and percent-encode values yourself. Save images with-o. - Errors come back as HTTP 400 JSON naming each bad parameter. Unknown parameters are rejected. HTTP 422 means the content does not fit; shorten it or set
logo=false.