xBlockOrigin allows you to export your entire muted users database to a CSV (Comma-Separated Values) file. This is useful for backup, data analysis, or keeping records of automatically muted accounts.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chefnaphtha/xBlockOrigin/llms.txt
Use this file to discover all available pages before exploring further.
What’s included in the export
The CSV export includes all muted users with the following fields:- username: The user’s @handle on X.com
- userId: X.com’s internal user ID (numeric)
- country: The user’s originating country (as detected by X.com)
- mutedAt: Timestamp when the user was muted (ISO 8601 format)
The export includes all users that were automatically muted by xBlockOrigin, not just currently blacklisted countries. This means you can see historical muting data even if you’ve changed your blacklist.
How to export your data
Open the extension popup
Click the xBlockOrigin icon in your browser toolbar to open the popup interface.
Scroll to the export button
Find the “Export to CSV” button, typically located at the bottom of the muted users section.The button shows the number of users that will be exported:
"Export to CSV (X users)"Click the export button
Click “Export to CSV (X users)”.A CSV file will be automatically downloaded to your browser’s default downloads folder.
The export button is disabled if you have no muted users. It will show “Export to CSV (0 users)” and have a gray background.
CSV file format
The exported CSV file has the following structure:Field descriptions
| Field | Type | Description | Example |
|---|---|---|---|
username | String | User’s @handle without the @ symbol | elonmusk |
userId | String | X.com’s internal numeric user ID | 44196397 |
country | String | User’s originating country name | United States |
mutedAt | String | ISO 8601 timestamp with milliseconds | 2026-03-01T14:32:10.123Z |
Using the exported data
Open in spreadsheet software
Excel / Google Sheets:- Open the application
- Import or open the CSV file
- The data will be parsed into columns automatically
- You can sort, filter, and analyze the data
- Sort by
countryto see which countries have the most muted users - Sort by
mutedAtto see when users were muted chronologically - Filter by date range to analyze muting patterns over time
- Create pivot tables to summarize data by country
Import into other tools
The CSV format is widely supported and can be imported into:- Database systems (MySQL, PostgreSQL, SQLite)
- Data analysis tools (Python pandas, R, Jupyter notebooks)
- Visualization tools (Tableau, Power BI)
- Custom scripts for automation or data processing
Backup and restore
To backup your data:- Export to CSV regularly (weekly or monthly)
- Store the CSV files in a safe location (cloud storage, external drive)
- Keep multiple versions with different dates for version history
Technical implementation
The export functionality is implemented in:- UI Component:
packages/extension/src/Popup/ExportButton.tsx - Export Logic:
packages/extension/src/Utils/csvExporter.ts
How it works
Data retrieval
The extension retrieves all muted users from
chrome.storage.local where they’re stored as an array of MutedUser objects.CSV generation
The
csvExporter.ts utility converts the data to CSV format:- Creates a header row with field names
- Converts each user object to a CSV row
- Handles special characters and escaping
Source code reference
FromExportButton.tsx:10:
Filename convention
Exported files use the naming pattern:muted-users-YYYY-MM-DD.csv
- YYYY: 4-digit year
- MM: 2-digit month (01-12)
- DD: 2-digit day (01-31)
muted-users-2026-03-03.csvmuted-users-2026-12-25.csvmuted-users-2027-01-01.csv
Export frequency recommendations
Weekly exports (recommended for active users)
Weekly exports (recommended for active users)
If you frequently browse X.com and mute many users, export weekly to capture recent data. This helps track patterns and ensures you have recent backups.
Monthly exports (recommended for casual users)
Monthly exports (recommended for casual users)
If you browse X.com occasionally, monthly exports are sufficient. Export on the first day of each month for consistency.
Before major changes
Before major changes
Always export before:
- Uninstalling the extension
- Clearing browser data
- Making major changes to your blacklist
- Switching browsers or devices
Data privacy
All exported data:- Is generated entirely from your local browser storage
- Contains only information already visible in the extension popup
- Is never sent to external servers
- Remains on your device unless you manually share the file