What is SMS Link Generator?
Creates clickable sms: links that open the default messaging app with a phone number and message already filled in. Useful for contact pages, support links, and CTA buttons.
The generator produces a URI in the format sms:+phone?body=encoded-text. The message body is URL-encoded for you, so emoji, line breaks, and special characters survive the round-trip. iOS treats sms: links exactly like tel: links — tapping prompts the user to confirm before opening Messages. Android behaves the same with the default SMS app.
How to use
- Enter the recipient phone number with country code (e.g., +1 555-123-4567).
- Type the pre-filled message body that will appear when the link is opened.
- Copy the generated sms: link or download an HTML snippet to embed on your website.
When to use
- Adding a one-tap support contact to a mobile-first landing page.
- Linking a printed receipt's order number to a prefilled customer-service text.
- Letting podcast listeners text a hashtag-style vote that auto-fills in their messaging app.
Result
Say you want a support link in your website footer. Enter +1-800-555-0199 with the message "Hi, I need help with order #" and you get an sms: link that opens the messaging app pre-filled.
FAQ
- Do sms: links work on desktop browsers?
- Mostly no. On macOS the link will open Messages if it's signed in to iCloud. On Windows or Linux, most browsers either show an error or do nothing because there's no default SMS handler. The links are designed for mobile.
- Why do I need to include the country code?
- Without a country code, a phone in another region won't know how to route the message. Always start the number with + and the country code (e.g. +1 for US/Canada, +44 for UK, +966 for Saudi Arabia). The generator strips spaces, dashes, and parentheses automatically.
- What's the difference between sms: and smsto: links?
- sms: is the modern RFC 5724 syntax and works on iOS and recent Android. smsto: is an older Android-only variant. Modern Android also supports sms:, so the generator outputs only sms: for the widest compatibility.
- Can I prefill a message to multiple recipients?
- The RFC allows it (sms:+15551234567,+15557654321) but support is patchy. iOS opens a group thread to both, Android often picks only the first. For a guaranteed broadcast, use separate links or a backend service.
- Is there a length limit on the prefilled message?
- There's no hard cap in the spec, but most operating systems start truncating around 1,000–2,000 characters after URL-encoding. Keep prefilled messages under 160 characters when possible — that's also one SMS segment, so the user doesn't get charged for multipart messages.
Related Tools
Event Ticket Maker
Design event admission tickets
Email Signature Generator
Design HTML email signatures
International Dialing Code
Look up country dialing codes instantly
Party Invitation
Create digital party invitations
Phone Number Formatter
Format phone numbers to international standards
Telegram Link Generator
Create direct Telegram chat links from usernames or phone numbers