Common QR code content examples
This page describes the types of content you can encode within your QR codes.
File URL
Open a local file or directory when scanned. Note that this must be scanned on a device with access to the local file system. You may prefer to uplaod your files and use the URL
scheme outlined below instead.
Parameters
File URL: The file URL to open in a web browser when the QR code is scanned
Format
file:///{File URL}
Example
file:///file/path/to/doc1.doc
SMS
Pre-populate an SMS message to the specified number.
Parameters
Phone number: Phone number to send the message to
Subject: Message body to send in the SMS
Format
sms:{phoneNumber}?body={subject}
Example
sms:0491570006?body=Meet%20at%20the%20local%20cafe%20at%2010am%3F
URL
Open a URL when the QR code is scanned.
Parameters
URL: The URL to open in a web browser when the QR code is scanned
Format
https://{url} or http://{url}
Example
https://littleappy.co or http://littleappy.co
WhatsApp
Open WhatsApp with a pre-populated message.
Parameters
Phone number: Phone number to send the message to. Must only contain numbers, no dashes or symbols
Message: URL-encoded message to pre-populate
Format
https://wa.me/{phoneNumber}?text={message}
Example
https://wa.me/0491570006?text=Meet%20at%20the%20local%20cafe%20at%2010am%3F
Wi-Fi
Connect to a Wi-Fi network by scanning a QR code.
Parameters
SSID: Name of the Wi-Fi network
Password: Password to connect to the network
Authentication mode: Wi-Fi network authentication mode. Must be one of
WEP
,WPA
,WPA2
ornopass
isHiddenSSID: Set to
H:true
if the SSID is hidden, or don't add if the SSID isn't hidden
Format
WIFI:T:{authenticationMode};S:{ssid};P:{password};{isHiddenSSID};
Example
WIFI:T:WPA2;S:YourNetworkID;P:Password123;H:true;
Last updated