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

7 min read

An iPhone showing a text conversation beside a laptop displaying a clean spreadsheet grid on a sunlit wooden desk.

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.

  1. Install TextPort from the App Store and tap Add Chat.
  2. 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.
  3. Export as Spreadsheet (CSV): Open the conversation in Saved Chats, tap Export, and choose Spreadsheet.
  4. Save or share: In Spreadsheet Preview, tap the share button and choose Files to save the .csv on 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.

TextPort Spreadsheet Preview on iPhone showing columns for Type, Timestamp, Name, Contact, Message, and Attachment.

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.

  1. 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.
  2. Open TextPort for Mac and select your Messages folder the first time it asks.
  3. Click a conversation, click Export, deselect PDF, select Spreadsheet, and click Export to save the .csv file.
  4. 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.

  1. Install Apple's Apple Devices app (or iTunes on older Windows 10) and open TextPort for Windows.
  2. 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).
  3. Select a conversation (or choose Export all conversations…), check Spreadsheet (CSV), and pick a folder.

See the Windows export guide for the full walkthrough.

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 .xlsx workbook 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 .csv file, 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 .csv file, and choose Replace spreadsheet. UTF-8 emoji and dates import automatically.
  • Apple Numbers: Double-click the .csv file 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

TextPort

Start exporting your messages

Available for iPhone, Mac, and Windows. No computer required.

Download for iPhone