SMS QR code
The scan opens the messaging app with a number and a short text ready to send. The person still presses send, so the message stays theirs.
Create an SMS codeSMSTO link, text under 160 characters
Editorial teamLast reviewed: 29 October 2026Editorial standards
Short answer
The payload reads SMSTO:+441234567890:Text. Keep the text under 160 characters, use the number in full international format, and set expectations about who pays: an SMS is charged to the sender on most plans.
Text messaging is the oldest channel on this list and still the one that reaches a phone with no app installed, no account and no data connection.
That narrows its use. A code that opens an SMS belongs where the reader may have neither an app nor a signal, and where the message is short enough to be worth typing.
What is in the code
A URI of the form SMSTO:number:text, or on some platforms an sms: link with a body parameter. Both forms are read by iOS and Android, though individual devices display them slightly differently and a few apps only prefill the number.
The prepared text has a hard practical limit: one SMS carries 160 characters in the Latin alphabet, and anything longer becomes several messages, each charged separately. A message that says what you need in one line is the only kind that belongs in a code.
- Number first, in international format, then a colon, then the text
- Keep the text well under 160 characters
- No quotation marks around the text, they arrive as characters
- One recipient per code, a group message is a different thing entirely
Who pays, and why that matters
On nearly every plan the sender pays, and a reader knows that. It makes a printed code asking someone to send an SMS a request, not a convenience, so the label has to justify it: an entry in a prize draw, a confirmation of an appointment, a report from a location with no data.
Where the reader would pay a premium rate, say so plainly next to the code. A small line of text prevents the kind of complaint that a printed sign cannot answer.
Where SMS still wins
Rural sites, basements, plant rooms, construction hoardings, festival fields: places where a data connection is not a given. Also on very old phones, which is not a hypothetical audience for a landlord or a utility.
For everything else, a chat app or a form is usually better. The reply arrives in a thread, attachments are possible, and nobody wonders what the message cost.
Making it readable
SMS payloads are short, so the pattern stays coarse and scans well even at small sizes. 2.5 cm is enough on a card, 5 cm on a sign read from a step away.
Put the purpose in the label under the code, not into the prefilled text. The reader will edit the text, but the label is what convinces them to scan in the first place.
Questions about SMS codes
Does the message send itself?
No. The app opens with the text in the field and the reader sends it. A code cannot send an SMS on someone else behalf.
Why does my code open a blank message?
Either the text was not encoded correctly or the phone app ignored the body parameter. Test on both an iPhone and an Android device before printing.
How long can the prepared text be?
One SMS is 160 characters in the Latin alphabet, fewer if you use accented characters or emoji. Beyond that it splits and costs more.
Is SMS still worth using?
For readers who may have no data connection or no app, yes. For everyone else a chat link or a form gives a better conversation.