Skip to content

Convert Slack messages exported in their complicated JSON format to simple CSV format, by channel or entire exported workspace

License

Notifications You must be signed in to change notification settings

pszemraj/Slack-Export-JSON-to-CSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack-Export-JSON-to-CSV

Convert Slack messages exported in their complicated JSON format to simple CSV format.

this is a fork with upgraded functionality, i.e. it can handle multiple channels and users

usage

converting one file

python slack_json_to_csv.py folder_of_channel_to_export path_to_slack_users.json path_to_output_slack_messages.csv

eg.

python slack_json_to_csv.py slack_export/channelA slack_export/users.json output.csv

converting multiple files

  • first, unzip the exported file from slack, root folder that contains all channels in subfolders
  • then, run the following command
python convert_workspace.py -i PATH_TO_ROOT_FOLDER -o PATH_TO_OUTPUT_FOLDER -u PATH_TO_USERS_JSON -t FILE_TYPE_FOR_EXPORT

About

Convert Slack messages exported in their complicated JSON format to simple CSV format, by channel or entire exported workspace

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%