# How to export Salesforce data, with all its history.

Companies are typically paid $50K to $2M for their work records, and CRM history can be part of that. Here is how your admin exports all of it, including older calls, files and field history.

Canonical page: https://workdatalab.com/guides/export-salesforce-data

## Short answer

An admin opens Setup, then Data Export, ticks Include all data and both file options, and starts the export. Salesforce emails a zip of CSV files, and every part must be downloaded within 48 hours. For calls and meetings over a year old, add Data Loader's Export All.

## Key facts

- $50K to $2M: typical payout per company, depending on the data, with no fees
- $10M: paid to partner companies so far
- 48 hours: to download the export zips before Salesforce deletes them
- 18 months: of field history kept in the app (24 months if a developer pulls it)

## How do I export all of my Salesforce data?

There are four routes. Most companies need two: the Data Export Service for everything, then Data Loader's Export All for older history.

| Route | Who runs it | What you get | Limit |
|---|---|---|---|
| Data Export Service | An admin, in the browser | Every object as a CSV (a plain spreadsheet file) in a zip. Files too, if ticked. | Weekly or every 29 days, by edition. Zips are deleted 48 hours after the email. |
| Data Loader | An admin, with a free app on Mac or Windows | One object at a time. Export All adds archived and deleted records. | Listed for Enterprise, Performance, Unlimited and Developer. |
| Report export | Any user allowed to export | The rows in one saved report. | Good for a quick count. It is not an archive. |
| Field Audit Trail | An admin or developer | Field history for up to 200 fields per object, kept until you delete it. | A paid add-on. Reached through the API. |

Source: Salesforce Trailhead and Salesforce Developers, checked 19 Nov 2026.

## How do I run the Salesforce Data Export Service?

Your admin sets it up on one screen. Two settings decide whether you get everything: the file boxes and Include all data.

1. Sign in as an admin. The export only holds records the user can see.
2. Open Setup, then Data Export. Type Data Export in the Setup search box.
3. Pick Export Now. Or pick Schedule Export for a repeating copy.
4. Pick UTF-8 in the encoding list. It is the standard text setting. Names with accents then show correctly.
5. Tick the file options. Tick images, documents and attachments. Tick the separate box for Salesforce Files too.
6. Leave the line break box unticked. It is called Replace carriage returns. Left off, notes keep their line breaks.
7. Tick Include all data. Salesforce suggests it if you are unsure which objects to pick.
8. Start and wait. Salesforce emails you when the zips are ready. It can take hours or days.
9. Download every part at once. Large exports come as several zips. Get all of them within 48 hours.

> Salesforce deletes the zips 48 hours after the email. Start the export when your admin will be at their desk for the next two days.

- Salesforce Files is the newer file system. Attachments is the older one. They are separate options, so tick both.
- If nobody ticks them, the zip holds the records but no files.
- Big exports arrive as several zips. Count the parts in the email and on disk.
- Salesforce says it cannot promise when an export will finish. Start well before any deadline.

## Is Salesforce CRM history worth money to AI labs?

Often, yes. You do not need to export anything to see an estimate.

Work Data Lab is a New York company that buys company work records, removes personal details and licenses them to AI labs. Sellers are typically paid $50K to $2M, with no fees, when a lab pays.

- No fees and nothing upfront, so if no lab licenses it, you pay nothing.
- You are paid when a lab pays, usually 30 days to 6 weeks after the sale.
- Most licenses are not exclusive, so you can be paid more than once.
- We check that a lab wants the data before we ask for a full export.

Salesforce's own AI researchers built CRMArena-Pro, a test for AI sales assistants, from made-up sales data. Read what CRM history is worth to AI (https://workdatalab.com/guides/sell-crm-data-to-ai).

Estimate your payout: https://workdatalab.com/estimate

Several data programs say in public that they pay for company records. Each line below is what the company says on its own site.

| Buyer | What it says it wants | Source |
|---|---|---|
| Mercor | Connects to Salesforce accounts, contacts, opportunities and reports. Pays by data volume, tools and depth. | Mercor data page |
| micro1 | Substantial historical operational data, including CRM records. Companies of 30+ full-time staff. | micro1 data partnerships page |
| Handshake AI | Licenses business records. Says payouts run $100K to $4M+, and that data is scoped, de-identified and confidential. | Handshake AI license page |

Each program sets its own terms. Ask any buyer when you are paid and whether the deal is exclusive.

MIT Technology Review reported in October 2026 that brokers value an archive by head count, years, volume and how the team used its tools.

| People | Starting range |
|---|---|
| 50 to 100 | $50K to $107K |
| 100 to 200 | $50K to $157K |
| 200 to 500 | $79K to $249K |
| 500 to 1,000 | $113K to $356K |
| 1,000+ | $181K to $570K |

Records by industry:

- Software company records (https://workdatalab.com/sell/software-companies)
- Agency records (https://workdatalab.com/sell/agencies)
- Consulting records (https://workdatalab.com/sell/consulting)
- Insurance records (https://workdatalab.com/sell/insurance)
- Lender records (https://workdatalab.com/sell/lenders)

For the wider picture, read what company data is worth (https://workdatalab.com/guides/what-is-company-data-worth) and who buys company data (https://workdatalab.com/guides/who-buys-company-data).

## How often can I export data from Salesforce?

Enterprise, Performance and Unlimited can export weekly. Professional and Developer get one export every 29 days, so a missed download can mean a 29-day wait.

| Edition | Data Export Service | Data Loader |
|---|---|---|
| Enterprise, Performance, Unlimited | Weekly | Yes |
| Professional | Every 29 days | Not listed by Salesforce. Ask on the call. |
| Developer | Every 29 days | Yes |

Source: Salesforce Trailhead and the Data Loader Guide, checked 19 Nov 2026.

Your admin can see your edition in Setup, under Company Information.

## What can a Salesforce export leave out?

History is the easy part to lose. Check that your export has older calls and meetings, field changes, emails kept outside Salesforce, and files.

| What | Why it can be missing | How to get it |
|---|---|---|
| Calls, meetings and closed tasks over a year old | Salesforce archives them after 365 days. Some exports skip them, so check they are there. | Data Loader Export All on Task and Event. |
| Field changes, like a deal's stage | Only 20 tracked fields per object. Kept 18 months in the app, 24 through the API. Only tracked once it was turned on. | Data Loader or the API for 18 to 24 months. Field Audit Trail keeps them longer. |
| Edits to long notes | Salesforce logs that a long text field changed, not the old and new text. | Nothing to recover. Save the notes as they are. |
| Reps' emails through Einstein Activity Capture | They are not stored as Salesforce records. | Export them from Gmail or Outlook. |
| Logged emails (Enhanced Email) | Stored as two objects, EmailMessage and Task. | Include both objects. |
| Files and attachments | They come out only if the boxes are ticked. | Tick both file options. |

Source: Salesforce Help, Salesforce Developers and the Salesforce Admins blog, checked 19 Nov 2026.

Most of this deal sits in field history and archived activities. For the emails, read how to export Google Workspace data (https://workdatalab.com/guides/export-google-workspace-data) or export Microsoft 365 data (https://workdatalab.com/guides/export-microsoft-365-data).

Field history is the log of old and new values when a field changes. Einstein Activity Capture is a Salesforce feature that shows reps' emails in Salesforce without saving them as records.

- Field Audit Trail is a paid Salesforce add-on. It tracks up to 200 fields per object and keeps them until you delete them.
- Its data is reached only through the API.
- Without it, Salesforce keeps field history for 18 months in the app and 24 months through the API.
- Archived activities are calls, meetings and tasks over a year old that Salesforce moves aside.
- Events count once their date is 365 days old. Closed tasks count the same way.
- Some exports skip them. Data Loader's Export All gets them.

Your other tools have their own exports: Slack (https://workdatalab.com/guides/export-slack-data), Zendesk (https://workdatalab.com/guides/export-zendesk-data) and QuickBooks (https://workdatalab.com/guides/export-quickbooks-data).

## When do I need Data Loader's Export All?

Use it for calls and meetings over a year old, deleted records, or field history up to 24 months back. Export All also gets archived and deleted records.

1. Install Data Loader. Data Loader is a free Salesforce app. Your admin installs it on their own Mac or Windows computer.
2. Sign in. Your admin signs in with their own Salesforce login.
3. Click Export All. Plain Export skips archived and deleted records.
4. Pick one object. Select all fields and save it as a CSV.
5. Repeat for each object. Work down the table below.
6. Keep the ID columns. ID columns are the codes that join a call to its deal.

| Object | What it holds |
|---|---|
| Task and Event | Calls, meetings and to-dos. |
| EmailMessage | Logged emails. |
| OpportunityFieldHistory, OpportunityHistory | Deal changes, like stage and amount. |
| AccountHistory, CaseHistory | Changes to accounts and cases. |
| Custom objects | Anything your team built. Their names end in __c. |

> Data Loader asks for a username and password. That is your admin signing in to your own tool. Our team guides your people, and we never see the login.

## How do I keep calls, emails and deals linked?

Keep every ID column. They join a call to its deal and its account, and a linked history is worth more than loose files.

Example record (Salesforce, Task 00T5e: Call): Who (WhoId): [name removed]; What (WhatId): [name removed] freight renewal; Date: 2019-04-17; Notes: Claim 4471 raised. Credit on the late fee if signed this month.; Linked: Opportunity 0065e, Quote Q-0213

- Keep record IDs and the IDs that point to other records: AccountId, OpportunityId, WhoId, WhatId and ParentId.
- Keep Created Date and Last Modified Date.
- Export closed, lost and deleted records too.
- Note your edition and export options in a text file.
- Count the records in each object.

Other tools tie in: Cases with support tickets (https://workdatalab.com/guides/sell-support-tickets-to-ai), Gong calls with call recordings (https://workdatalab.com/guides/sell-call-recordings-to-ai), and mail with email archives (https://workdatalab.com/guides/sell-email-archives-to-ai).

## How do I export HubSpot deals, notes and calls?

Export each record type as a CSV, with its links to contacts and companies (HubSpot calls these associations). Then export calls, notes and meetings on their own. A record export only holds today's values.

| Question | Salesforce | HubSpot |
|---|---|---|
| Full export | Data Export Service zip. | Record export, one type at a time, as CSV. |
| History of changes | 20 tracked fields, 18 to 24 months. | Deal, company and ticket fields keep the last 20 changes. Contacts keep 45. |
| Calls and notes | Tasks and Events. Export All for old ones. | Separate: activity reports, one-record export, or a developer. |
| Download window | 48 hours. | Links expire after 30 days. |
| After you cancel | Set by your contract (Salesforce's SPARC terms). | HubSpot says you lose access to CRM data when the contract ends, for most hubs. |

Source: HubSpot Knowledge Base and Product Specific Terms, Salesforce Help, checked 19 Nov 2026.

- Choose CSV. It has no column limit.
- Pick All associated records, so deals keep their contacts and companies.
- You need export permission in HubSpot.
- Older stage history can come through the API. That is a job for a developer.
- HubSpot lists your past exports in an export log for 3 years. Download links still expire after 30 days.

HubSpot's terms strongly advise you to get your data before the term ends. For Smart CRM (HubSpot's core CRM) and free tools, HubSpot says it gives no access to your data after that.

- For Marketing Hub Professional and Enterprise (Marketing Contacts), you can ask in writing within 30 days after the term ends for temporary access or a copy. HubSpot may charge a re-activation fee.
- Its terms give no access after the term for Smart CRM, free tools and most other hubs (HubSpot Product Specific Terms (https://legal.hubspot.com/product-specific-terms)).
- A developer can pull deal stage history with the propertiesWithHistory option.

Check this with your own lawyer.

## What must I do before cancelling Salesforce or HubSpot?

Export and check everything while you still have an admin seat. After the contract ends, Salesforce returns data under your contract terms. HubSpot gives most hubs no access at all.

| Step | Who | Done when |
|---|---|---|
| Keep one admin seat until the exports are checked. | Owner | Exports checked. |
| Run the Data Export Service with Include all data and both file options. | Admin | Every zip saved within 48 hours. |
| Run Data Loader Export All for Task, Event, EmailMessage and history objects. | Admin | One CSV per object. |
| Export reps' mailboxes if you used Einstein Activity Capture. | Mail admin | Mailboxes saved. |
| HubSpot: export each record type with its linked records, then activities. | Admin | Files saved within 30 days. |
| Check record counts against Salesforce. | Sales ops | Counts match. |
| Only then cancel. | Owner | Notice sent. |

> Ask Salesforce in writing at once. Earlier exports, a copy in your new CRM and reps' mailboxes may still hold the history. Tell us what you have on the call.

Check your contract and Salesforce's SPARC document for the exact window (Salesforce privacy overview (https://www.salesforce.com/company/legal/privacy/privacy-overview)). Check this with your own lawyer.

If you are closing down, read about selling records from a closed company (https://workdatalab.com/sell/closed-companies), startups winding down (https://workdatalab.com/sell/startups-winding-down) and selling your business (https://workdatalab.com/sell/selling-your-business).

## What should we check before licensing our CRM records?

Salesforce says its customers own their Customer Data. That does not settle whether you may license it, because your contracts and privacy law still apply.

Leadership mailboxes and passwords always stay out. The rest of the out list is what we suggest, and you decide.

Can be licensed: Opportunities and stage history, Logged calls, meetings and tasks, Logged emails, personal details removed, Notes, Quotes and line items, Cases, Won and lost reasons
Stays out: Leadership mailboxes, Passwords and logins, Contact and lead lists, ZoomInfo and other bought fields, Marketing lists and unsubscribes, Card or bank details, Call recordings without clear consent, HR or pay talk in notes

- We remove personal details, and you check a cleaned sample first.
- Labs are barred by contract from identifying anyone.
- You can remove anything before a sale.
- Labs see your company name, because they must know where data comes from. The records are de-identified.
- Everything is stored on secure servers.

Check this with your own lawyer.

- Salesforce's privacy overview (https://www.salesforce.com/company/legal/privacy/privacy-overview) says its customers own their Customer Data.
- ZoomInfo's license terms (https://www.zoominfo.com/legal/ltc) bar customers from passing on or selling its licensed data. Many CRMs hold fields like these.
- Under California's privacy law (CCPA, Cal. Civ. Code 1798.140 (https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV&sectionNum=1798.140)), passing personal information on for money can count as a sale. Data that meets the law's definition of de-identified is treated differently.
- That definition includes contract terms on the buyer, per Frankfurt Kurnit Klein & Selz.
- Frankfurt Kurnit Klein & Selz (https://technologylaw.fkks.com/post/102o455/selling-company-data-for-ai-training-what-to-know-before-you-say-yes) writes that a company holding data does not always have the right to sell it. It suggests reviewing customer, partner, vendor and data license agreements.
- Federal wiretap law allows recording a call when one party consents (18 U.S.C. 2511 (https://www.law.cornell.edu/uscode/text/18/2511)). Some states require every party's consent.
- These rules are about recording. They do not say whether a recording may be licensed later.
- GDPR and UK GDPR can apply to records about people in the EU or the UK (GDPR Article 3 (https://eur-lex.europa.eu/eli/reg/2016/679/oj)).

Read more on how to license company data safely (https://workdatalab.com/guides/how-to-license-company-data-safely), how de-identification works (https://workdatalab.com/guides/how-de-identification-works) and license vs sell company data (https://workdatalab.com/guides/license-vs-sell-company-data). Check this with your own lawyer.

## How big is our Salesforce history?

Three numbers tell you: how many people used it, the year of your oldest deal, and about how many calls and meetings were logged. Your admin can pull each one from a report in a few minutes.

1. Count your users. In Setup, open Users. Count active and past users.
2. Find your oldest deal. Run a report on Opportunities, sorted by Created Date.
3. Count logged activity. Run a report on Activities, grouped by year.

The estimate asks only for people, years and industry, and shows a range in about two minutes. Keep these numbers for the call.

## What happens after I start the estimate?

You see a range in about two minutes, with no email needed. Then a 20-minute call, and our team helps your people with the export.

Steps: Estimate > 20-minute call > NDA if you want one > Agreement > Read-only export with your team > Clean and approve a sample > Paid when a lab pays

Bring those three numbers to the call. Our team will tell you what a lab is likely to want and help your people with the export. See your estimate (https://workdatalab.com/estimate).

Estimate your payout: https://workdatalab.com/estimate

## Common questions

### How do I export all data from Salesforce?

An admin opens Setup, then Data Export, and ticks Include all data and both file options. Download every zip within 48 hours. Add Data Loader's Export All for calls and meetings over a year old.

### How often can I export data from Salesforce?

Enterprise, Performance and Unlimited can export once a week, and can schedule it weekly. Professional and Developer get one export every 29 days, and can schedule it monthly.

### What is the difference between Data Export Service and Data Loader?

The Data Export Service gets everything at once, as a zip, in the browser. Data Loader is a free app that exports one object at a time, and its Export All adds archived and deleted records. Salesforce lists it for Enterprise, Performance, Unlimited and Developer.

### Does the Salesforce export include attachments and files?

Only if you tick the options. Salesforce Files and the older Attachments have separate boxes, so tick both. If nobody ticks them, you get the records but no files.

### Why are old calls and meetings missing from my Salesforce export?

Salesforce archives calls, meetings and closed tasks once they are a year old. Some exports skip them, so check. Use Data Loader's Export All on Task and Event.

### How far back does Salesforce field history go?

Salesforce tracks up to 20 fields per object, for 18 months in the app and 24 months through the API. Only the paid Field Audit Trail keeps changes longer. Changes made before tracking was on were never saved.

### Why are my reps' emails not in the Salesforce export?

If they came through Einstein Activity Capture, they are not stored as Salesforce records. They still sit in the mailboxes. Read how to export Google Workspace data (https://workdatalab.com/guides/export-google-workspace-data) or export Microsoft 365 data (https://workdatalab.com/guides/export-microsoft-365-data).

### How do I export HubSpot deals with notes and calls?

Export deals as a CSV with all associated records, then export calls and notes on their own. Deal fields keep only the last 20 changes, and download links expire after 30 days. HubSpot says most hubs lose access to CRM data when the contract ends.

### Do you need our Salesforce password?

No. Your admin runs the export on their own computer, with their own login. We never ask for passwords. Our team guides your people through each step.

### Do we have to export everything before you can value it?

No. The estimate needs only people, years of records and industry. We check that a lab wants the data before we ask for a full export.

### Who buys Salesforce CRM data for AI?

AI labs buy it, directly or through data programs. Mercor and micro1 say they want CRM records, and Handshake AI says it licenses business records. Read how to sell company data to AI (https://workdatalab.com/guides/how-to-sell-company-data-to-ai) and who buys company data (https://workdatalab.com/guides/who-buys-company-data).

### Is Work Data Lab legit?

We are a New York company, and more than 100 companies sell their data with us. We have paid $10M to partner companies, with no fees and nothing upfront. Read our facts (https://workdatalab.com/facts) and how we write these guides (https://workdatalab.com/guides/how-we-write), or email hello@workdatalab.com.

## Sources

- Learn Data Export Methods and Steps for Salesforce, Salesforce Trailhead: https://trailhead.salesforce.com/content/learn/modules/lex_implementation_data_management/lex_implementation_data_export
- Data export files not available after 48 hours, Salesforce Help: https://help.salesforce.com/s/articleView?id=000386717&language=en_US&type=1
- Field History Tracking Overview, Salesforce Help: https://help.salesforce.com/s/articleView?id=xcloud.tracking_field_history.htm&language=en_US&type=5
- Get Started with Field Audit Trail, Salesforce Trailhead: https://trailhead.salesforce.com/content/learn/modules/field-audit-trail-basics/get-started-with-field-audit-trail
- Field Audit Trail Implementation Guide, Salesforce Developers: https://developer.salesforce.com/docs/platform/field-history-retention/guide/field-audit-trail.html
- Export Data from Salesforce (Data Loader Guide), Salesforce Developers: https://developer.salesforce.com/docs/platform/data-loader-impl/guide/exporting-data.html
- When to Use Data Loader, Salesforce Developers: https://developer.salesforce.com/docs/platform/data-loader-impl/guide/when-to-use-the-data-loader.html
- Salesforce Data Loader, Salesforce Developers: https://developer.salesforce.com/tools/data-loader
- Archived Activities (SOAP API Developer Guide), Salesforce Developers: https://developer.salesforce.com/docs/platform/api/guide/sforce-api-guidelines-archive.html
- EmailMessage (Object Reference), Salesforce Developers: https://developer.salesforce.com/docs/platform/object-reference/references/standard-objects/object-emailmessage.html
- AI for Admins: A Closer Look at Einstein Activity Capture (2021), Salesforce Admins: https://admin.salesforce.com/blog/2021/ai-for-admins-a-closer-look-at-einstein-activity-capture
- Salesforce Privacy Overview, Salesforce: https://www.salesforce.com/company/legal/privacy/privacy-overview
- Export your records, HubSpot Knowledge Base: https://knowledge.hubspot.com/import-and-export/export-records
- Export property history, HubSpot Knowledge Base: https://knowledge.hubspot.com/properties/export-property-history
- Product Specific Terms, HubSpot: https://legal.hubspot.com/product-specific-terms
- CRMArena-Pro (arXiv 2505.18878), Salesforce AI Research: https://arxiv.org/html/2505.18878v1
- Monetize your data, Mercor: https://www.mercor.com/data
- Data partnerships, micro1: https://www.micro1.ai/data-partnerships
- License your data, Handshake AI: https://joinhandshake.com/ai/data-partnerships/license
- Selling Company Data for AI Training, Frankfurt Kurnit Klein & Selz: https://technologylaw.fkks.com/post/102o455/selling-company-data-for-ai-training-what-to-know-before-you-say-yes
- License Terms and Conditions, ZoomInfo: https://www.zoominfo.com/legal/ltc
- AI labs are buying data from dead startups (13 Oct 2026), MIT Technology Review: https://www.technologyreview.com/2026/10/13/1145755/ai-labs-buying-data-from-dead-startups-to-train-models
- Einstein Activity Capture emails not stored as EmailMessage, Salesforce Help: https://help.salesforce.com/s/articleView?id=000392262&language=en_US&type=1
- Deals API guide, HubSpot Developers: https://developers.hubspot.com/docs/api-reference/legacy/crm/objects/deals/guide
- California Civil Code 1798.140 (CCPA definitions), California Legislative Information: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV&sectionNum=1798.140
- 18 U.S.C. 2511, Legal Information Institute, Cornell Law School: https://www.law.cornell.edu/uscode/text/18/2511
- Regulation (EU) 2016/679 (GDPR), Article 3, EUR-Lex: https://eur-lex.europa.eu/eli/reg/2016/679/oj

---
Work Data Lab is a New York company that buys company work records, removes personal details and licenses them to AI labs. Sellers are typically paid $50K to $2M, with no fees, when a lab pays.
Estimate your payout: https://workdatalab.com/estimate
