QR code types and data formats


A QR code stores text. What a phone does when it scans that text depends on how it’s written. https://… opens a website, WIFI:… offers to join a network, and BEGIN:VCARD offers to save a contact. Choosing the right type means writing the text in the format phones recognise. This page is a reference for every type we support, showing exactly what goes inside each code.

Which type do I need?

You want people to… Type What’s inside
Open a web page, menu, form or review page Website URL https://example.com/menu
Join your Wi-Fi without typing a password Wi-Fi WIFI:T:WPA;S:Network;P:password;;
Save your contact details Contact card (vCard) BEGIN:VCARD … END:VCARD
Read a message, even offline Plain text The text itself
Message you on WhatsApp WhatsApp https://wa.me/447700900123?text=…
Send you an email Email (on the QR code generator) mailto:[email protected]?subject=…
Send you a text message SMS (on the QR code generator) SMSTO:+447700900123:message
Call you Phone (on the QR code generator) tel:+442079460000

How each format works

Website links are the most universal: every scanner app opens them. Always include https://, and use a short, stable address you control. Codes can’t be edited after printing, so if the destination might change, point the code at a page you can update.

Wi-Fi uses a de facto format documented by the open-source ZXing project. T is the security type (WPA, WEP or nopass), S the network name, P the password, and H:true marks a hidden network. Backslashes, semicolons, commas, colons and double quotes inside the name or password must be escaped with a backslash. Unescaped symbols are the most common reason home-made Wi-Fi codes fail.

Contact cards use the vCard standard. Commas and semicolons inside values must be escaped, otherwise “Smith, Jones & Co” is read as two separate fields. We use vCard 3.0, which phones and email programs import widely.

Email, SMS and phone codes use the standard mailto: and tel: link formats, plus the widely supported SMSTO: format. Subject lines and messages are pre-filled, and the person scanning can still edit them before sending.

Size and density

QR codes range from version 1 (21×21 modules) to version 40 (177×177 modules). More text, more error correction or a logo all push a code to a higher version, which means smaller modules at the same printed size. Keep payloads short: a short link beats a long one, and a vCard with four fields beats one with twelve.

Static codes

Every code made here is static: the content is stored in the pattern itself, so there is no service in between that could expire, track scans or be switched off. The trade-off is that you can’t edit a static code after printing.

Generators

Sources

  1. ZXing project, Barcode Contents. Accessed 2026-11-29.
  2. IETF, RFC 2426: vCard MIME Directory Profile. Accessed 2026-11-29.
  3. DENSO WAVE, Information capacity and versions of QR Code. Accessed 2026-11-29.

Reviewed on by Richard Pryn.