How to export Android text messages to a file
Android keeps your texts in the phone, with no button to export them. A free backup app writes them to a file, and that file is what ChatExhibits reads. Here are the two apps that write a format it reads, step by step.
By Martin Ferret · Published · Last updated
With SMS Backup & Restore
- 1Install SMS Backup & Restore from Google Play and open it. Grant the permissions it asks for, so it can read your messages.
- 2Set up a backup and choose Messages. Call logs are a separate backup you can leave out.
- 3Choose where to keep it: on the phone, or on Google Drive, Dropbox or OneDrive.
- 4Start the backup and wait until it says it is complete.
A backup kept on the phone goes to the SMSBackupRestore folder of its main storage. The file is named after its date, like sms-20240331210512.xml.
Getting the file to your computer
- 1Use the app’s Send backup file option, or connect the phone to the computer with a cable and copy the SMSBackupRestore folder.
- 2With a backup kept only in the cloud, download it from that cloud service: the app deletes its local copy once uploaded.
- 3Open ChatExhibits and drop the .xml file. The backup holds every conversation; you choose the one you need.
With SMS Import / Export (open source)
- 1Install SMS Import / Export from F-Droid, IzzyOnDroid or its GitHub page.
- 2Open it and use its button to export messages.
- 3Choose where to save the ZIP in the file picker, then wait for the summary with the number of messages.
- 4Drop the ZIP on ChatExhibits as it is: it holds messages.ndjson and a data folder for photos.
Good to know
- Samsung Smart Switch backups are encrypted and cannot be read in a browser.
- SyncTech notes that some RCS messages may not be in a backup.
- Drafts and messages that were never sent are left out of the document, and the number is said.
Sources
- SyncTech, SMS Backup & Restore, read on
- SyncTech, How do I access the backup files?, read on
- SMS Import / Export, README (tmo1/sms-ie), read on
Common questions
Is SMS Backup & Restore free?
It can be installed from Google Play at no cost; check the store page for what any paid option adds. SMS Import / Export is free and open source.
Where is the backup on my phone?
In the SMSBackupRestore folder of the phone’s main storage, unless you chose another folder in the app’s backup settings.
Do I need the call log backup?
No. ChatExhibits reads messages. A call log file is recognized and set aside.
Keep reading
- Export a WhatsApp Chat on iPhone or AndroidStep-by-step export instructions for iPhone and Android, what “Attach Media” changes, what WhatsApp Desktop can export, and what ends up inside the ZIP.
- WhatsApp Export Format: the TXT and ZIPWhat is inside a WhatsApp export: the two timestamp formats, the invisible direction marks, attachment lines on iOS and Android, and how media is named.
- What Is Bates Numbering? Format, ContinuityWhere the name comes from, what a Bates number looks like, why it runs continuously across a production, and what stamping one does not accomplish.
- SHA-256 File Integrity: Is a File Unchanged?What a hash is, why changing one byte changes the whole digest, how to compute one on macOS, Windows and Linux, and what a digest cannot tell you.
- WhatsApp Chat to PDF for CourtTurn a WhatsApp export into a dated, page-numbered PDF with a SHA-256 certificate, read in your browser. Made for people who need to show what was said.
- Android SMS to PDF as EvidencePrint Android text messages from an SMS Backup & Restore file as a dated, numbered PDF with photos and a certificate. Nothing is uploaded.
- Messenger Messages as Evidence, in a PDFTurn the Messenger conversation in your Facebook data download into a dated, numbered PDF with photos, reactions and a SHA-256 certificate.
- Instagram Messages as Evidence, in a PDFPrint an Instagram direct message conversation from your data download as a dated, numbered PDF with its photos and a certificate, in your browser.
- Telegram Chat to PDF for CourtTurn a Telegram Desktop export, JSON or HTML, into a dated, page-numbered PDF with photos, voice messages and a SHA-256 certificate.
- Export iMessage to PDF for CourtTurn iMessage and iPhone SMS from a Mac or an unencrypted iPhone backup into a dated, numbered PDF with a certificate, read in your browser.
- How to Download Your Messenger MessagesDownload your Messenger conversations with Export your information, in JSON, plus the backup of end-to-end encrypted chats, step by step.
- How to Download Your Instagram MessagesDownload your Instagram direct messages with Export your information, in JSON, step by step, with how long it takes and what is left out.
- How to Export a Telegram ChatExport a Telegram chat or all your data from Telegram Desktop, in machine-readable JSON, step by step. The phone apps have no export.
- How to Export iMessages and iPhone SMSGet your iMessages and iPhone texts as a file: chat.db on a Mac, an unencrypted iPhone backup, or an iMazing CSV, step by step.
- Messages as Evidence: What to KnowWhat the rules in France, the United States and Spain say about messages as evidence, with sources, and what ChatExhibits does not replace.