User Exporter

Export your WordPress users to CSV files for backups, migrations, or external analysis. Choose which roles to export and which fields to include, then download a clean CSV file ready for spreadsheets or import into other systems.

Use Cases

  • Create backups of your user database before major changes
  • Migrate users to a new WordPress installation or platform
  • Export email lists for newsletter or marketing campaigns
  • Analyze user demographics and registration patterns
  • Generate reports for stakeholders or compliance audits
  • Sync users with CRM or external membership systems

How It Works

  1. Open the User Exporter module settings
  2. Select which user role to export (or all users)
  3. Choose which fields to include in the export
  4. Click “Export to CSV”
  5. A CSV file downloads automatically to your computer

Where to Find It

Go to Switchboard → User Management and find the User Exporter module. Click the settings icon to access the export interface.

Export Options

User Role Filter

Choose which users to export:

OptionDescription
All RolesExport every user on your site
AdministratorOnly users with admin role
EditorOnly users with editor role
AuthorOnly users with author role
ContributorOnly users with contributor role
SubscriberOnly users with subscriber role
(Custom roles)Any other roles appear here too

Each option shows the user count in parentheses, e.g., “Subscriber (150)” so you know how many records will be exported.

Include Fields

Toggle which fields to include in your export:

FieldDefaultDescription
Email Address✓ OnUser’s email address
Registration Date✓ OnWhen the account was created
Display Name✓ OnUser’s display name
First & Last NameOffSeparate first name and last name columns
Website URLOffUser’s website from profile

Username and Role are always included as the first two columns.

CSV Output Format

The exported CSV file includes:

ID,Username,Role,Email,Display Name,Registered
1,admin,administrator,admin@example.com,Site Admin,2023-01-15 10:30:00
2,johndoe,subscriber,john@example.com,John Doe,2024-02-20 14:45:00
3,janesmith,editor,jane@example.com,Jane Smith,2024-03-10 09:15:00

File Naming

Files are automatically named with the export date and time:

users-export-2024-03-15-143052.csv

This format (YYYY-MM-DD-HHMMSS) ensures each export has a unique filename and you can easily identify when it was created.

Using the Export

Opening in Excel

  1. Download the CSV file
  2. Open Excel
  3. Go to File → Open
  4. Select the CSV file
  5. Excel will parse the columns automatically

Opening in Google Sheets

  1. Download the CSV file
  2. Open Google Sheets
  3. Go to File → Import
  4. Upload the CSV file
  5. Choose “Replace current sheet” or “Insert new sheet”

Importing to Another WordPress Site

For user migration, you’ll need a CSV import plugin since WordPress doesn’t have built-in user import. Popular options include:

  • WP All Import
  • Import Users from CSV

Settings

This module doesn’t have persistent settings. Each time you export, you choose the role and fields fresh. This gives you flexibility to create different exports for different purposes.

Security Notes

  • Only Administrators can access the export feature
  • Exports are generated on-demand and not stored on the server
  • The CSV file downloads directly to your browser
  • Exported data includes email addresses - handle according to your privacy policy

FAQ

Does this export passwords?No. Passwords are never included in exports for security reasons. WordPress stores passwords as hashed values that wouldn’t be useful anyway.
Can I export custom user meta fields?The built-in export includes standard WordPress user fields. Custom meta fields from other plugins aren’t included. For comprehensive user meta export, consider using a database export tool.
Is there a limit on how many users I can export?No hard limit, but very large exports (tens of thousands of users) may take longer to generate. The export processes all matching users in a single request.
Can I schedule automatic exports?Not with this module. Exports are manual, on-demand operations. For automated backups, consider a full WordPress backup solution.
Why are some users showing multiple roles?If you use the Multiple User Roles module, users can have more than one role. The export shows all roles separated by commas (e.g., “editor, shop_manager”).
Can I export to other formats like JSON or XML?Currently only CSV format is supported. CSV is widely compatible with spreadsheets, databases, and import tools. For JSON export, you’d need a custom solution.

Before major site changes (like switching themes or updating WordPress), export your users as a backup. It’s quick insurance that takes seconds.

The export uses your site’s timezone for registration dates. If importing to another system, verify that timestamps are interpreted correctly.

PRO

Get access to all 147 modules with a single license

Upgrade to Pro