To scrape WhatsApp group members into a CSV file, open the group in WhatsApp Web, run the linked browser script before opening its members list, scroll through the list to load members, then download the CSV. The script reads members shown in your own browser session. It does not reveal hidden members or guarantee that every group member has been loaded.
The exported file can include a phone number, displayed name, status description, and source group when those values appear in the interface. Use it for a group you manage or are authorized to export, and check the downloaded rows before using the data elsewhere.
In this tutorial, you will learn:
- How to set up the WhatsApp Group members scraping script
- How to scrape group members
- How to use a Chrome Extension to access the script quickly
Set up the WhatsApp Group members scraper
The open-source script reads member details from the WhatsApp Web group-members modal as you scroll. WhatsApp can change its interface, so confirm the counter rises and inspect the CSV before relying on the result.
First, open WhatsApp Web Client on Chrome. Visit web.whatsapp.com and log in using your WhatsApp credentials.
Open Chrome Developer Console using Ctrl + Shift + J (Windows) or Cmd + Option + J (Mac). Or go to the main menu and click "More Tools -> Developer Tools".
Then click on the "Console" tab.
Review the linked source before running code in your browser, then paste the script into the console. Do this before opening the group members modal.
Notes
The source code for the WhatsApp Group Members scraper is available on GitHub. The script detect HTML changes when scrolling the members list.
After pasting the script, press "Enter" to execute the script. A widget appears in the bottom-right corner.
Important - If this is the first time you open the Chrome Developer Console, you might see a Warning message and be prevented to copy/paste the text into the console. To enable copy/pasting, just write "allow pasting", and press "Enter".
Note: To store the script in a Chrome Extension and access it quickly, please read Put the scrapping script in a Chrome Extension.
Scrape WhatsApp Group members
To start scraping group members, click on "Group info" and then "View all" in the members listing to open the group members modal.
Scroll through the list to load new users. The script counts members it detects in the loaded interface.
Then, scroll slowly to the bottom, then slowly back to the top. Members information are loaded as you scroll and if you scroll too fast, the UI won't have the time to display it.
If the counter in the widget text increases as you navigate, it's working!
Important: Scroll through the list and check whether the counter increases. A stopped counter can mean you reached the end or that the interface did not load more members. Compare the CSV with the group list before assuming the export is complete.
Scrapped Fields
The script extracts the following details from the group members:
- Phone Number - The member's phone number.
- Name - The name displayed on WhatsApp (if available).
- Description - The member's description or status message (if available).
- Source - The name of the WhatsApp group.
Download the members in a CSV file
When you have loaded the members you need, click Download X users to save the CSV. Open it and check the row count, blank fields, and duplicates before sharing or importing it.
Edit and view your CSV file
To load and view the CSV file, use Datablist.com or any spreadsheet tools.
With Datablist, you can segment your leads into different collections. And enrich your contacts using LinkedIn Profile Scraper or Apollo.
You can also match similar leads across several groups using Datablist Duplicate Finder.
Store the scrapping script in a Chrome Extension
Copy-pasting the script each time on the Chrome Console is time-consuming. Good news! You can use a Chrome Extension to quickly inject the script on the page. It can be added automatically on WhatsApp pages, or injected on a click.
Clicking on it from the Chrome Extension directly adds it to your WhatsApp pages.
The Chrome Extension is called "Inject Code" and is available on the Chrome Extensions store: https://chromewebstore.google.com/detail/inject-code/jpbbdgndcngomphbmplabjginoihkdph
Once the Chrome Extension is installed, click to configure a new script.
Click on the "+" button to create a "Snipper (script)".
Then on the configuration page, use the following settings:
- Name:
WhatsApp Scraper - URL Filter:
https://web.whatsapp.com/* - Type:
js - AutoRun: Select
onto automatically inject the script on WhatsApp pages. Oroffto add it after clicking from the extension menu. - CodeSource:
Custom Code
Click "Save".
Pin the extension to have it from your navigation bar. And this is it!
FAQ
What is a WhatsApp Group Scraper?
A WhatsApp group scraper is a tool that extracts information about members from a WhatsApp group. This tool runs in your browser, requiring no additional extensions or proxies. You can easily gather member details and export them to a CSV file for further use.
How to remove the "Download" button?
Just reload your WhatsApp page. Any javascript code added in Chrome Developer Console will be removed.
How many users can be extracted?
The script stores the extracted users in a database. There is no limit on the number of users you can extract.
Can I extract users from different groups
Yes. The exported CSV contains a "Source" attribute. You can extract users from different sources and use the "Source" attribute to segment your data later on.
What is the "Reset" button?
The users are stored in a cache in your browser. The cache is kept if your browser restarts the page (intentionally or after a crash). When you copy/paste the script, it loads the previous profiles from the cache. The "Reset" button clears the cache.
Is it free?
The script is free and open-source. You can also clean and parse the data with a free account on Datablist.
Use Cases for WhatsApp Group Scraper
Networking and Business Development
For professionals looking to expand their network, scraping member details from industry-specific WhatsApp groups can be invaluable. Imagine you're part of a group dedicated to digital marketing; scraping members' contact details can help you create a focused list of potential clients or collaborators.
Event Organization
Organizers of events can use this tool to gather attendee information from WhatsApp groups. This data can then be used for follow-up emails, feedback surveys, or promotional activities for future events.
Community Management
If you manage a large community, a WhatsApp group scraper can help you keep track of member information, segment users for targeted communication, and enhance community engagement.
Market Research
Researchers can gather demographic data from WhatsApp groups to analyze trends, behaviors, and preferences. For instance, joining a WhatsApp group related to fitness and health can provide insights into the type of content and products the members are interested in.
Real-Life Examples
Example 1: Freelancer Building a Client Base
Jane, a freelance graphic designer, is part of several WhatsApp groups for freelancers and small business owners. By using the WhatsApp group scraper, she gathers contact information and reaches out to potential clients with personalized messages showcasing her portfolio and services.
Example 2: NGO Organizing a Charity Event
An NGO organizing a charity run uses the scraper to collect information from a WhatsApp group created for participants. This information helps them send out event details, reminders, and post-event thank-you messages efficiently.
Example 3: Academic Researcher Collecting Data
Dr. Smith, an academic researcher, joins multiple WhatsApp groups related to his field of study. He uses the scraper to collect data on group members, helping him understand the community better and tailor his research accordingly.














