Generator Tools
SMS Link Generator
Generate a click-to-text SMS link in your browser. Add a phone number and prefilled message, then copy the sms: URI, HTML snippet, or QR code.
Phone number and message
Phone numbers are stored in international format (E.164). Spaces, dashes, plus signs, and parentheses are stripped automatically. Short codes (3 to 6 digits) are also supported.
Pick a country or clear this field to use a short code.
For E.164 numbers, enter the digits after the country code. For US/UK marketing short codes, clear the country code and type 3 to 6 digits (for example 31415).
Enter a phone number to generate the link.
0 GSM-7 chars
Generated SMS links
Enter a valid phone number or short code to see the click-to-text URI.
Embed snippets
Paste this into your website, email signature, footer, or marketing page so visitors can tap to text you.
Enter a valid phone number to see embeddable HTML and Markdown.
QR code
QR codes use the SMSTO: convention because consumer scanners route that format through the device's SMS app. Print on flyers, packaging, signage, or business cards.
Enter a valid phone number to generate the QR code.
Tips for SMS click-to-text links
- Use international format. Include the country code without a trunk-prefix 0. Example: a UK mobile 07700 900123 becomes +447700900123.
- Use sms: for the website link. The standard sms: URI works in Android browsers, iOS Safari, and every modern desktop browser when SMS forwarding is set up. On desktop without SMS handoff the browser asks which app to open.
- Short codes are different. Marketing short codes such as 31415 have no country dial code and only work inside their home country. Pair the short code with the campaign keyword (the body) so the visitor only taps Send.
- Mind the SMS segment budget. Plain GSM-7 messages are billed in 160-character segments. As soon as you add an emoji, curly quote, or non-Latin character, the carrier switches to UCS-2 and the budget drops to 70 characters per segment. The character counter above shows segment count as you type.
- Use the SMSTO QR code for offline. Print the QR code on a poster, packaging, table tent, or business card. When a customer scans it, their phone's SMS app opens with your number and starter message already filled in.
How to use
- Pick a country to set the dial code, or clear the country code to enter a short code. The default is +1 (United States and Canada).
- Type the phone number after the country code, or a 3 to 6 digit campaign short code. Spaces, dashes, parentheses, plus signs, and the leading trunk 0 are stripped automatically.
- Optional: write a prefilled message body or click one of the presets (Customer support, Appointment booking, Quote request, Marketing opt-in, Event RSVP). Watch the segment counter to stay inside the 160-character GSM-7 budget.
- Copy the sms: URI for the recommended RFC 5724 link, the iOS legacy variant when supporting old iPhones, or the SMSTO: URI when encoding a QR code.
- Customize the link text and copy the HTML anchor or Markdown snippet to drop into a website, email signature, or marketing channel.
- Scan or copy the QR code SVG to use in offline placements like flyers, packaging, posters, or business cards.
About this tool
SMS Link Generator builds a click-to-text URI that opens the visitor's default SMS app with your phone number and an optional prefilled message ready to send. The page runs entirely in your browser, so the phone number and message text you enter never leave your device, and there is no signup, no carrier API key, and no third-party service required. The output covers every flavor a modern campaign needs: the RFC 5724 standard sms: URI with a ?body= parameter that works in Android Chrome, iOS Safari, and every modern desktop browser when SMS handoff is configured; the iOS legacy sms: URI with an &body= separator for older iPhones that still expect that older Apple convention; and the SMSTO: URI that consumer QR code scanners route through the SMS app. Phone numbers are normalized to the ITU-T E.164 international format that the sms: protocol expects: punctuation, spaces, parentheses, dots, plus signs, and the trunk-prefix 0 some countries place in front of mobile numbers are all stripped, the country dial code is prepended automatically, and a length check catches numbers that are too short (under seven digits) or too long (over fifteen digits, the E.164 maximum) before you publish a broken link. The tool also recognizes short codes (the 3 to 6 digit campaign numbers used for marketing opt-ins, donations, and 2FA in the US, UK, and most major markets) and routes them through the URI without a country prefix. A country dial-code picker covers the markets where click-to-text is most common (United States, United Kingdom, Canada, India, Brazil, Mexico, Germany, France, Spain, Italy, Australia, Japan, Saudi Arabia, the United Arab Emirates, Egypt, Turkey, Nigeria, and many more). The prefilled body is URL-encoded with encodeURIComponent so emojis, line breaks, and any language travel through every SMS client safely. A live SMS encoding analyzer reports the message in GSM-7 septets (the default 7-bit alphabet) or UCS-2 code units, calculates the carrier segment count using the 160/153 character budget for GSM-7 or the 70/67 character budget for UCS-2, and warns when an emoji or curly quote tips the message into UCS-2 (which doubles your carrier cost). On top of the URIs the page emits two embed snippets you can paste straight into a marketing channel: an HTML anchor tag with optional target="_blank" and rel="nofollow" attributes, and a Markdown link ready for blog posts, README files, GitHub issues, and Notion pages. It also generates a scannable QR code that encodes the SMSTO: convention (the format virtually every consumer QR scanner routes through the SMS app), ready to copy as SVG and print on a poster, flyer, packaging, signage, or business card. Useful when adding a text-us button to a marketing page, an Instagram or TikTok bio link, a Google Business Profile, an email signature, a customer support footer, a real-estate listing, a restaurant menu QR, or a 2FA opt-in flow.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
WhatsApp Link Generator
Build wa.me click-to-chat links with a prefilled message and copy-ready snippets.
Open tool
GeneratorMailto Link Generator
Compose a mailto link with cc, bcc, subject, body, and copy-ready HTML and Markdown snippets.
Open tool
GeneratorQR Code Generator
QR codes for URLs, text, email, phone, SMS, WiFi, and vCard with PNG and SVG download.
Open tool
GeneratorvCard Generator
Create a downloadable .vcf contact card from a simple form.
Open tool
TextSMS Character Counter
SMS counter with GSM-7 vs UCS-2 detection, segment math, and per-segment cost preview.
Open tool