SMS Link Generator
Create sms: links.
About this tool
Enter a phone number and a message, then press Generate. You get an sms: link that opens the messaging app with the text ready to send.
How to use
How it works
The link is sms:DIGITS?body=MESSAGE, with the message percent-encoded. Every non-digit is stripped from the number, including the leading +, so the country code is kept only if you type it as digits. Phones differ in how they read the body parameter, so test on both iPhone and Android.
Worked example
A US number
- Input
- +1 (555) 123-4567, "Running late"
- Output
- sms:15551234567?body=Running%20late
- Walkthrough
- Plus, brackets, spaces and the dash are removed and the message is URL-encoded.
Limitations
- The + prefix is dropped.
- Behaviour of the body parameter differs between phones.
- A number with no digits gives an error instead of a link.
Questions
How do I create a link that opens a text message?
Why was my + removed?
Does it work on both iPhone and Android?
Features
- sms: link with body
- Percent-encoded message
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Responsive images and art direction
Chrome for Developers
Crop and aspect choices for feed versus story layouts.
Watch on YouTubeHow Image Compression Works
Leo Isikdogan
Keep social assets light without looking soft.
Watch on YouTube
- Sharing — Webmasters
Meta for Developers
Open Graph tags that social preview helpers surface.
- About Twitter Cards
X Developer Platform
Link preview card types related to meta preview tools.