WhatsApp bot

What is WhatsApp?

WhatsApp is a popular messaging application owned and operated by Meta (formerly Facebook). Launched in 2009 by Brian Acton and Jan Koum, WhatsApp has evolved beyond simple text messaging to include voice calls, video calls, file sharing, and business communication tools. The platform is primarily a mobile application but also offers web and desktop versions at WhatsApp Web.

WhatsApp is not a web crawler or bot in its primary function. However, the WhatsApp Business Platform does include capabilities that can interact with websites when users share links or when WhatsApp Business accounts use automated messaging. When WhatsApp's systems interact with websites to generate link previews, they typically identify with a user-agent string containing WhatsApp or WhatsApp/[version number].

The platform uses end-to-end encryption for messages and calls, making it a secure communication channel with over two billion active users globally across more than 180 countries.

Why is WhatsApp crawling my site?

If you notice WhatsApp accessing your website, it's most likely happening for one of these reasons:

WhatsApp generates link previews when users share your website URLs in conversations. This process involves WhatsApp's servers temporarily accessing your site to fetch metadata, images, and preview text to display alongside the shared link.

For businesses using the WhatsApp Business Platform, automated systems may access your site when creating chatbot responses or delivering automated messages that reference your content. This is especially common if you've integrated WhatsApp chatbots that pull information from your website to answer customer queries.

The frequency of these visits depends entirely on how often your content is shared on WhatsApp or referenced by WhatsApp Business accounts. These activities are generally legitimate and authorized as part of normal web functionality.

What is the purpose of WhatsApp?

WhatsApp's primary purpose is to facilitate secure, reliable communication between individuals and businesses. When it interacts with websites, it's typically to enhance the user experience by providing rich previews of shared content or to support business automation features.

For link previews, WhatsApp accesses websites to create informative snippets that help recipients decide whether to click through to the full content. This benefits both users (who get context before clicking) and website owners (whose content appears more engaging when shared).

For businesses, WhatsApp Business Platform enables automated customer service, marketing, and sales interactions. When these automated systems access websites, they're typically gathering information to provide to customers or updating information based on website content.

Website owners benefit from these interactions as they enable more engaging sharing of their content within the WhatsApp ecosystem and support business communication tools that can drive traffic and conversions.

How do I block WhatsApp?

While most WhatsApp interactions with websites are beneficial, you may want to control how WhatsApp accesses your site. The standard method is using your robots.txt file, though WhatsApp's compliance with this standard isn't explicitly documented.

You can add the following to your robots.txt file to attempt to block WhatsApp's link preview generation:

User-agent: WhatsApp
Disallow: /

For more specific control, you can block only certain directories:

User-agent: WhatsApp
Disallow: /private-content/

If robots.txt proves ineffective, consider server-side blocking based on the WhatsApp user-agent string. This requires configuring your web server to identify and block requests from WhatsApp's user-agent.

For content you don't want appearing in WhatsApp link previews, you can also use meta tags in your HTML. Adding <meta property="og:image" content="no-image" /> can prevent images from appearing in previews, while other Open Graph meta tags can control what text appears.

Keep in mind that blocking WhatsApp access may negatively impact how your content appears when shared on the platform, potentially reducing engagement and click-through rates from the billions of WhatsApp users worldwide.

Something incorrect or have feedback?
Share feedback
WhatsApp bot logo

Operated by

Data fetcher

Documentation

Go to docs

AI model training

Not used to train AI or LLMs

Acts on behalf of user

Yes, behavior is triggered by a real user action

Obeys directives

Yes, obeys robots.txt rules

User Agent

WhatsApp/[version number]