SMS QR code generator

Scanning opens the messaging app with your number in the To field and, if you want, the message already written. The person only has to press send.

Why a pre-written message is the whole trick

An SMS code is mostly useful when the text is already written, because that is what turns a vague invitation into a single action. A code on a table card that opens a message saying Table 12, ready to order asks for one tap. A code that opens an empty message asks the customer to work out what you want from them.

The same pattern works for keyword opt-ins, repair requests on a broken machine, stock enquiries on a shelf edge, and reporting a problem in a building. In each case you are using the message body to carry the context the recipient would otherwise have to ask for.

The format, and why it is this one

SMSTO:+12125550123:Table 12, ready to order

SMSTO is the de-facto convention for QR codes, documented in the ZXing barcode contents guide and implemented by essentially every scanner. The number comes first, then a colon, then the message.

The obvious alternative, an sms: URI with a query string, has a long history of splitting across platforms — iOS wanted &body= where Android wanted ?body=, so no single code satisfied both. SMSTO has no such split, which is why we use it.

Practical limits

  • Keep the message short. Every character goes into the pattern, so a long message makes a dense code. Under about 60 characters keeps it comfortably printable at small sizes.
  • The recipient can edit it. The pre-written text is a suggestion, not a lock. Never design a process that depends on the wording arriving unchanged.
  • Standard message rates apply, and people know it. If the text is for a service they are paying for, say so next to the code.
  • Country code, always. Write the number as +1 and the rest. We strip the spaces and brackets for you.

If you are collecting replies at scale

An SMS code pointed at a personal mobile stops being pleasant at about a dozen messages a day. Past that you want a number built for it — a business messaging service or a dedicated line — and you want consent handled properly before you ever message anyone back for marketing reasons. A QR code someone scanned to ask a question is not consent to send them offers.

Static, and therefore permanent

The number and the message are both in the pattern, so this code needs no account, no connection and no subscription. It also cannot be edited after printing. If the wording or the number is likely to change, point a dynamic code at a page you control instead.

Does it send the message automatically?

No, and no phone will. The messaging app opens with everything filled in and the person presses send themselves.

Can I leave the message blank?

Yes. You then get a code that just opens a new message to your number, which is useful when you cannot predict what people will be writing about.

Will it work with WhatsApp instead?

Not this format — it opens the phone's SMS app. A WhatsApp code is a link to wa.me, which we support as a dynamic code type.

All free tools Need editable codes? Start free