Skip to main content
Autype can embed QR codes in your documents using the :::qrcode directive. QR codes are rendered as images in the exported document.

URL QR Code

You can also use the url: prefix:
Both formats are equivalent. If the content doesn’t start with url:, the entire first line is used as the URL.

WiFi QR Code

Generate a QR code that lets users connect to a WiFi network by scanning:

WiFi fields

Example: Guest WiFi


vCard QR Code

Generate a contact card QR code:

vCard fields

The name field is a shortcut that splits on the first space into firstName and lastName. Use firstName and lastName separately for more control.

Minimal vCard


Text QR Code

Encode arbitrary text without treating it as a URL:

Attribute reference

Error correction levels

If no size is specified, the QR code renders at a default size. For print documents, use size=200 or larger for reliable scanning.