How to Export Text Messages to Excel or CSV (iPhone, Mac, and Windows)

Quick answer: Apple's Messages app has no export-to-spreadsheet option, so you need an export app to turn texts into Excel or CSV rows. On an iPhone with no computer, the TextPort iPhone app pulls an iMessage, SMS, WhatsApp, LINE, KakaoTalk, Instagram, or Messenger conversation and exports a CSV spreadsheet in minutes (one message per row with date, time, sender, contact, and text). On a computer, TextPort for Mac and TextPort for Windows export one conversation or your entire Messages history to CSV for free, with no account and no uploads. Every CSV file opens directly in Microsoft Excel, Google Sheets, and Apple Numbers.
Compare the ways to export text messages to Excel or CSV
Every method produces a table where each row is one message so you can sort by date, filter by sender, count messages, or search keywords.
| Method | Device needed | Format | Price | Best for |
|---|---|---|---|---|
| TextPort for iPhone | iPhone only (iOS 26.4+ for Messages Shortcut) | CSV (opens in Excel, Sheets, Numbers), PDF, TXT | First 3 chats import free; subscription to export | Exporting one chat right on your phone, or non-iMessage apps (WhatsApp, Instagram, Signal, Telegram) |
| TextPort for Mac | Mac (macOS 14.6+) | CSV, PDF, TXT + attachments ZIP | Free, no account | Exporting one or all iMessage/SMS conversations on a Mac |
| TextPort for Windows | Windows 10/11 PC + USB cable | CSV, PDF, TXT + attachments ZIP | Free, no account | Exporting iPhone iMessage/SMS history on a PC |
| iMazing | Mac or Windows + USB cable | Native Excel (.xlsx), CSV, PDF, TXT, RSMF | Paid yearly subscription | Native .xlsx files or full device management |
| Decipher TextMessage | Mac or Windows + USB cable | CSV, PDF, TXT, HTML | Paid one-time license | Desktop backup export or attempting deleted-message recovery |
Method 1: Export text messages to CSV on iPhone (no computer)
If you only have your iPhone — or need a spreadsheet from WhatsApp, Instagram DMs, Facebook Messenger, Signal, Telegram, LINE, or KakaoTalk — use the TextPort iPhone app.
- Install TextPort from the App Store and tap Add Chat.
- Bring the conversation in:
- iMessage and SMS (iOS 26.4+): Add the one-time TextPort Shortcut, pick the conversation and date range, and TextPort imports every message word for word with exact timestamps. See the TextPort Shortcut import guide.
- WhatsApp, LINE, or KakaoTalk: Use the app's built-in chat export and share the file to TextPort.
- Instagram or Messenger: Import the JSON export Meta sends you, or use a screen recording when you need a chat immediately.
- Signal, Telegram, Snapchat, or any other app: Import screenshots or a screen recording and review any lines before exporting.
- Export as Spreadsheet (CSV): Open the conversation in Saved Chats, tap Export, and choose Spreadsheet.
- Save or share: In Spreadsheet Preview, tap the share button and choose Files to save the
.csvon your iPhone or iCloud Drive, or Share to open it in Excel, Numbers, or email it to yourself.
The step-by-step export a chat to CSV guide shows every screen.

Method 2: Export iMessages and SMS to CSV for free on a Mac
If you have a Mac signed in to the same Apple Account, TextPort for Mac is free on the Mac App Store, stays on your computer, needs no account, and needs no USB cable or iPhone backup.
- Turn on Messages in iCloud on your iPhone and Mac (Messages > Settings > iMessage > Enable Messages in iCloud) so your full iPhone history syncs to the Mac.
- Open TextPort for Mac and select your Messages folder the first time it asks.
- Click a conversation, click Export, deselect PDF, select Spreadsheet, and click Export to save the
.csvfile. - To export every conversation at once (one CSV per chat), choose File > Export All.
See the Mac export guide for screenshots of each step.
Method 3: Export iPhone text messages to Excel or CSV for free on Windows
Windows cannot sign in to iMessage directly, so exporting on a PC reads an iPhone backup. TextPort for Windows is free on the Microsoft Store, stays on your PC, needs no account, and handles the backup for you.
- Install Apple's Apple Devices app (or iTunes on older Windows 10) and open TextPort for Windows.
- Connect your iPhone over USB and tap Trust on the phone. TextPort creates a local backup and starts showing conversations in about 10 minutes (or you can open an existing unencrypted backup already on your PC).
- Select a conversation (or choose Export all conversations…), check Spreadsheet (CSV), and pick a folder.
See the Windows export guide for the full walkthrough.
Paid desktop tools if you need native .xlsx or deleted-message recovery
Two paid desktop backup tools are worth considering if your workflow specifically requires what they add:
- iMazing (Mac and Windows, yearly subscription) reads an iPhone backup and can save directly as a native Excel
.xlsxworkbook in addition to CSV, PDF, TXT, and e-discovery RSMF. - Decipher TextMessage (Mac and Windows, one-time license) exports CSV, PDF, TXT, and HTML from an iPhone backup and can attempt to recover deleted messages still present in a backup database.
For standard spreadsheet work — filtering, sorting, counting, and searching in Excel or Google Sheets — a UTF-8 CSV from TextPort works the same way as .xlsx without paying for desktop backup software.
What columns are in the exported CSV
Each row in the spreadsheet is one message, in chronological order:
- Type: Incoming or outgoing message.
- Timestamp: Date and time each message was sent or received.
- Name: Contact name as saved on your device.
- Contact: Phone number or email address.
- Message: Full text of the message.
- Attachment: File name of any photo, video, or audio attachment (on Windows, notes whether an attachment was present).
On iPhone and Mac, TextPort prefixes any cell starting with =, +, -, or @ with a leading apostrophe so Excel and Google Sheets treat phone numbers and message text as plain text instead of formulas.
How to open a text-message CSV cleanly in Excel, Google Sheets, and Numbers
Double-clicking a .csv file works most of the time, but Microsoft Excel on Windows and Mac sometimes guesses the wrong character encoding and scrambles emoji, curly quotes, or accented names.
- Microsoft Excel (clean UTF-8 import): Open a blank workbook, click Data > From Text/CSV, choose your
.csvfile, set File Origin to 65001: Unicode (UTF-8), and click Load. If dates appear as####, widen the Timestamp column. - Google Sheets: Open a new sheet, click File > Import > Upload, drop in the
.csvfile, and choose Replace spreadsheet. UTF-8 emoji and dates import automatically. - Apple Numbers: Double-click the
.csvfile on Mac, or tap it in the Files app on iPhone and choose Share > Numbers.
If you also want a formatted, paginated copy to print or hand to a lawyer or HR, see how to export iPhone messages to PDF or turn a chat into a spreadsheet with TextPort.
Frequently asked questions
-
Not with Apple's built-in Messages app, which has no export button. You need an export app. On iPhone without a computer, the TextPort iPhone app imports an iMessage, SMS, or WhatsApp conversation and exports it as a CSV spreadsheet that opens directly in Excel, Google Sheets, or Numbers.
-
Yes, on a computer. TextPort for Mac and TextPort for Windows are both free, require no account, and export one conversation or your entire Messages history to CSV with no message cap. On iPhone alone, TextPort imports your first 3 conversations for free, and exporting requires a subscription.
-
Yes. Every CSV file opens in Microsoft Excel, Google Sheets, and Apple Numbers, with one message per row. If emoji or accented letters look scrambled when you double-click the file in Excel, open a blank workbook, click Data > From Text/CSV, pick your file, and set File Origin to 65001: Unicode (UTF-8).
-
Each row is one message. On iPhone and Mac, the columns include message type, timestamp, sender name, phone number or email, message text, and attachment file name. On Windows, the columns cover timestamp, sender, message text, and whether an attachment was included.
-
No. CSV is a plain-text spreadsheet format, so it cannot embed images inside cells. TextPort lists the attachment file name (or notes that an attachment was present on Windows) in its own column, and TextPort for Mac and Windows can export every photo, video, and file in a separate ZIP archive.
Start exporting your messages
Available for iPhone, Mac, and Windows. No computer required.