Switching to Slack? Move your data from any platform, like Microsoft Teams and Skype, using our import tool and a CSV or delimited text file. For information on importing data to Slack from other platforms, see Guide to Slack import and export tools.
Set up your CSV or text file
To get started, you'll need to set up your CSV/text file so it can be uploaded to a Slack workspace. Follow these rules to ensure your data is imported successfully:
Separate messages by row
Multi-line messages should be represented by raw newlines, but the text must be enclosed in "
Separate message data by column. Columns must follow this order: timestamp, channel, username, text
Sort messages by timestamp (earlier messages first)
All data must be in a single, uncompressed file
HTML will be escaped or skipped, with the exception of links shared in messages
Here’s an example of what the file should look like:
"1357559471","team-marketing","kathleen","When do our new print ads launch? I need to coordinate with the agency about our big event." "1357559472","team-marketing","olivia","Very soon!”
Note: At this time only the basics (channels, messages, and user accounts) can be imported via CSV/text file. If you’re importing from another Slack workspace, more robust types of data can be imported using our other import tools.
Upload your file to Slack
Click your organization name in the sidebar.
Hover over Tools & settings, then click Workspace settings.
Click Import/Export Data in the top right.
Click Import next to CSV/Text File.
Click Choose File under Your CSV File. A comma is the default, but you can change your Delimiter.
Click Start Import. Keep the Import page open while your file uploads. When finished, you'll get an email and a prompt to continue on the page.
From the email, click View Summary. On the Imports page, click Information required. Next, map your user and channel data.
Map user and channel data
Once your file has finished uploading, it’s time to map where data should go in Slack.
First, map users: Review the menu to choose how you’ll map users to existing members in Slack. If Create & invite user or Create a disabled user, without inviting them is chosen, an email address is required.
Choose Batch Actions for all users. Toggle to Unmapped to apply actions to anyone not mapped to existing users or All to apply actions to all users. Or, under View Users, apply an action to each user.
Next, map channels: Review the menu to choose how you’ll map channels in Slack. When a channel name matches an existing public channel, it will map automatically to merge. If no public channel name matches, a new channel will be created.
Under Batch Actions, you can choose an option to apply to all channels. Or, under View Channels, choose an action for each channel separately.
Click Save Changes.
Review your import, then click Yes, proceed with this import.
Note: Some messages may not be imported if the channel and user who posted the message are not both moved to Slack.