Common QR Code Examples
This page describes the types of content you can encode within QR codes.
File URL
Section titled “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.
Parameters
Section titled “Parameters”- File URL: The file URL to open in a web browser when the QR code is scanned
Format
Section titled “Format”file:///{File URL}Example
Section titled “Example”file:///file/path/to/doc1.docPre-populate an SMS message to the specified number.
Parameters
Section titled “Parameters”- Phone number: Phone number to send the message to
- Subject: Message body to send in the SMS
Format
Section titled “Format”sms:{phoneNumber}?body={subject}Example
Section titled “Example”sms:0491570006?body=Meet%20at%20the%20local%20cafe%20at%2010am%3FOpen a URL when the QR code is scanned.
Parameters
Section titled “Parameters”- URL: The URL to open in a web browser when the QR code is scanned
Format
Section titled “Format”https://{url} or http://{url}Example
Section titled “Example”https://littleappy.co or http://littleappy.coOpen WhatsApp with a pre-populated message.
Parameters
Section titled “Parameters”- Phone number: Phone number to send the message to (must only contain numbers)
- Message: URL-encoded message to pre-populate
Format
Section titled “Format”https://wa.me/{phoneNumber}?text={message}Example
Section titled “Example”https://wa.me/0491570006?text=Meet%20at%20the%20local%20cafe%20at%2010am%3FConnect to a Wi-Fi network by scanning a QR code.
Parameters
Section titled “Parameters”- SSID: Name of the Wi-Fi network
- Password: Password to connect to the network
- Authentication mode: Must be one of
WEP,WPA,WPA2ornopass - isHiddenSSID: Set to
H:trueif network is hidden
Format
Section titled “Format”WIFI:T:{authMode};S:{ssid};P:{password};H:{isHiddenSSID};Example
Section titled “Example”WIFI:T:WPA;S:MyNetwork;P:MyPassword123;H:false;