# How to export a chat to a CSV spreadsheet

## Quick answer

In TextPort:

1. Open the chat in **Saved Chats**.
2. Tap **Export** at the bottom.
3. Tap **Spreadsheet**. **Spreadsheet Preview** opens.
4. Tap the share button in the top right.
5. Tap **Share** to send it, or **Files** to save it.

## What you need

- TextPort on your iPhone
- A chat saved in TextPort

## Steps

1. Tap the chat in **Saved Chats**

   Open TextPort. The chat opens.

2. Tap **Export**

   It is the blue button at the bottom. **Export Chat** opens.

3. Tap **Spreadsheet**

   TextPort builds the file. **Spreadsheet Preview** opens.

   Tip: TextPort may ask you to unlock this.

4. Tap the share button

   It is the blue button in the top right. A card opens.

5. Tap **Share** or **Files**

   **Share** sends the file to an app. **Files** saves it on your iPhone or in iCloud Drive.

## Done

You have a CSV file. Each message is one row, with its type, date and time, name, phone or email, and text.

## Problems

| What you see | What to do |
| --- | --- |
| **Export Failed** | Tap **Try Again**. If it fails again, close the chat and open it once more. |
| A phone number or a message starts with an apostrophe. | TextPort adds it so the spreadsheet app keeps the number as text. You can leave it. |
| There is no **Timestamp** column. | The chat has its times hidden. In the chat, tap **…**, then **Show Timestamps**. Export again. |
| You need only some dates. | See [Export only a date range](https://textport.com/guides/export-only-a-date-range.md). |
| None of these match. | Email [support@textportapp.com](mailto:support@textportapp.com). Say which step you were on. Say what you saw. We usually reply within a day. |

## Questions

### Which apps open a CSV file?

Excel, Numbers, and Google Sheets all open it. So does any text editor.

### Are photos in the CSV?

No. The Attachment column shows the file name. To save the files, read [How to see all photos, videos, and files in a chat](https://textport.com/guides/browse-photos-videos-audio-and-files-in-a-chat.md).

## Next guides

- [How to export a chat to PDF](https://textport.com/guides/export-a-chat-to-pdf.md): You will get a PDF of one chat, with names, dates, and times, ready to share or print.
- [How to export a chat to a text file](https://textport.com/guides/export-a-chat-to-a-text-file.md): You will have a plain text file of the chat, with one line for each message.
- [How to export only a date range](https://textport.com/guides/export-only-a-date-range.md): Your export will hold only the messages between the dates you pick.
- [How to save an export to Files or iCloud Drive](https://textport.com/guides/save-an-export-to-files-or-icloud-drive.md): Your exported file will be saved in the Files app or in iCloud Drive.

## On other platforms

- On Mac: [How to export one chat to PDF, CSV, or TXT on Mac](https://textport.com/guides/export-one-chat-to-pdf-csv-or-txt-on-mac.md)
- On Windows: [How to export a conversation to PDF, CSV, or TXT on Windows](https://textport.com/guides/export-a-conversation-to-pdf-csv-or-txt-on-windows.md)

TextPort guide for iPhone. Updated 2026-11-05. Web page: https://textport.com/guides/export-a-chat-to-csv
