team wrappedMake your team's WrappedMake yours

Team Wrapped Guides

The Slack export format, file by file

A Slack export is a zip of JSON files: a list of channels, a list of members, and a folder for every channel with one file for each day that had messages.

Each day file is an array of messages. A message names its author by ID, gives its time as a Unix timestamp, and carries its reactions and thread details beside its text.

Updated

The layout of the zip

This is a standard export: public channels, the kind an Owner or Admin can run on every plan (here is how).

FizzBuzz Industries Slack export Jan 1 2026 - Nov 13 2026.zip
├─ channels.json            the public channels
├─ users.json               every member, bots and deactivated accounts too
├─ integration_logs.json    which apps were added or removed, and by whom
├─ canvases.json            a link for every canvas
├─ general/
│  ├─ 2026-01-01.json       one file per day: an array of messages
│  └─ 2026-01-02.json
└─ customer-love/
   ├─ 2026-02-02.json
   └─ 2026-02-03.json

The names are from our sample export. FizzBuzz Industries is fictional, and every example on this page is copied from it. Download the sample export (2.4 MB) to open it beside this page.

  • A channel’s folder is named after the channel, not its ID.
  • A day file is named for its date, as YYYY-MM-DD.json, and exists only for days that had messages.
  • A channel with no messages in the date range has no folder. Archived channels that have messages do.
  • The workspace’s name is only in the zip’s file name. None of the files we looked at inside states it.

What a wider export adds

Owners on Business+ and Enterprise plans can apply to export all channels and conversations. The format is the same, with more files at the top and more folders:

FileWhat it listsStandard exportAll conversations
channels.jsonPublic channelsYesYes
users.jsonMembersYesYes
integration_logs.jsonApp activityYesYes
canvases.jsonA link for every canvasPublic channels’ onlyYes
groups.jsonPrivate channelsNoYes
dms.jsonDirect messagesNoYes
mpims.jsonGroup direct messagesNoYes
content_flags.jsonFlagged messagesNoEnterprise, if flagging is on

A private channel’s folder is named after the channel, and a direct message’s after the conversation’s ID. On an Enterprise organisation the member list is called org_users.json, and an export of one person’s conversations can be TXT instead of JSON. The table is from Slack’s help centre.

channels.json: the channels

An array with one object per public channel. This is #general, with its member list cut to three:

{
  "id": "C04HAMXW2",
  "name": "general",
  "created": 1675692600,
  "creator": "U04GJI1ZT",
  "is_archived": false,
  "is_general": true,
  "members": ["U04GJI1ZT", "U042ENKP6", "U06QGG3JZ"],
  "topic": {
    "value": "Leafy 2 is live :leafy:",
    "creator": "U04GJI1ZT",
    "last_set": 1675951800
  },
  "purpose": {
    "value": "Company-wide announcements and the things everyone should know. Chat goes in #random.",
    "creator": "U04GJI1ZT",
    "last_set": 1675692720
  }
}
  • created and last_set are Unix seconds. In a 2015 export created is a string, so accept both.
  • members and creator are user IDs from users.json.
  • Messages almost never carry the channel’s ID. The folder a day file sits in tells you the channel.

users.json: the members

An array with one object per member. Here is one, with some profile fields left out:

{
  "id": "U04GJI1ZT",
  "team_id": "T0405GB9N",
  "name": "wren",
  "deleted": false,
  "real_name": "Wren Castellanos",
  "tz": "America/New_York",
  "tz_label": "Eastern Standard Time",
  "tz_offset": -18000,
  "profile": {
    "title": "CEO & Co-founder",
    "real_name": "Wren Castellanos",
    "display_name": "Wren",
    "image_72": "https://avatars.slack-edge.com/T0405GB9N/wren_72.jpg"
  },
  "is_admin": true,
  "is_owner": true,
  "is_bot": false,
  "updated": 1678291200
}
  • There are three names. name is the old-style username, real_name the full name, and profile.display_name the one people chose to show. The display name is often empty, so use it when it is set, then real_name, then name.
  • Bots are in the list, with is_bot set to true. Slackbot is not: its ID is USLACKBOT and it is in no file.
  • Deactivated members stay, with deleted set to true, and so do their messages.
  • Use tz for local time. It is a zone name such as America/New_York. tz_offset is one fixed number of seconds, so it cannot follow daylight saving.

The day files: one object per message

Each day file is an array of message objects, oldest first. Slack’s help centre promises four fields on every message: type, user, text and ts. Real ones carry more. This one is from customer-love/2026-02-02.json:

{
  "user": "U08BCD6R3",
  "type": "message",
  "ts": "1770102882.245295",
  "client_msg_id": "b8b29a5d-98a1-43f5-b034-5fa0d48984df",
  "text": "\"It's Friday. My plant has prepared nothing. Neither have I. We understand each other.\"",
  "team": "T0405GB9N",
  "user_profile": {
    "display_name": "Aylin",
    "real_name": "Aylin Demir",
    "image_72": "https://avatars.slack-edge.com/T0405GB9N/aylin_72.jpg"
  },
  "thread_ts": "1770102882.245295",
  "reply_count": 2,
  "reply_users_count": 2,
  "latest_reply": "1770135003.784881",
  "reply_users": ["U06BAS9E5", "U04QPO02F"],
  "replies": [
    { "user": "U06BAS9E5", "ts": "1770104110.982333" },
    { "user": "U04QPO02F", "ts": "1770135003.784881" }
  ],
  "reactions": [
    { "name": "tada", "users": ["U06BAS9E5", "U06Q8563H"], "count": 2 },
    { "name": "party-parrot", "users": ["U06QGG3JZ", "U08XC4XT3", "U08ALUPUX"], "count": 3 }
  ]
}
FieldWhat it holds
typeAlways "message".
userThe author’s ID. Look it up in users.json.
textWhat was written, in Slack’s own markup (see below).
tsWhen it was posted: Unix seconds, a dot and six more digits, written as a string. Threads use it as the message’s ID.
user_profileThe author’s names and picture, copied onto the message. Not on every message, so do not depend on it.
reactionsOne entry per emoji: its name, who used it, and a count.
thread_ts, reply_count, repliesThread details (see below).
editedWho last edited the message, and when. The text is the final version.
filesA name, a type and a link for each shared file. Not the file.
attachmentsThings attached to the message, such as link previews.
blocksThe same text again as structured rich text.
subtypePresent when the entry is not an ordinary message (see below).

Treat every field as optional except type, text and ts. Even user is missing on some app posts, and exports from different years differ.

Threads

The message above starts a thread: its thread_ts equals its own ts, and it carries reply_count, reply_users and a replies list. Each reply is a message of its own, like this one:

{
  "user": "U06BAS9E5",
  "type": "message",
  "ts": "1770104110.982333",
  "client_msg_id": "5073c6c9-98a1-43f5-b034-5fa0d48984df",
  "text": "Yes!!",
  "team": "T0405GB9N",
  "user_profile": {
    "display_name": "Niamh",
    "real_name": "Niamh Gallagher",
    "image_72": "https://avatars.slack-edge.com/T0405GB9N/niamh_72.jpg"
  },
  "thread_ts": "1770102882.245295",
  "parent_user_id": "U08BCD6R3"
}
  • A reply’s thread_ts is the ts of the message that started the thread. parent_user_id is that message’s author, and is missing on some replies.
  • A reply sits in the file for the day it was posted, which is often not the file its thread started in. To rebuild a thread, group a channel’s messages by thread_ts across all of its files.
  • reply_count can be trusted: on all 4,336 thread starts in two real exports it matched the replies present.
  • A reply that was also sent to the channel has the subtype thread_broadcast.

Reactions

reactions has one entry per emoji: name is the emoji’s short name without colons, users the IDs of the people who used it, and count how many did.

  • Add up count, not the length of users. Slack’s help centre says the list may leave people out, and that the count is always right.
  • Skin tones are part of the name, as in +1::skin-tone-2. Cut the name at :: to count them with the plain emoji.
  • Custom emoji look the same as standard ones. party-parrot above is one this workspace added.

What the text looks like

The text field is not plain text. Slack writes mentions and links in angle brackets:

In the textWhat it means
<@U06BAS9E5>A mention of a member, by ID. Old exports (2016 and earlier) add the name: <@U06BAS9E5|niamh>.
<#C04XP8DIL|wins>A link to a channel.
<!here>, <!channel>, <!everyone>A notification to the channel.
<https://example.com|a label>A link with its text. Without a label it is <https://example.com>.
:tada:An emoji, by its short name.
&amp;, &lt;, &gt;The characters &, < and >.

Subtypes: entries that are not ordinary messages

A day file also records what happened in the channel. Those entries look like messages and carry a subtype. These are the ones you will meet in public channels:

SubtypeWhat happened
No subtypeAn ordinary message, nearly always from a person.
channel_join, channel_leaveSomeone joined or left the channel.
channel_topic, channel_purpose, channel_nameThe channel’s topic, description or name changed.
channel_archive, channel_unarchiveThe channel was archived or brought back.
bot_messagePosted by an app or integration.
me_messageSent with the /me command.
thread_broadcastA thread reply that was also sent to the channel.
file_shareA file was shared. Common in older exports.
pinned_item, unpinned_itemSomething was pinned or unpinned.
tombstoneA placeholder reading “This message was deleted.”, left where the first message of a thread was deleted and its replies remain.
message_changed, message_deletedAn edit or deletion log, with the earlier text under "previous". Only when the workspace keeps those logs.

Slack’s help centre has the full list, with group_ versions of the channel events for private channels. Real exports also hold subtypes that list leaves out, so skip the ones you do not know rather than failing on them.

Files, huddles and edits

  • Files. A message with files has a files array: an ID, a name, a title, a type and a size for each, with links back to Slack. The file itself is not in the zip. A link stops working when the file is deleted in Slack, and on the Free plan the export only carries links for files from the last 90 days.
  • Edits. An edited message has an edited object with the editor’s ID and the time. Its text is the final version.
  • Deleted messages are simply absent, unless the workspace keeps edit and deletion logs.
  • Huddles. A huddle is a message from USLACKBOT with an empty text, no subtype, and a room object that has its start, its end and who took part:
{
  "type": "message",
  "user": "USLACKBOT",
  "text": "",
  "ts": "1767624540.633674",
  "room": {
    "id": "R0AO3XOQWWV",
    "created_by": "U04MLKLN8",
    "date_start": 1767624540,
    "date_end": 1767624919,
    "participant_history": ["U04MLKLN8", "U08BCD6R3"],
    "has_ended": true,
    "channels": ["C04TLL2V0"],
    "call_family": "huddle"
  }
}

Six things that trip up a parser

  1. Day files are cut on Pacific time. A message is filed under its date in Los Angeles, wherever the workspace is. The thread above was started at 07:14 UTC on 3 February and it is in 2026-02-02.json. In three real exports from 2015 to 2023 (49,995 messages) every message followed that rule, and between 5% and 31% sat in a file that was not their UTC date. Sort and group by ts, never by file name.
  2. Not every author is in users.json. Slackbot is not, for one. Give an unknown ID a fallback name (the message’s user_profile has one, when it is there) and carry on.
  3. Bots do not always say so. bot_message is the usual sign, but some app posts have no subtype and carry a bot_id instead. To count people only, also leave out any message with a bot_id and any author marked is_bot.
  4. ts is a string, and an ID as well as a time. Keep the original text. Turn it into a number and back and its trailing zeros are gone, so it no longer matches the thread_ts on the replies.
  5. A zip that was unzipped and zipped again gains a folder. Everything then sits one level down, and a Mac adds a __MACOSX folder beside it. Find channels.json and treat its folder as the top.
  6. Big exports are Zip64. The plain zip format stops at 65,535 files and 4 GB. A hundred channels that are busy every working day make about 25,000 day files a year, so a long history passes the first limit, and some older unzip tools cannot open the result.

Three ways to read one

As conversations: the free viewer

The Slack export viewer opens the zip, or the unzipped folder, and shows it the way Slack does, with channels, threads, reactions and search. It runs in your browser and uploads nothing.

From a terminal: jq

With jq installed, unzip the export and open a terminal in its folder. List the channels:

jq -r '.[].name' channels.json

Print every member’s ID beside their name:

jq -r '.[] | "\(.id)\t\(.real_name // .name)"' users.json

Read one day of one channel, with times in UTC:

jq -r '.[] | "\(.ts | tonumber | todate)  \(.user)  \(.text)"' general/2026-01-02.json

Turn a whole channel into a CSV file, one row per message:

jq -r '.[] | [.ts, .user, .text] | @csv' general/*.json > general.csv

That CSV has system entries and bot posts in it too, and authors as IDs. There are more one-liners in how to count the messages in a channel and the most-used emoji.

As numbers: the open-source parser

The part of Team Wrapped that reads an export is open source and deals with everything on this page. One command writes the totals, every person, every channel, the emoji and the awards to a JSON file, on your own machine:

npx github:mrtblount/slack-wrapped "your export.zip" --json out.json

The code is on GitHub, if you want to see how each case is handled.

Want the year in review rather than the JSON? Drop the zip on Team Wrapped and the same parser turns it into a show for your all-hands. The file is read in your browser and never uploaded.

Quick questions

What format is a Slack export?

A zip of JSON files. channels.json lists the channels, users.json lists the members, and each channel has a folder with one JSON file for every day that had messages. On Enterprise plans, an export of a single person’s conversations can be TXT instead.

How do I read a Slack export?

Unzip it and open a channel’s folder: each file is one day of messages. People and channels appear as IDs, so look them up in users.json and channels.json. To read it as conversations instead, open the zip in the free Slack export viewer on this site: it shows channels, threads and reactions, and uploads nothing.

Can I export Slack messages to CSV?

Not directly. Slack exports messages as JSON. The only CSV in its export tools is the channel audit report, a list of channels, for owners on Business+ and Enterprise plans. To get a spreadsheet of messages, convert the day files: one jq command on this page writes a row per message.

Does a Slack export include files and images?

No. A JSON export holds links back to the files in your workspace, not the files. A link stops working if the file is deleted in Slack, and on the Free plan the export only carries links to files from the last 90 days.

Does it include private channels and direct messages?

Not the standard export, which every plan can run: that has public channels only. Owners on Business+ and Enterprise plans can apply to export all channels and conversations, which adds groups.json, dms.json and mpims.json and a folder for each of those conversations.

Are edited and deleted messages in the export?

An edited message appears with its final text and an "edited" field saying who changed it and when. The text before the edit, and messages that were deleted, are only there when the workspace is set to keep those logs. The three real exports we checked had none.

Is my export uploaded if I open it on this site?

No. The viewer and Team Wrapped both read the file inside your browser and send none of it anywhere. You can turn off your Wi-Fi after the page loads and they still work.

Do not have the zip yet? How to export Slack data takes an Owner or Admin about two minutes. For what Slack shows without an export, see the stats in Slack’s analytics dashboard.

Read enough JSON? See the show.

Drop the same zip on Team Wrapped and it becomes your team’s year in review: totals, top channels, top emoji and awards. The preview is free, and the file is read in your browser and never uploaded.