SMS QR Code Generator

Free SMS QR Code Generator

Create a QR code that opens a text message pre-addressed to your number — with optional pre-filled message text. Ideal for SMS opt-in campaigns, support lines, and any context where you want users to text you easily.

Live Preview
SMS QR Code Generator example QR code

Example SMS QR Code

API URL

https://api.online-qr.com/v1/make-qr?data=sms:+15551234567?body=Hi%2C%20I%20want%2...

What is a SMS QR Code?

An SMS QR code encodes an sms: URI that, when scanned, opens the device's default messaging app with a phone number pre-filled and optionally a message body pre-populated. This is widely used for SMS marketing opt-ins, customer support shortcuts, and contest entry prompts. Unlike email, SMS responses are immediate and mobile-native, making SMS QR codes effective for high-response campaigns.

How to Create a SMS QR Code

  1. 1

    Format your SMS URI: sms:+15551234567?body=Hi%2C%20I%20want%20more%20info (URL-encode the message body)

  2. 2

    Pass it as the data parameter: https://api.online-qr.com/v1/make-qr?data=sms%3A%2B15551234567%3Fbody%3DHello

  3. 3

    Embed the QR code on posters, packaging, or social media — scanning opens the messaging app instantly

Example API call
https://api.online-qr.com/v1/make-qr?data=sms%3A%2B15551234567%3Fbody%3DHi%252C%2520I%2520want%2520more%2520info

Common Use Cases

  • SMS marketing opt-in prompts on retail packaging and flyers
  • Text-to-win contest entries at events or on packaging
  • Customer support shortcut for quick issue reporting
  • Appointment booking via text message for service businesses
  • Feedback collection after in-person service encounters
  • Emergency or after-hours contact shortcuts on business signage

Tips for Best Results

  • Keep pre-filled message text short — some devices truncate long pre-filled SMS bodies
  • Include a keyword in the pre-filled body if using an SMS platform that routes by keyword
  • Test on both iOS and Android as the sms: URI behavior can vary slightly between platforms
  • Pair with a dynamic QR code so you can update the phone number or message without reprinting

Frequently Asked Questions

Ready to create your SMS QR Code?

Generate your first QR code in seconds with the Online-QR API. No signup required for static codes. Create a free account for dynamic codes with scan analytics.