Compare two Instagram exports: an honest diff
Read two Instagram exports as evidence: what changed, what stayed and what a diff cannot prove.
Most of what people want from an archive is a change. A change is the one thing a
single export can never show. One export is a timestamp. Two exports are a before and an
after. The shape of what changed is the only signal worth keeping. An unfollow you never
saw in the client and never proved in the file is the perfect case of an event that
seems impossible until you have the two of them.
Compare is a diff, and a diff is the only honest evidence for unfollows. Import two
exports and the app produces the difference: accounts that left, accounts that joined,
and changes in where an interaction went. All of it comes as rows in a two-column shape.
It does not tell you when, in a real sense — Meta snapshots each export at the moment
you asked for it — and it does not invent a reason. What it gives you is proof that a
change happened, and where to start looking.
For the narrow unfollow case, find who unfollowed you from your Instagram data export uses the same two-list comparison with the no-login boundary spelled out.
- 30sone archive, imported, is a timestamp.
- 4mina second archive turns it into a difference.
- afterwards — the Compare room reads the diff (followers/following/mutuals/fans,
- requests, unfollow breakdown, content mix, activity peaks). It comes with one honest
- warning: a diff brackets an event, it does not date it to the minute.
What a timestamp is, and why one answer cannot be a change
The archive is not a query log the system kept writing into. It is a snapshot Meta put
together on request, from what it held that day. The record shows that account A was in
your list, and that account B was not. It does not say whether B left or was simply
added recently. Without an earlier copy to measure against, you cannot tell.
That is unavoidable from one file. With two — same account, two request dates — a change
can be pinned to the gap itself: here on the later date, absent on the earlier. The
change is named by the two exports and lives in neither. Compare is the tool that does
that sorting, on every category the two files share.
The change is named by the two exports and lives in neither.
Each export carries its own exportedAt timestamp — the moment the snapshot was built —
and the compare layer reads both of them side by side.1
A single file can tell you that account A was in your list and account B was not at that
moment. It cannot tell you whether B left or was simply not there before. With two
files — same account, two request dates — the difference becomes measurable: here on the
later date, absent on the earlier. Compare sorts every category the two files share. It
normalises usernames (case and spacing) so the diff compares people, not string
variants. The snapshot builder loops over timestamps to avoid spreading huge arrays. It
takes the top entry timestamp across follower/following/close-friends/blocked/muted,
falling back to Date.now(). So the exportedAt in Compare is worked out from the
data, not invented.1
What Compare actually computes
Compare builds a normalised snapshot of each archive (followers, following, close
friends, favorites, blocked, restricted, muted, pending/received requests,
recently-unfollowed), plus counts (messages, posts, reels, stories, conversations, media
refs). It then makes a ComparisonReport with set diffs for every list:
added/removed/net. From those sets it gets fans, mutuals, and — key point — a three-way
breakdown of unfollowers.12
- Import two exportseach becomes a snapshot with its own exportedAt
- Set diffs per listadded, removed and net for every shared category
- Derived setsfans, mutuals and the three-way unfollower split
- Findingsnumeric deltas paired with plain-language notes
Set arithmetic is plain. setDiff(before, after) returns added (in after, not before)
and removed (in before, not after). Fans are followers not followed by you at that
snapshot. Mutuals are followers you also follow. The unfollower split uses cross-snapshot
sets (current following, current pending, current recently-unfollowed). It sorts each
removed follower into cut-tie/you-unfollowed/silent. It also works outrequestsAcceptedSinceBaseline and requestsResolvedWithoutFollow from baseline pending
requests.1
The findings array maps these diffs to plain sentences. Examples: unfollowers called out
when followers.removed.length > 0, new followers when added, mutual gains/losses, you
started/stopped following, and saved/search/message/post deltas with notes. The Compare
UI shows these findings next to numeric deltas. The text never invents a reason; it only
reports the difference.2
The Compare room, item by item
- Unfollow radar. This is the smallest list, the one most often asked for, and it
carries the most caution. The follower diff names accounts that left between
snapshots. But "left" splits into three cases. (1) They cut the tie: they stopped
following you while you still follow them, and no pending request exists
(removedYouAfterFollow). (2) You unfollowed them: recorded in the newer archive'srecently_unfollowedlist (youUnfollowed). (3) Silent: gone from both directions
(deactivated, blocked, or a mutual fade) with no clear "you unfollowed" record
(silent). The Compare view reports all three, not just a single total. The top-line
finding fires wheneverfollowers.removed.length > 0.12 - Request intelligence. Pending sent requests at baseline that are now accepted (you
follow them) become
requestsAcceptedSinceBaseline. Pending sent requests at baseline
that resolved with no follow (declined, withdrawn, or account gone) becomerequestsResolvedWithoutFollow. These are cross-snapshot guesses. No single export can
prove them, which is exactly why two exports are required.1 - Names, not strings. Usernames are normalised (
normName) before diffing, sospacing and case do not create false "added/removed" entries. Snapshots drop repeats by
the normalised key and push back the canonical key.1 - Conversation states. The pair compares ten sorted states per conversation across
two exports. The diff tracks which state it opened in and which it closed in, with no
added reading.3 - List caps. Compare-many can cap returned username lists for rendering (
listCap)while counts stay exact — a real line between display and totals.4
- Content and posting shifts. Posts, reels and stories are compared by count and mix
between timestamps (shape, not judgment). The gaps between months remain countable.
The content mix (posts/reels/stories share) is worked out per archive as a share of
total media in that archive, then compared pairwise.2 - Account totals and growth. Followers, following, posts, reels, stories and
conversations are diffed straight from the two snapshots. The chapters show the
raw change and the window it sits in. Compare can also show bounded health,
engagement and social readings. They are prompts for review, not facts stored
in the export and not a rank of people. Activity peaks are shown as hours and
days.2 - Audience, counted. Fans and mutuals come from the follower/following sets at each
snapshot and are diffed one by one. The findings surface mutual gains/losses and new
followers/unfollowers in plain words. The underlying sets remain the evidence.12 - Messages, activity, persona. Counts and categories that changed between the two
copies are reported per category (liked posts/comments, comments, searches, saved
posts, story interactions). Peak hour and day are compared per archive. Privacy
privacy-record deltas (logins/ad interests/advertisers/links visited) and
message type breakdown deltas are included. Search deltas are treated as a sample,
because Instagram caps recent searches in exports. The findings text states this.2
Seven chapters, and the checks around them
Compare now reads in seven chapters. The order is fixed: What changed, People,
Attention, Your voice, Privacy & security, Memory, and Deep cuts. Each chapter
has one job. A number has one home, so the same delta is not printed twice.
Number keys jump between chapters, and the choice stays in the address.
Before a change is framed, Compare checks whether the two files can be compared.
It looks for a category present on one side and missing on the other. It checks
the gap between the two export dates, and says when a date is really the import
time. A short or uneven window gets a lower confidence. A pair that cannot be
compared is not framed as loss. The counting rules
explain why.
Quiet mode hides the follower-change counts and the change radar. Nothing is
deleted. Turn it off and the same rows are back. Follow changes are named groups
from your own exports: still waiting, became a follow, still unanswered, still
following, or outside the exported window. No group is given a motive. The
separate follow changes you can prove
post walks those groups in more detail.
Can Compare prove an unfollow happened on a specific day?
No. Each export is a snapshot at the moment Meta assembled it (exportedAt). The diff
brackets the event between the two timestamps; it cannot pinpoint the calendar day inside
that gap. The exportedAt is computed from entry timestamps (max across key lists,
fallback to Date.now()), not an arbitrary label. Use consecutive snapshots (compare-many)
to shrink the bracket.14
What is the difference between 'they cut the tie' and 'silent'?
'They cut the tie' means they stopped following you while you still follow them and no
pending request exists (removedYouAfterFollow). 'Silent' means they left your
followers and are not in your following, and the newer export has no recently_unfollowed
record for them (silent). It is common for deactivations, blocks, or a mutual fade.
'You unfollowed them' is the clear case recorded in recently_unfollowed. The split is
pure set arithmetic using cross-snapshot sets.1
Why does Compare limit to five archives?
Compare-many holds snapshots for the selected set. Five complete parses is the practical
limit on one device (memory and rendering). The sequence view still gives step-by-step
deltas between consecutive pairs. Counts stay exact, and username lists may be capped for
display only (listCap).4
Do both exports have to be the same format (JSON or HTML)?
No. The format detector reads whichever copy it is given. The HTML form is turned into
the same snapshot shape before diffing, so a JSON export and an HTML export compare
cleanly. Keeping the format constant anyway removes one variable from your later
reading.1
When five is not a flex, but a necessity
Two exports can bound a change. They cannot trace a trajectory. Importing three, four or
five archives compares them as a sequence. Each row is an archive with its label, export
date and raw counts. The difference between consecutive snapshots becomes a step, and you
can see whether a tie ended once or flickered across windows. The five-archive view is the
maximum we accept on one device. Holding five complete parses at once has real memory
cost, and the signal beyond five stops earning the space.4
The multi-archive layer also reports overlap. That is not a diff, but the picture a
diff sits on: followers present in every selected archive (sharedByAll), followers seen
in any (sharedByAny), followers unique to each archive (exclusive). It also draws a
pairwise Jaccard similarity matrix over the follower sets, with the most-similar pairs
listed first. Compare-many runs in one of three modes: timeline (one account, several
dates), cross-account (several accounts, one date each), or mixed. The baseline
archive is the one the deltas measure from. List output can be capped for rendering while
the counts stay exact.4
Getting a useful diff
Three habits make the comparison trustworthy:
- Same format both times. If the first export is JSON and the second is HTML, the
lists still diff, because the parser normalises both into the same snapshot shape. Even
so, keeping the format constant removes one more thing to reason about later. - Distance beats precision. Two exports six months apart answer "did anything
change". Two exports one day apart mostly answer "did the snapshot jitter". The
unfollower split needs both files to be from the same account. The more time sits
between them, the more each removal means. - Name the account before you compare. Compare-many can read several accounts at
once (
cross-accountandmixedmodes). A cross-account timeline answers a different
question — whose list resembles whose — than a timeline of one account over two years.
Pick the mode that matches the question. The deltas are always baseline-to-each-other,
whatever story you meant to tell.4
What the compare is silent about
unfollowed / silent), but not why — that belongs to the two people involved, which is
the one step the file was never built to take.1
- A certain date. Each timestamp is the moment Meta assembled the copy, not the
moment a behaviour changed. The pair brackets the event. It does not say it happened
on the day of the later file. Use consecutive snapshots (compare-many) to bound the
interval more tightly. The snapshot builder takes the top timestamp across
follower/following/close-friends/blocked/muted entries, with a Date.now() fallback.
That avoids spreading huge lists and guards against NaN. TheexportedAtyou see in
Compare is that computed snapshot time, not a fabricated label.14 - A direction for shared numbers. That a count went down is the record; whether that
is evidence of abandonment is not. We count its gaps. We do not name its motives.2
- A global search sample. Profile searches are capped in exports, because Instagram
only lets you export your most recent 100–500 searches in typical files. So any delta
in searches is a sample, not a total. The Compare findings call that out. Treat a big
jump as "more searches appeared in that window's sample", not "you searched ten times
more" in general.2
Where this was checked
The diff mechanics sit in the archive-compare analytics (snapshots,
setDiff, three-way unfollower split, cross-snapshot request inference). The compare
analytics holds the deltas across health/growth/content/messages/
activity/privacy/engagement/persona, plus findings. The multi-archive matrix lives in
the compare-many analytics. Conversation-state pairing uses
the conversation-states analytics. Everything the Compare view writes comes from
those — not from a model, not from a saved template, and not from a roster
of usernames written in anywhere.
Footnotes
For developers — source references
Pointers into the open-source code that implements the behaviour described above.
packages/shared/src/analytics/archive-compare.ts— snapshot shape:6-30,exportedAtfrom max timestamp with guard:115-129, normalisationnames:82-92,
three-way split:179-194, unfollower breakdown:38-48,ComparisonReport:50-78.↩packages/shared/src/analytics/compare.ts—compareArchives:208-467,
findings for unfollows:285-291, requests/search cap notes:329-331,
saved/search/activity deltas:317-332.↩packages/shared/src/analytics/conv-states.ts— conversation state taxonomy
used when comparing pairs across two exports.↩packages/shared/src/analytics/compare-many.ts— multi-archive comparison API
(matrix over 2–5 archives), sequential diffs between consecutive snapshots.↩