Business 6 min read

SMS QR Codes: How to Pre-Fill a Message That Actually Sends

By Arvind Sharma Published 2026-11-29 Updated 2026-11-29
Arvind Sharma — Founder, QRPress QR Code GeneratorArvind built QRPress to give small businesses free, print-ready QR codes without scan caps, ads, or expiry. He writes guides focused on practical deployment — payments, printing, and shop-level security.

An SMS QR code contains an sms: URI with a phone number and an optional pre-filled message. Scanning it opens the messages app with the text ready to send. It is a useful shortcut for customer service and enquiries, and the details of the URI vary between platforms. This guide covers the format, the encoding and the test that catches a message that never arrives.

The sms: URI Format

A common form is sms:+15551234567?body=Hello%20there. The number should be in international form with a leading plus. The body is URL-encoded: spaces become %20 or +, and an ampersand becomes %26.

Some platforms expect a semicolon before the body parameter instead of a question mark, and support for the body parameter varies. Test on the devices your audience uses rather than assuming one syntax works everywhere.

Keep the message short. A long pre-filled body is hard to edit on a phone and may be split into several SMS messages.

What the Scanner Sees

On iOS and Android, the native camera opens the Messages app with the number and body filled in. The user still has to press send, which prevents accidental messages.

Some third-party scanners show the raw URI instead. Test with the native camera on both platforms.

An SMS code is different from a tel: code. The tel: URI opens the dialler; the sms: URI opens a message composer. Label the code accordingly.

Choose the Use Case

ScenarioMessageWhy
Product supportI need help with order 12345Gives the agent context
Event RSVPYes, I will attendFast response
Sales enquiryPlease send the price listStarts a conversation
FeedbackMy feedback on today's serviceOpens a channel

Pre-fill only the first line. Let the customer add their own details rather than demanding fields they will not type on a phone.

Print and Privacy

An sms: URI with a short message produces a small grid. Keep a clear four-module quiet zone and print at 20 to 30 mm for a counter or poster placement.

Do not put personal data in the pre-filled body. The QR code can be photographed, and the decoded text is visible to anyone who scans it.

If the code is for a business number, check who receives the messages and whether they are monitored. A code on permanent signage needs a number that will still exist next year.

Test the Send

  1. Scan the proof with an iPhone and an Android phone.
  2. Confirm the number and body appear in the message composer.
  3. Send the message and confirm it arrives at the right inbox.
  4. Check the body encoding, especially spaces and punctuation.
  5. Confirm the number is still monitored.

The scan-to-text support guide covers when SMS beats a web form.

Frequently Asked Questions

What is an SMS QR code?

A QR code containing an sms: URI. Scanning it opens the messages app with the number and an optional message already filled in.

Can a QR code send an SMS automatically?

No. It opens the composer with the text ready. The user presses send.

How do I encode spaces in the message?

Use %20 or + for spaces and %26 for an ampersand. Test the decoded text on a phone, because parameter support varies.

Does an sms: QR code work on iPhone and Android?

Both native cameras recognise sms: URIs, but the body parameter is handled differently. Test on both before printing.

Is a pre-filled SMS private?

No. The decoded payload is visible to anyone who scans the code, so do not include personal data in the message.

Create Your QR Code Instantly

Create an SMS QR code with a pre-filled message. Use our secure, no-registration static systems or spin up a dynamic tracker campaign in seconds.

Create SMS QR Code