Skip to content
StylQR home
QR Code Tutorials

How to Create a QR Code for SMS Messages

Make an SMS QR code that opens a text message to your number with the message already typed. How the sms: format works, what to write and how to test it.

By StylQR Editorial TeamPublished 4 min read

StylQR blog cover: How to Create a QR Code for SMS Messages, illustrated with a text message with a phone, a send arrow and a chat bubble on a charcoal background
Table of contents

An SMS QR code opens the phone's messaging app with a text to your number already started, and optionally the message itself already typed. The person reads it and taps Send. It uses a standard sms: link such as sms:+12015550123?body=JOIN, which the built-in camera apps on iPhone and Android understand.

Here's how the format works, how to build one on StylQR, and what to check so the text arrives the way you expect.

The sms: format

The code stores one line of text in the format set out in RFC 5724, the standard for SMS links:

sms:+12015550123?body=Hi%2C%20I%27d%20like%20a%20quote
  • sms: tells the phone to open the messaging app.
  • +12015550123 is the recipient in international format.
  • ?body= is the pre-filled message, percent-encoded so spaces and punctuation survive.

The standard defines only one field, body, and says the person can edit the message before sending. You'll also see an older SMSTO:number:message format in some generators. Many scanners read both, but sms: is the documented standard, and that's what StylQR creates.

How to make an SMS QR code on StylQR

  1. Open the SMS QR code generator.
  2. In Phone Number, enter the number in international format: a +, the country code, then the number, with no spaces. For example +447700900123.
  3. In Message, type the text you want pre-filled, or leave it empty to open a blank message to your number.
  4. Style the code from the design tabs if you like, and add a frame with a clear instruction such as "Text us for a quote".
  5. Run Test scan, then scan it with your own phone. Check the number and the message text both appear.
  6. Download SVG or a print-ready PDF for print, or PNG for screens and social posts.

StylQR encodes the message for you, so commas, apostrophes and emoji don't break the link.

Writing the pre-filled message

The message is the part people see, so write it as if they typed it:

  • Make it a complete thought. "Hi, I'd like a quote for window cleaning" is better than "QUOTE".
  • Use keywords for campaigns. If you run a text-in list, put the exact keyword your system expects, for example JOIN or WIN, so nobody mistypes it.
  • Leave space for details. End with a prompt such as "My postcode is" so the sender adds what you need.
  • Keep it short. A single SMS carries 160 characters of basic text and fewer with emoji or non-Latin scripts, and long messages also make the code denser. A sentence or two is plenty.

Good uses for an SMS QR code

  • Quote and booking requests from a van, flyer or yard sign.
  • Text-to-join lists for offers or reminders, with the keyword pre-filled.
  • Contests and votes at events, where every entry should arrive in the same format.
  • Queue and table requests: "Text us when you arrive" on a sign outside a clinic or salon.
  • Support for people without data: a text works on a basic plan where a website or app might not load.

If your customers mostly use WhatsApp, a WhatsApp QR code does the same job over the internet with a pre-filled message. If you'd rather talk, use a phone number QR code, and if you need written detail with attachments, an email QR code is the better fit.

Note: If you send marketing texts back to people who scan, check the consent and opt-out rules in your country before you start. A pre-filled message from the customer doesn't by itself count as consent to a marketing list everywhere.

What goes wrong and how to fix it

The number is right but the message is empty. A few messaging apps ignore the body field. The text still opens to your number, so people can type the message themselves. Print the message or keyword under the code as a backup.

The text goes to the wrong number abroad. The code holds a local number. Regenerate it with the + and country code.

It opens iMessage instead of SMS. On iPhone, the Messages app chooses iMessage when both phones are Apple devices. For keyword campaigns on short codes this doesn't matter, because short codes only receive SMS.

It won't scan. A long message makes the pattern denser. Cut the text, keep dark modules on a light background and print it at least around 2 × 2 cm (0.8 inch). For more causes, see why a QR code is not scanning.

Static means fixed

StylQR makes static codes, so the number and message are fixed in the pattern once you print it. That also means the code never expires and has no scan limit. If you think the number might change, use a long-term business line. To learn more, read static vs dynamic QR codes. You can always check what a printed code contains with the StylQR QR code scanner.

What to do next

Write the message the way a customer would, put your full international number in the code, and test it on an iPhone and an Android phone before printing a batch.

Frequently asked questions

Does scanning an SMS QR code send the text automatically?

No. The messaging app opens with the number and text filled in, and the person has to tap Send. The sms standard says a link should not send a message without the user's confirmation.

Does the person pay for the text message?

It's a normal text from their phone, so their usual plan applies. On iPhone, messages between Apple devices may go as iMessage instead of SMS.

Can an SMS QR code send to several numbers?

The sms standard allows several recipients separated by commas, but group-text handling varies between phones. For anything important, use one number per code.

Can I use an SMS QR code for a short code like 12345?

Yes. Short codes used for keyword campaigns work the same way: put the short code in the number field and the keyword in the message.

Share this guide

StylQR blog cover: How to Create a QR Code for a Google Form, illustrated with a form with a checklist, a group of people and a Google icon on a indigo background

QR Code Tutorials

How to Create a QR Code for a Google Form

Turn a Google Form into a QR code people can scan to fill it in: get the right responder link, shorten it, generate the code free and avoid sign-in snags.

· 5 min read

StylQR blog cover: How to Create a QR Code for App Downloads, illustrated with app tiles with App Store and Google Play icons and a download arrow on a orange background

QR Code Tutorials

How to Create a QR Code for App Downloads

Make an app download QR code that sends people to your App Store or Google Play listing, plus the honest options for one code that serves iPhone and Android.

· 4 min read

StylQR blog cover: How to Create a QR Code for Instagram Profile, illustrated with the Instagram icon with a camera, a heart and a profile on a teal background

QR Code Tutorials

How to Create a QR Code for Instagram Profile

Make an Instagram QR code that opens your profile so people can follow you in one scan. Add your logo and colors, print it anywhere, and it never expires.

· 4 min read