# How to export Klaviyo data: profiles, flows and templates

Canonical: https://brew.new/blog/how-to-export-klaviyo-data
Author: Brew Team
Published: 2026-11-27
Updated: 2026-11-27

To export Klaviyo data, use Export to CSV on a list or segment for profiles, Export analytics for campaign and flow results, a template's Export option for its HTML, and the Klaviyo API or SFTP export for events and flow definitions as JSON. Klaviyo has no one-click backup of a whole account, so a complete export combines these.

We checked every step against Klaviyo's help center and developer documentation on November 24, 2026, using API revision 2026-10-15. Klaviyo changes its menus often, so the exact labels may move.

Most people export from Klaviyo for one of three reasons: to analyze the data somewhere else, to keep a backup, or to move to another platform. This guide covers all three, including where Brew fits if you are moving your email design or your sending.

## Key takeaways

- Profiles export to CSV from any list or segment. To export every profile, build a segment that contains everyone and export that.
- List CSVs leave out event history, list membership and the messages each person received. Events come from the API, SFTP export or a warehouse sync.
- Flows have no export button. Their definitions come out as JSON through the API or the flow's `.json` URL.
- Klaviyo deletes account data within 90 days of the agreement ending, so export before you close an account, not after.

## What you can export from Klaviyo, and how

| Data | How to export it | Format |
| --- | --- | --- |
| Profiles in a list or segment | Lists & segments, then Manage, then Export to CSV | CSV, up to 700 columns |
| One profile | Profile actions, then Export profile | ZIP |
| Campaign results | Campaigns, then Export analytics | CSV, one row per message |
| Flow results | Flows, then Options, then Export analytics | CSV |
| Template HTML | Templates, then Export, then copy the code | HTML |
| Flow definitions | API (`GET /api/flows/{id}`) or the flow's `.json` URL | JSON |
| Events | API, SFTP export or a warehouse sync | JSON, CSV or JSONL |

## Export Klaviyo profiles to CSV

1. Go to **Audience**, then **Lists & segments**, and open the list or segment.
2. Click **Manage**, then **Export to CSV**.
3. Choose all properties or pick the ones you need, then click **Start Export**.
4. Download the file from **Settings**, then **Other**, then **Downloads**. Klaviyo keeps it there for 30 days.

The file includes email address, phone number, profile and custom properties, the date each person was added, their created, first active, last active, last open and last click dates, and email and SMS consent with timestamps. It does not include event history, list or segment membership, or which messages each person received ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/115005078687)). Owners, Admins, Analysts and custom roles with export permission can run it.

Keep the consent columns. If you import these contacts anywhere else, the people who unsubscribed in Klaviyo have to stay unsubscribed.

## Export campaign and flow analytics

For campaigns, open **Campaigns**, use the menu next to **View library** and choose **Export analytics**. Pick a time range, tags and channels, and whether to split out A/B variants ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/360054361092)).

For flows, open **Flows**, then **Options**, then **Export analytics**, and choose daily, weekly or monthly rows. Archived flows are included. To export one flow on its own, give it a unique tag and filter on that tag ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/115002779371)).

## Export Klaviyo templates as HTML

Open **Content**, then **Templates**, find the saved email template, choose **Export** from its menu and copy the code from the window that opens ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/115005085167)). Klaviyo shows the HTML to copy rather than a file to download, and you need permission to edit templates.

Klaviyo advises against importing exported drag-and-drop HTML back into its own editor. Other tools handle it differently. In Brew, you can paste or upload that HTML, free, and it becomes an email you keep editing on a canvas, by hand or in chat. Brew's agent can then restyle it against your brand files, so a template exported from Klaviyo becomes the starting point for new emails rather than a static copy.

## Export Klaviyo flows

There is no Export button for flows. Klaviyo's developer docs offer two routes ([flows API overview](https://developers.klaviyo.com/en/reference/flows_api_overview)):

- Open the flow in the editor and replace `/edit` at the end of the URL with `.json`. The page shows the flow's definition, which you can copy.
- Call `GET /api/flows/{id}?additional-fields[flow]=definition` with a key that has `flows:read`. The definition includes the trigger, profile filters, every action and each message's `template_id`.

A definition can recreate the flow in another Klaviyo account as a draft through `POST /api/flows`. No other platform reads Klaviyo's flow JSON directly, so moving a flow elsewhere means rebuilding it. In Brew you describe the flow, for example "when someone places a first order, wait three days and send a care guide", and the agent builds the automation with its emails.

## Export Klaviyo data to JSON with the API

Klaviyo's API returns JSON in the JSON:API format. Every request needs a private API key and a `revision` header ([API overview](https://developers.klaviyo.com/en/reference/api_overview)):

```
curl -G "https://a.klaviyo.com/api/profiles" \
  -H "Authorization: Klaviyo-API-Key $KLAVIYO_PRIVATE_KEY" \
  -H "revision: 2026-10-15" \
  -H "accept: application/vnd.api+json" \
  --data-urlencode "page[size]=100"
```

Each response has a `links.next` URL; request it until it is empty. Create a read-only key for exports, so a leaked key cannot change the account.

| What to export | Endpoint | Key scope | Rate limit | Page size |
| --- | --- | --- | --- | --- |
| All profiles | `GET /api/profiles` | `profiles:read` | 75/s, 750/min | 100 |
| A list's profiles | `GET /api/lists/{id}/profiles` | `lists:read`, `profiles:read` | 75/s, 750/min | 100 |
| A segment's profiles | `GET /api/segments/{id}/profiles` | `segments:read`, `profiles:read` | 75/s, 750/min | 100 |
| Events | `GET /api/events` | `events:read` | 350/s, 3,500/min | 1,000 |
| Campaigns | `GET /api/campaigns` | `campaigns:read` | 10/s, 150/min | 100 |
| Templates with HTML | `GET /api/templates` | `templates:read` | 75/s, 750/min | 10 |

Requesting predictive fields lowers the profile limit to 10 a second. Klaviyo also has bulk export jobs for profiles and events that produce a compressed CSV, but they are an invite-only beta ([bulk export](https://developers.klaviyo.com/en/reference/bulk_export_api_overview)). For raw events on a schedule, the [SFTP data export](https://developers.klaviyo.com/en/docs/export_event_data_sftp) writes gzipped CSV or JSONL files hourly or daily, and needs an Owner, Admin or Manager to set it up with an SSH key.

## Export Klaviyo to Redshift, PostgreSQL or Tableau

Klaviyo's native warehouse export, data warehouse syncing, needs the paid Advanced KDP upgrade. It syncs profiles, events and metrics to Redshift, S3, BigQuery, Azure Synapse, Snowflake or Databricks every 1 to 24 hours, with one destination per account ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/17759932376475)).

Without Advanced KDP, use an ETL tool with a Klaviyo source:

| Destination | Route |
| --- | --- |
| Redshift | Advanced KDP sync, or [Fivetran](https://fivetran.com/docs/connectors/applications/klaviyo), [Airbyte](https://docs.airbyte.com/integrations/sources/klaviyo) or [Stitch](https://www.stitchdata.com/docs/integrations/saas/klaviyo) |
| PostgreSQL | Fivetran, Airbyte or Stitch; PostgreSQL is not a native Klaviyo destination |
| Tableau | Load the data into a warehouse or PostgreSQL first, then connect Tableau to it |
| Qlik | [Qlik Talend Cloud's Klaviyo connector](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Klaviyo.htm) |
| monday.com | [Zapier](https://zapier.com/apps/klaviyo/integrations/monday) creates an item per new profile or event, without a backfill; a third-party Klaviyo app can sync list profiles |

The ETL tools differ in what they copy. Airbyte's source includes flows and email templates; Stitch's copies events, campaigns and lists but not flows or templates.

## How to back up Klaviyo

Klaviyo has no built-in backup of an account. You can build one from the exports above, or buy one:

- **Scheduled exports.** A script that pages through profiles, templates, campaigns and flow definitions with a read-only key, and stores the JSON with a date.
- **Events.** SFTP export or a warehouse sync, since events are the largest and fastest-growing part of the data.
- **A backup app.** [Rewind](https://rewind.com/products/backups/klaviyo/) backs Klaviyo up daily and keeps 365 days of history, according to its product page.

Archive flows rather than deleting them. Klaviyo cannot restore a deleted flow ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/115002779171)).

## If you are leaving Klaviyo

Cancelling every plan keeps your login but stops sending, forms and integrations. Closing the account starts deletion, and only an Owner can close it ([Klaviyo help](https://help.klaviyo.com/hc/en-us/articles/1260805595309)). Klaviyo keeps data until the agreement ends and deletes it within 90 days after that ([privacy FAQ](https://www.klaviyo.com/legal/privacy-faqs)). Export profiles, templates, campaign analytics and flow analytics first.

To move to Brew:

1. Import the profile CSV. Map Klaviyo's email consent column to Brew's subscription status, not to a custom field, so people who unsubscribed in Klaviyo stay unsubscribed. Check the opted-out count in the import preview before it runs; if Brew does not recognize a status value, change those values to subscribed or unsubscribed and import again. The other columns become contact fields you can filter on.
2. Paste the template HTML you exported. Each one becomes an editable email.
3. Describe each flow to Brew's agent, and check the automation it builds against the flow definition you exported.
4. Verify your sending domain and send a test.

You can also keep Klaviyo for sending and only change where emails get made. Brew designs each email from your brand and [exports it to Klaviyo](/blog/klaviyo-integration) as a CODE template for your campaigns and flows.

## Frequently asked questions

### Can you export all data from Klaviyo?

Not in one step. Profiles, analytics and template HTML export from the app; events, flow definitions and templates in bulk come from the API, SFTP export or a warehouse sync. Event history and list membership are not in the profile CSV.

### How do I export Klaviyo data to JSON?

Call the Klaviyo API with a private key and a `revision` header, for example `GET /api/profiles`, and follow each response's `links.next` URL until there is none. Flow definitions come from `GET /api/flows/{id}` with `additional-fields[flow]=definition`.

### Does Klaviyo have a backup?

No. Klaviyo has no account backup feature. Schedule your own exports through the API and SFTP, or use a backup app such as Rewind.

### Can I export Klaviyo flows?

Not with a button. Copy the definition from the flow's `.json` URL or request it from the API. Another Klaviyo account can import it as a draft; other platforms need the flow rebuilt.

### What happens to my data when I close my Klaviyo account?

Klaviyo deletes it within 90 days of the agreement ending. Customers in the EU get 30 days after termination to retrieve their data in a machine-readable format, under Klaviyo's [EU Data Act addendum](https://www.klaviyo.com/legal/eu-data-act-addendum).

## Next step

Paste one Klaviyo template's HTML into Brew on the [7-day free trial](/pricing) and compare the editable email with the original before you plan a move.
