How to Export and Erase Personal Data in WordPress
A few years ago, I got my first data deletion request from a user. Iโll admit, I panicked a little. I knew I needed to respect their privacy rights, but I had no idea how to actually remove their data from my WordPress site without breaking anything.
That experience led me to discover something helpful: WordPress has built-in tools made for exactly this situation. Once you know where to find them, they make handling data requests surprisingly easy.
In this guide, Iโll walk you through how to use the Export and Erase Personal Data tools in WordPress.
Whether youโre preparing for GDPR, building trust with your users, or just want to be ready for future requests, this tutorial will help you do it with confidence.
This guide focuses on using WordPressโ built-in tools to remove personal data.
However, these tools may not delete information collected by third-party plugins, especially if the plugin isnโt fully GDPR compliant.
In those cases, check the pluginโs settings or contact the developer directly to ensure all personal data is removed.
What is Personal Data?
Personal data is any information that can identify a person, directly or indirectly.
On a WordPress site, this includes obvious details like names, usernames, and email addresses.
These are often collected when someone creates an account on your website, submits a contact form, subscribes to your email newsletter using a plugin like WPForms, or leaves a comment on a blog post.

It also includes technical data like IP addresses, which can reveal a visitorโs general location. Analytics tools, comment systems, and security plugins often collect this by default.
Personal data can also include behavioural information, such as page views, session activity, or form responses that show user preferences. Even metadataโlike the time someone submitted a comment or logged inโcounts as personal data under most privacy laws.
All of this information can help build a profile of your users, which is why itโs important to manage it carefully.
Why Data Privacy Matters in WordPress
Privacy laws like the General Data Protection Regulation (GDPR) in Europe and the California Consumer Privacy Act (CCPA) in the U.S. give users the right to access and delete their personal data. If you run a WordPress site, you should follow these laws and show visitors you respect their rights.
Hereโs why that matters:
- Youโre legally required to comply. Under laws like the GDPR, you must give users access to their data or delete it upon request. Failing to do so can lead to serious legal trouble, including expensive fines.
- It helps you build trust with your visitors. When people feel confident that youโre handling their data responsibly, theyโre more likely to subscribe, make a purchase, or share their information with you.
If your site feels unsafe or unclear about privacy, then visitors may hesitate to engage or leave altogether.
Ready to learn how to export and erase user data in WordPress? Simply use the quick links below to jump to the section you want to read first:
How to Accept Data Export and Deletion Requests
If someone wants to access or delete their personal data, youโll need a simple way for them to request it.
The easiest method is to add a form to your WordPress site that collects their name, email address, and any extra details you need to identify them.
I recommend using WPForms for this. Itโs beginner-friendly and includes ready-made templates like โRight to Erasure Request Formโ and โData Request Formโ, so you donโt need to start from scratch.

WPForms includes drag-and-drop templates that make it easy to build your form without starting from scratch. You can customise the fields and publish the form in just a few clicks.
Here at WPBeginner, weโre not just recommending WPForms โ we built all our own forms with it! Thatโs right: from our contact pages to our online surveys, WPForms powers it all.
Weโve put it to the test daily, which is why Iโm so confident itโs the real deal. Want to learn more? Then dive into our detailed WPForms review.
WPForms Lite is 100% free to use.ย However, weโll be usingย WPForms Proย in this guide because it comes with the โRight to Erasure Request Formโ and โData Requestโ templates.
First, install and activate WPForms Pro. If you need help, please see our guide on how to install a WordPress plugin.
Once the plugin has been activated, head over toย WPForms ยป Settingsย in your WordPress dashboard.

From here, the first thing you have to do is enter your license key into the โLicense Keyโ field. You can find this information in yourย WPForms account.
That done, head over toย WPForms ยป Add New.

Here, type a name for your form into the โName Your Formโ field.
Your site visitors wonโt see the name, so itโs just for your reference.

Youโll need to select the template you want to use.
In the search field, start typing either โRight to Erasure Request Formโ or โData Requestโ, depending on the form you want to create.

When you find the template you want to use, simply click its โUse Templateโ button.
This will launch WPFormsโ drag-and-drop form builder.

Here, youโll see a live preview on the right and form fields in the left-hand menu.
To customise any of the templateโs built-in fields, click to select it. The left-hand menu will then show all the settings you can use to customise it.

Want to add more fields to your form?
Just find the field you want on the left side of your screen and drag and drop it right into your formโs live preview.

For more detailed instructions, see our tutorial onย how to create a contact form in WordPress.
Once youโre happy with your form, simply click the โSaveโ button at the top to close the form builder.

Next, open the page or post where you want toย add the formย that you just created.
From here, click the add block โ+โ button.

In the popup, start typing โWPForms.โ
When the right block appears, simply click to add it to the page or post.

Then open the blockโs dropdown menu and select the form you just created.
You can w publish or update this page as normal to make the form live on your site.

Simply repeat this process to create separate forms for data access requests and data erasure requests.
How to Monitor Data Access and Erasure Requests
Once your forms are live, youโll need a way to track incoming data request submissions from your users.
Fortunately, WPForms makes this easy by storing every form entry in your WordPress dashboard.
To find these requests, just go to WPForms ยป Entries.

Simply click on the form you want to review.
Youโll w see a list of submissions, including any data access or erasure requests users have sent.

To stay compliant with privacy laws like the General Data Protection Regulation (GDPR), review and respond to these requests promptly.
w, Iโll show you how to export and erase personal data in WordPress.
How to Export Personal Data in WordPress
When someone requests a copy of their personal data, WordPress has a built-in tool that lets you export that information and send them a download link.
This step is required under privacy laws like the Personal Data Protection Law (PDPL). Itโs also a good way to build trust by showing users exactly what data youโve collected.
WordPress sends the data export link via email, so itโs vital these messages arrive safely in their inbox and not the spam folder. Thatโs why I recommend setting up an SMTP plugin like WP Mail SMTP.
We use this plugin on WPBeginner, and itโs had a big impact on our email deliverability rates. Want to learn more? Just read our in-depth WP Mail SMTP review.
To begin, you need to go to Tools ยป Export Personal Data in your WordPress dashboard.
From here, youโll enter the userโs email address or username and choose how to handle the request.

At this point, you have two options: create the request directly in your WordPress dashboard, or email the user to confirm they want to export their data.
Letโs explore both options.
Option 1: Request Confirmation via Email
If you want to make sure the request is genuine, WordPress lets you send a confirmation email first. This is a good option when youโre unsure about the userโs identity.
To do this, check the box next to โSend personal data export confirmation email.โ Then click on โSend request.โ

The user will receive an email with a confirmation link.
They simply need to click on it.

Then, theyโll see the following message:
โThe site administrator has been notified. You will receive a link to download your export via email when they fulfil your request.โ

WordPress will notify you via email.
This email includes some basic information about the user who made the request.

You can click the link in this email to go straight to the Tools ยป Export Personal Data screen.
Here, youโll see the userโs request is w marked as โConfirmed.โ

To go ahead and process this request, click on โSend export link.โ
After that, the user will receive an email with a link to download their data as a ZIP file.

WordPress will mark the request as โCompletedโ in your dashboard. The request will also appear in a separate โCompletedโ tab, along with all your other completed data export requests.
In this way, WordPress creates a complete record of all your completed requests. This means you can prove your compliance if youโre ever audited or someone questions your privacy practices.

With that in mind, I recommend keeping a complete log.
However, if you want to remove a completed request at any point, just click its โRemove Requestโ link.

Option 2: Export the Data Immediately
Alternatively, you can create a data request directly in your WordPress dashboard without sending a confirmation email first.
This is helpful if you need to process the data request immediately or if youโre confident that the person making the request is genuine.
For example, they might use an email address thatโs already linked to their account or contact you through a support channel where youโve verified their identity.
In these cases, make sure to uncheck the box next to โSend personal data export confirmation email.โ

Then click โSend request.โ
This creates the request in your WordPress dashboard, with the status โConfirmed.โ

To send this person an email with a link to download their data, just click โSend export link.โ
You can see an example of how this email looks in the previous section.

As I mentioned before, WordPress will w mark this request as โCompletedโ in your dashboard. Again, this proves you acted on the visitorโs request, which will be invaluable if you ever need to prove compliance.
How to Erase Personal Data in WordPress
If someone asks you to delete their personal data, WordPress has a built-in tool to help you do that safely.
This step is required under privacy laws like the Virginia Consumer Data Protection Act (VCDPA), and itโs a key part of staying compliant with GDPR, PDPL, and other international regulations.
The process is similar to exporting data: you create a request, optionally confirm it by email, and then erase the data from your WordPress dashboard.
To begin, go to Tools ยป Erase Personal Data in your WordPress admin area.

In the โUsername or email addressโ field, just type in the email address or username of the person who has asked you to delete their personal data.
At this point, you can either send the user a confirmation email or create the request in your WordPress dashboard.
Option 1: Send a Confirmation Email
First, ask the user to confirm they truly want to delete all their personal data.
Erasing a userโs data is a big step, so I suggest sending this email even if the request seems genuine because it gives the user a chance to change their mind.
To request confirmation, check the box next to โSend personal data erasure confirmation email.โ

You can then click the โSend requestโ button.
The user will w get an email about the data deletion request with a link to confirm that they want to delete their data.

If they click this link, theyโll see a screen with this message:
โThe site administrator has been notified. You will receive an email confirmation when they erase your data.โ
You will w get an email confirming that the user wants to erase their data.
To fulfil this request, either click the URL in the email or head back to the Tools ยป Erase Personal Data screen in your WordPress dashboard.

On this screen, youโll see the userโs name with a โConfirmedโ status.
To go ahead and delete this personโs data, click on โErase personal data.โ

Once thatโs done, WordPress will email the user to confirm youโve removed their data.
This email also includes a link to your privacy policy, so the person can get more information if they want.

In your WordPress dashboard, this request will w be marked as โCompleted.โ
As I mentioned, keeping a record of these requests will help if youโre ever audited.

Option 2: Delete the Data Immediately
Alternatively, you can create an erasure request directly in the WordPress dashboard without first sending a confirmation email.
This is useful if you need to act on a request straight away. It can also be handy when youโre confident that the request is genuine and the user definitely wants to delete all their personal data.
For example, you might get the request through a secure, verified login area on your membership site, which confirms the userโs identity.
In that case, make sure you uncheck the box next to โSend personal data erasure confirmation email.โ You can then go ahead and click on โSend Request.โ

WordPress will w create this request in your dashboard and mark it as โConfirmed.โ
To go ahead and process this request, click on โErase personal data.โ

w, WordPress will send the person an email confirming that youโve deleted their data.
As with data exports, WordPress will mark this request as โCompleted.โ
Ensure Your Site is Fully GDPR Compliant
Exporting and erasing personal data is an important step, but itโs t the only thing you need to do to make your WordPress compliant with different privacy laws.
To fully meet privacy standards like the General Data Protection Regulation (GDPR), youโll also want to:
- Use GDPR-friendly plugins. Make sure the plugins you install handle personal data responsibly. You can start with our list of the best GDPR plugins for WordPress.
- Install a privacy compliance plugin. With a plugin like WPConsent, you can display cookie consent popups, record and manage user consent, and automatically block tracking scripts before users give their consent.
- Display a detailed privacy policy and cookie policy on your website. For details, see our guide on how to add a privacy policy in WordPress.
To see all our tips, you can read our complete guide to GDPR compliance in WordPress.
Bonus Tip: Create a Do Not Sell or Share My Personal Info Page
If your website gets visitors from California or other places with strict privacy laws, then you may have extra legal responsibilities. One of those is giving users a way to opt out of having their personal information sold or shared.
The easiest way to do this is by creating a โDo Not Sell or Share My Personal Infoโ page. This gives users a clear place to make opt-out requests and helps your site stay compliant with laws like the California Consumer Privacy Act (CCPA).

Your opt-out page should include a brief explanation of your data practices and a simple form for visitors to submit their request. And fortunately, itโs easy to create this page with WPConsent.
WPConsent also lets you log these requests for your records and include consent options in your cookie popup, making it a great all-in-one solution.
To see step-by-step instructions, check out our full guide: How to Create a Do t Sell My Info Page in WordPress.
FAQs About Personal Data Management in WordPress
Managing personal data isnโt just about legal complianceโit also helps build trust with your audience.
To make things easier, Iโve answered some of the most common questions WordPress users have about handling personal information.
How Often Should I Review Data Requests in WordPress?
You should review data requests at least once every week or two.
This helps you catch requests early and respond on time, especially if you donโt have email notifications turned on.
If youโre using a plugin like WPForms or WPConsent, then make sure submission alerts are working so you donโt miss anything.
Regular reviews help you stay compliant with privacy laws and avoid delays when responding to users. It also shows your visitors that you take their privacy seriously.
Is Exporting WordPress Data Secure?
Yes, WordPress makes data exports secure by default. It even includes confirmation links to help verify each request.
To make your site even more secure, install an SSL certificate, use trusted security plugins, and keep everything up to date.
For more on this topic, please see our guide on how to improve your WordPress security.
How Do I Inform My Website Users About Their Data Rights?
You must tell users about their data rights to stay transparent and comply with privacy laws.
I recommend adding clear resources like a privacy policy, a cookie consent popup, and a Do t Sell My Info Page.
These pages help users understand their rights and how to act on them while visiting your website.
How Can I Ensure My WordPress Website Complies with Privacy Laws?
Staying compliant with privacy laws goes beyond handling data export and deletion requests.
Depending on which laws apply to your site, you may also need to create a cookie policy, write a full privacy policy, and let users opt out of sharing their personal data.
Each law is different, so be sure to research the specific regulations that affect your WordPress site or blog.
I hope this guide has helped you learn how to export and erase personal data in WordPress. Next, you may want to see our expert picks for the best GDPR plugins to improve compliance, or our guide to keeping personally identifiable info out of Google Analytics.
Sponsored by Digitalberg
Share this content:
Discover more from Qureshi
Subscribe to get the latest posts sent to your email.


