tutorials
Export your Mailchimp audience and bring it in clean
October 7, 2026

You clicked "Export as CSV", got a file, and assumed your list came with it. Then you imported it somewhere else and discovered your tags were gone, your segments evaporated, and everyone, including the people who unsubscribed two years ago, came in as "subscribed". This is how to do it without that happening.
Leaving Mailchimp is mostly a data problem, not a sending problem. If you are still deciding where the list lands, the Mailchimp alternatives that don't tax you per contact is the shortlist, and the mistakes teams make when leaving an email vendor is worth reading before you start the export. The campaigns you can rewrite. The templates you can rebuild. What you cannot reconstruct is the accumulated state of your audience: who unsubscribed, who hard-bounced, which contacts carry which tags, and which merge fields hold the data your automations depend on. A careless export throws most of that away, and the worst part is that the export looks complete. You get a CSV with thousands of rows and a sense that the job is done.
It is not done. This post walks the manual export the hard way first, shows you exactly what each method drops, and gives you a method that preserves status, tags, and merge fields. At the end, it covers the shortcut if you would rather not run any of it yourself.
What does a Mailchimp CSV export actually lose?
A Mailchimp audience CSV export drops your saved segments entirely, flattens your tags into an unreliable text blob, and, depending on which export you use, can lose the distinction between subscribed, unsubscribed, and cleaned contacts. The fields you see in the file are real, but the file is a snapshot of columns, not of audience state.
Here is what each Mailchimp export path gives you and what it quietly omits:
| Export method | Merge fields | Member status | Tags | Saved segments |
|---|---|---|---|---|
| Audience > Export as CSV | Yes | Subscribed members only by default | Flattened text, lossy | No |
| All Contacts > Export | Yes | Contact status column included | Flattened text | No |
| Marketing API v3 | Yes | Full vocabulary per member | Structured array per member | Static segments yes, dynamic no |
Three specific losses cause real damage:
-
Status collapse. The plain "Export as CSV" from a single audience tab tends to export only currently subscribed members. The people who unsubscribed or were cleaned (hard-bounced) are simply not in the file. That sounds harmless until you realize the new platform now has no record that those addresses are poison, so the next person who uploads a "full" list re-adds them. The All Contacts export is better because it includes a status column, but you have to actually map and respect it.
-
Tag flattening. Tags in the CSV arrive as a single comma-or-semicolon-joined string in one cell. If a member has tags
vip,2025-cohort, andpaid, annual(a tag with a comma in its name, which Mailchimp allows), the join becomes ambiguous and your parser cannot tell where one tag ends and the next begins. Structured tag data only survives the API. -
Segments do not exist as data. A Mailchimp segment like "opened a campaign in the last 90 days" is a saved query, not a stored property. There is no column for it in any export because membership is recomputed every time you view it. You can only export the addresses by running the segment first, and even then you get a point-in-time list, not the rule.
So before you export anything, decide what you actually need to preserve. For almost everyone the answer is: every contact (not just subscribed), the real status of each, their tags, and their merge fields. Only the API gives you all four.
How do I export a Mailchimp audience with the Marketing API?
Use the Marketing API v3: create a key, list your audiences, then page through each audience's members, merge fields, and segments. The API returns each member's full status and a structured tags array, which is exactly the data the CSV destroys.
First, create a key under Account > Extras > API keys. A Mailchimp key ends in a data-center suffix like -us21. That suffix is also your API subdomain, so the base URL for that key is https://us21.api.mailchimp.com/3.0. Get this wrong and every call 404s.
Find your audience id:
# Replace us21 with your key's data center, and YOUR_API_KEY with the key.
curl -s -u "anystring:YOUR_API_KEY" \
"https://us21.api.mailchimp.com/3.0/lists?fields=lists.id,lists.name,lists.stats.member_count" | jq
{
"lists": [
{ "id": "a1b2c3d4e5", "name": "Main Newsletter", "stats": { "member_count": 18452 } }
]
}
Authentication is HTTP Basic with any username and the API key as the password. The id field (here a1b2c3d4e5) is what every per-list call needs.
Now page through the members. Mailchimp returns at most 1000 per call and uses offset for paging, so a real export is a loop:
LIST="a1b2c3d4e5"
OFFSET=0
while : ; do
RESP=$(curl -s -u "anystring:YOUR_API_KEY" \
"https://us21.api.mailchimp.com/3.0/lists/$LIST/members?count=1000&offset=$OFFSET&fields=members.email_address,members.status,members.merge_fields,members.tags,total_items")
COUNT=$(echo "$RESP" | jq '.members | length')
echo "$RESP" | jq -c '.members[]' >> members.ndjson
OFFSET=$((OFFSET + COUNT))
[ "$COUNT" -lt 1000 ] && break
done
A single member record now looks like this, and notice what is in it that no CSV carries:
{
"email_address": "dana@example.com",
"status": "unsubscribed",
"merge_fields": { "FNAME": "Dana", "LNAME": "Ng", "PLAN": "annual" },
"tags": [
{ "id": 4471, "name": "vip" },
{ "id": 5012, "name": "2025-cohort" }
]
}
The status is the load-bearing field. Mailchimp's vocabulary is subscribed, unsubscribed, cleaned (the address hard-bounced or was flagged), and pending (double opt-in not yet confirmed). Carry that through exactly. The tags array is structured: each tag is an object with a stable name, so no flattening, no ambiguity.
Then pull the field definitions and segments so you can rebuild custom columns and labels:
curl -s -u "anystring:YOUR_API_KEY" \
"https://us21.api.mailchimp.com/3.0/lists/$LIST/merge-fields?fields=merge_fields.tag,merge_fields.name,merge_fields.type" | jq
curl -s -u "anystring:YOUR_API_KEY" \
"https://us21.api.mailchimp.com/3.0/lists/$LIST/segments?count=1000&fields=segments.id,segments.name,segments.type" | jq
The /segments endpoint returns both your tags (type static) and your saved segments (type saved). Static segments and tags you can materialize into per-member labels. Saved segments are dynamic queries, so all you can export is the rule's intent; you re-create the condition on the new platform.
One operational note: Mailchimp allows up to 10 concurrent connections per API key and rate-limits aggressively beyond that. Keep your export sequential or capped at a small concurrency, and expect to back off on 429.
How do I import the exported audience without re-mailing the wrong people?
Import by mapping Mailchimp's status to your platform's mailable/suppressed state 1:1, attaching tags as structured labels, and mapping merge fields to columns by their merge tag. The single rule that matters: a member who is unsubscribed or cleaned in Mailchimp must be unmailable on day one in the new system.
Here is a minimal, honest transform that turns the members.ndjson you collected into rows your destination can ingest. It keeps status, keeps tags, and keeps merge fields, and it refuses to mark a suppressed address as mailable:
// transform.ts (run: node transform.ts < members.ndjson > import.ndjson)
import { createInterface } from "node:readline";
type McMember = {
email_address: string;
status: "subscribed" | "unsubscribed" | "cleaned" | "pending";
merge_fields: Record<string, string>;
tags: { name: string }[];
};
// Map Mailchimp status to a mailable boolean WITHOUT collapsing it.
const mailable = (s: McMember["status"]) => s === "subscribed";
const rl = createInterface({ input: process.stdin });
for await (const line of rl) {
if (!line.trim()) continue;
const m: McMember = JSON.parse(line);
const row = {
email: m.email_address.toLowerCase().trim(),
status: m.status, // preserve the source vocabulary, do not flatten
mailable: mailable(m.status),
fields: m.merge_fields, // FNAME, LNAME, PLAN, ... keyed by merge tag
tags: m.tags.map((t) => t.name), // structured, no comma ambiguity
};
process.stdout.write(JSON.stringify(row) + "\n");
}
Run it:
node transform.ts < members.ndjson > import.ndjson
The thing this guards against is the most common migration disaster. If your import script does the lazy thing and treats every row as a new subscriber, here is what failure looks like a week later:
$ # symptom report after a careless import
Sent campaign "Welcome back" to 18,452 contacts
→ 3,907 went to addresses that had unsubscribed in Mailchimp
→ 612 went to cleaned (hard-bounced) addresses
→ bounce rate 4.1%, spam complaints spiked, domain reputation dropped
→ Gmail started bulk-foldering the next three sends
You cannot un-send those. The fix is upstream: never derive mailability from "was in the file"; derive it from the status field you took care to export. Cleaned and unsubscribed contacts should still be imported (you want the suppression record), they just must not be mailable.
A clean import checklist:
- Lowercase and trim every address; Mailchimp stores them as entered.
- Carry
statusverbatim; map onlysubscribedto mailable. - Import unsubscribed and cleaned contacts as suppressed, not as deletions, so they stay suppressed forever.
- Attach tags as structured labels using the
namefield, not the flattened CSV string. - Map merge fields by their merge tag (
FNAME,PLAN), creating columns that match the types from/merge-fields. - After import, reconcile counts against Mailchimp's audience dashboard: subscribed, unsubscribed, and cleaned totals should match within a rounding of in-flight changes.
If you are also moving your campaigns, treat them as archive, not as something to fire. Pull /campaigns and /campaigns/{id}/content for the historical HTML, but import them as non-sendable records. The last thing you want during a migration is an imported campaign that some workflow helpfully re-broadcasts to a list.
Or skip all of this: import Mailchimp into infrastructure you own
If you would rather not write the export loop, the rate-limit backoff, and the status-preserving transform, Tinbox ships the whole pipeline as one command. It runs on your own Cloudflare account, so the audience lands in a D1 database you control rather than another vendor's.
The import fetches locally on your machine, not in a Worker, so your Mailchimp API key never transits anyone's servers but yours and Mailchimp's:
# Pulls audiences, members, merge fields, tags, and campaigns over the
# Marketing API, then bulk-inserts into your own deployment.
tinbox import mailchimp --api-key YOUR_API_KEY
What it does that the manual path makes you build by hand:
- Status mapped 1:1.
subscribed,unsubscribed,cleaned, andpendingare preserved exactly; suppressed contacts come in suppressed. - Merge fields and tags preserved. Merge fields become contact columns; tags arrive as structured labels, not a flattened string.
- Idempotent re-runs. Each record carries a
source_ref(mailchimp:<member_id>), so re-running an interrupted import reconciles to the same rows instead of duplicating. You can run it twice safely. - Campaigns import as non-sendable. Historical campaigns land as archived rows that physically cannot be fanned out to a list, so a migration can never become an accidental blast.
Because the data is now in your own D1, your list is queryable like any other table, which is the larger point of owning the stack rather than renting it. There is one honest caveat to set expectations: a Tinbox deployment is one brand and domain per deploy today, so an agency moving several Mailchimp accounts runs one import per client deployment rather than a single multi-tenant import.
For the inbound side of the same migration, see importing an IMAP mailbox you own and importing a Google Takeout mbox. If the deeper question is whether you can ever truly leave a vendor with your data intact, data portability and lossy exports is the companion read, and escaping per-contact pricing covers why this migration pays for itself.
Migrating a list is the moment you find out how much your vendor was really holding for you. Export with the API, preserve status and tags, and refuse to mail anyone the source had already suppressed. Do that and the move is clean.
Deploy this yourself: npx tinbox init <domain>, then run tinbox import mailchimp --api-key YOUR_API_KEY. The importer reference and the full status-mapping table are in the docs.
Frequently asked questions
Does a Mailchimp CSV export include tags and subscription status?
Partly. The default 'Export as CSV' from an audience includes merge fields and a member rating, but it does not reliably carry your tags as structured data, your saved segments, or the full status vocabulary (subscribed, unsubscribed, cleaned, pending). The All Contacts export adds a contact status column, but tags still come through as a flattened text field, and segment membership is not exported at all. To preserve tags and segments faithfully you have to use the Marketing API v3.
How do I export my Mailchimp audience with the API?
Create a Marketing API key under Account > Extras > API keys, then call GET /lists to find your audience id, GET /lists/{id}/members to page through members (each with status and merge_fields), GET /lists/{id}/merge-fields for your field definitions, and GET /lists/{id}/segments for tags and saved segments. The API returns the structured status and tag data the CSV drops. Members page 1000 at a time and Mailchimp allows up to 10 concurrent connections per key.
What is the difference between a Mailchimp tag and a segment?
A tag is a label you attach to members manually or via automation; it is stored per-member and survives an API export under each member's tags array. A segment is a saved query (for example, 'opened in the last 30 days') that is recomputed, not stored per-member, so it cannot be exported as a list of addresses without first running it. In the API, static segments and tags both appear under /segments with a type field; dynamic segments are conditions you must re-create on the new platform.
Why does subscription status matter when migrating an email list?
Because re-mailing an unsubscribed, cleaned (hard-bounced), or complained address tanks your sending reputation and can violate CAN-SPAM and GDPR. If your import flattens everyone to 'subscribed', you will mail people who opted out and addresses that already bounced. A clean migration carries Mailchimp's status (pending, subscribed, unsubscribed, cleaned) through 1:1 so only genuinely subscribed contacts are mailable on the new system.
Can I import a Mailchimp audience into my own infrastructure without a SaaS?
Yes. Tinbox runs on your own Cloudflare account and ships a Mailchimp importer (tinbox import mailchimp) that pulls audiences, members, merge fields, tags, and campaigns over the Marketing API from your machine and bulk-inserts them, mapping member status 1:1. Imported campaigns land as non-sendable archive rows, so there is no way to accidentally re-blast a list during migration.