How to Export Microsoft Teams Messages
In this article
Microsoft Teams does not have a single "export chat" button for regular users, but you can still get a copy of your messages. The official way is to use the built-in export feature for a single conversation, which saves the chat history as a text file. For a full mailbox-style export of all your Teams data, you need to go through the Microsoft 365 compliance center or ask your IT admin. This guide covers both routes, plus the common mistakes and fixes.
What You'll Need
- A Microsoft Teams account (work or school) and the Teams app on desktop or web. The export option is not available on the mobile app.
- Permission to access the conversation you want to export. You can only export chats you are part of.
- For a full organisational export: admin access to the Microsoft 365 compliance center, or a request to your IT administrator.
- Enough free disk space for the exported file (text files are small, but long chats with attachments can add up).
Step-by-Step
- Open Teams on desktop or web. The export option is not available in the mobile app. Sign in with your work or school account.
- Go to the chat or channel you want to export. In the left sidebar, click Chat and select the conversation. For a channel, open the team and then the channel. Note that channel export works differently: you can copy messages manually or use the compliance export (see step 8).
- Open the conversation menu. In the chat header, click the More options button (three dots) next to the participant names. The exact label may vary slightly by version.
- Choose “Export chat history” (or similar wording; labels can differ by version and region). If you do not see this option, your organisation may have disabled it, or you are in a channel rather than a chat.
- Select a location and save the file. Teams saves the conversation as a .txt file. The file includes the message text and timestamps, but not attachments or images.
- Open the file to verify. Use any text editor. Check that the messages you need are present. If the file is empty or incomplete, see Troubleshooting.
- For attachments, download them separately. Open each file in the chat and use the download button. There is no bulk attachment export for regular users.
- For a full organisational export, use the compliance center. This requires admin rights. Go to the Microsoft 365 compliance center, then Information governance > Content search. Create a search for Teams messages, then export the results. This produces a PST file or a set of items you can review. If you are not an admin, ask your IT department to run this for you.
Common Mistakes
- Looking for export on mobile. The mobile app does not offer chat export. Use desktop or web.
- Expecting attachments in the text file. The exported .txt contains only message text and timestamps. You must download files and images individually.
- Trying to export a channel like a chat. Channel messages do not have the same per-conversation export option. Use content search or copy manually.
- Assuming the export includes deleted messages. It does not. Only messages visible in the conversation at the time of export are included.
- Using a personal Microsoft account. Teams free (personal) has limited features and may not offer export. The steps above are for work or school accounts.
Tips
- Export before leaving a team or chat, because you lose access once removed.
- For long chats, scroll up to load older messages before exporting; Teams may only export what is currently loaded.
- If you need a formatted record, open the .txt in a word processor and apply styles, or use a PDF printer.
- For legal or HR purposes, use the compliance center export rather than the user-level export, as it is more complete and auditable.
- Check your organisation’s data retention policies; some messages may be automatically deleted after a set period.
Troubleshooting
- Export option is missing: Your admin may have disabled it. Contact your IT support. Also confirm you are in a chat, not a channel.
- File is empty or incomplete: Scroll up in the chat to load more history, then try again. If the problem persists, sign out and back in, or try the web version.
- Export fails with an error: Check your internet connection and try a different browser. Clear the Teams cache (sign out, then delete the Teams cache folder) and retry.
- Cannot find the compliance center: You need an admin account. Ask your IT department to perform the export for you.
- Messages are missing after export: The export only includes messages currently visible. If messages were deleted or are in a hidden channel, they will not appear.
Frequently Asked Questions
Can I export a Teams chat on my phone?
No. The export chat history option is only available on the desktop and web versions of Teams. Use a computer to export.
Does the export include attachments and images?
No. The exported .txt file contains only text messages and timestamps. You must download attachments and images separately.
Can I export an entire channel?
Not with the per-chat export. For a full channel export, an admin can use the Microsoft 365 compliance center content search. Regular users can copy messages manually.
Why don’t I see the export option?
Your organisation may have disabled it, or you might be in a channel rather than a chat. Check with your IT admin.
Does export work with Teams free (personal)?
Teams free has limited features and may not offer chat export. The steps here are for work or school accounts.
Can I export messages from a team I’ve left?
No. You lose access to the conversation when you leave, so export before leaving.