Skip to content

Local SEO

How to Pre-Fill a WhatsApp Message in a Link and Encode It Correctly

Free and no obligation. A real reply from me, not a bot.

Prefer Saad Raza SEO on Google Add this site as a preferred source to see more of my SEO and AI search guides in Google Top Stories.

Add saadrazaseo.com as a preferred source on Google

To pre-fill a WhatsApp message, add a text parameter to the link and URL-encode the message, so spaces become %20 and line breaks become %0A. The visitor still has to press send, but they do not need to type. A short, specific pre-filled message also tells you which page or offer the chat came from.

The format

https://wa.me/15551234567?text=Hello%20I%20would%20like%20to%20book%20a%20table

What needs encoding

  • Spaces become %20.
  • Line breaks become %0A.
  • Characters such as &, ? and # must be encoded too, or the message may break.

Rather have an expert do this for you?

Hand it over and get back to running your business.

Hand it over to me

Use the generator to avoid mistakes

Type your message into my free WhatsApp link generator and it encodes everything for you.

Write a useful message

Keep it short and specific, such as a question about a service. A message that names the page, for example a booking enquiry from the pricing page, helps you handle the chat quickly.

Track where chats come from

Tracking tags added to a WhatsApp link do not reach your analytics, because the link leaves your site. Instead, use a slightly different message for each page or campaign, and track button clicks as events in your analytics. For ordinary links, my UTM link builder works well.

Keep the format right

Make sure the number itself is correct. See the wa.me link format.

Frequently asked questions

Can I include emojis?

Yes, but they must be encoded, and the generator handles that.

Is there a length limit?

Keep messages short, since very long links can be cut off or fail.

Next steps

Need help setting up chat links across your site? Contact me here. For the wider picture of turning local searches into enquiries, see my local SEO services.

More in this series (WhatsApp link questions): start with Free WhatsApp Link Generator, then explore:

Rather have an expert do this for you?

Tell me about your website and goals, and I will reply with a free first review.

Your details are only used to reply to your request. No spam.

Grow my trafficCall