How to make a Text message (SMS) QR code
An SMS QR code opens a new text message to your number — the code for “text us to join”, ordering by message, or voting. On some phones it can also fill in the message.
Updated · from 3 official sources · DRISH LABS
What the code contains
A QR code is text. For this kind, the text has to follow this exact pattern:
sms:<+country number>?body=<percent-encoded message>Filled in, it looks like this:
sms:+15105550101?body=JOINWhat happens when someone scans it
The link opens the phone’s messaging app with your number filled in. Apple documents the sms scheme as launching Messages, and its URL reference says the link carries only the number — so whether the message text pre-fills on an iPhone depends on the scanner. Android usually fills in both. Test on the phones you expect before relying on the body.
Make one free
- Open the QR Code Generator and leave it on Text.
- Type the payload yourself, for example sms:+15105550101?body=JOIN — a scanner reads the text, not the form it came from.
- Download the code and scan it with an iPhone and an Android phone to see what each fills in.
Open the free QR code generator — it runs in your browser and uploads nothing.
So it works when it is printed
- Write the number with its country code (RFC 3966’s global form), so it works from abroad.
- RFC 5724 defines the message as ?body=…; ZXing also reports older forms seen in the wild, sms:number:message and SMSTO:number:message. If one form does not pre-fill on your phones, try another.
- Spaces in the message must be %20.
- Scan the finished code with two different phones before you print a batch — it is the only test that counts.
Questions
Can an SMS QR code send the message by itself?
Why is the message empty on my iPhone?
Can one code text several numbers?
Sources
- ZXing — Barcode Contents · read October 12, 2026
- RFC 5724 — The sms URI scheme · read October 12, 2026
- Apple — SMS Links (archived URL Scheme Reference) · read October 12, 2026
Requirements change without notice. Check the official source before you rely on a figure here.
The faster way
QR Craft
A QR code generator for Mac that adds your logo and checks it scans.