Text Messages in a Criminal Case: What to Give Your Defense Lawyer and What Not to Delete

10 min read

An iPhone showing a text conversation next to printed messages in a manila envelope, a legal pad, a fountain pen and glasses on a lawyer's desk.

To get text messages off your iPhone for your criminal defense attorney, keep everything, then export each whole conversation your lawyer asks for as a PDF with TextPort, an iPhone app (TextPort on the App Store), and send it to your lawyer only, not to the police, the prosecutor or the other person. TextPort puts the sender, date and time on every message and needs no computer. Don't delete or change anything on the phone: deleting evidence can be a crime of its own, and your lawyer may want the messages in another form, or an expert to examine the phone itself.

Ask your lawyer first which conversations and dates they want and how they want the files sent. The export itself is the same as for any lawyer, step by step in how to send text messages to a lawyer. This page covers what's different in a criminal case: what not to delete, who not to share the texts with, and when the prosecution may see them.

This is general information about U.S. criminal cases, not legal advice. Your lawyer decides what to do with the texts, and the rules differ by state and between state and federal court. If you don't have a lawyer yet, contact your county's public defender's office: the San Francisco Public Defender, for one, asks people who were arrested or think they're under investigation to call even before charges are filed.

How to get the texts off your phone

Your phone or computer What to use What you get
iPhone, no computer TextPort, an iPhone app The whole conversation for the dates you pick, as a PDF with the sender, date and time on every message and numbered pages. Also CSV or plain text.
Mac TextPort for Mac (free), or Messages' File > Print A PDF of any conversation on the Mac. Apple's Messages guide prints or saves the conversation that's open.
Windows PC, texts from an iPhone TextPort for Windows (free) Any conversation in a backup of the iPhone, as a PDF

TextPort is free to download and imports your first 3 conversations free; exporting needs a subscription. The Mac and Windows apps are free.

Texts in a criminal case, step by step

  1. Don't delete or change anything. Not the texts that look bad, not the whole chat, not the app, and don't edit or unsend messages. Turn off automatic deletion: Settings > Apps > Messages > Keep Messages > Forever. Deleting evidence can be a crime of its own (see below), and don't count on the other person still having a copy.
  2. Ask your lawyer what they want and how. Usually it's every conversation with the people involved, from before the events to now. Ask how they want the messages collected and sent, and write the list down.
  3. Export each whole conversation for those dates. In TextPort, import the chat and pick the date range. Export the whole conversation, both sides, rather than single messages: your lawyer needs the context, including the messages that hurt.
  4. Send the files only to your lawyer, the way they ask. Use the method your lawyer gives you. Don't forward the texts to friends, family or the other person, and don't post about them.
  5. Keep the phone as it is. Don't reset it, trade it in or let someone else "clean it up." If anyone questions whether the messages are real, your lawyer may want the original phone examined.

Don't delete anything, even what hurts

Deleting or hiding messages can be charged separately from whatever you're accused of, and under federal and Texas law that can apply even before an investigation starts:

If you already deleted something, tell your lawyer; don't try to fix it yourself.

Talk about the texts with your lawyer only

The San Francisco Public Defender tells clients: "It is very important that you do not talk to anyone about your matter, including the police, without a lawyer being present." It also explains why: "only conversations between you and your lawyer are protected by attorney-client privilege and are confidential." That protects your conversations with your lawyer, not the texts themselves: sending a text to your lawyer doesn't stop the prosecution getting the same message elsewhere. Texts you send a friend about the case aren't protected, and the office warns that "All conversations from the jail with anyone other than your lawyer are recorded." If you're in custody, ask your lawyer how to reach them confidentially.

If police ask for your phone or messages

So export the texts for your lawyer, not for the detective, the prosecutor or the person on the other side of the conversation. If police ask you to hand over your phone or your messages, or to agree to a search, say you want to talk to your lawyer first. A warrant, subpoena or court order is different: it can be binding, so contact your lawyer right away about what it requires.

Contact with the other person or a witness

Follow any release or no-contact order, and talk to your lawyer before you contact the other person or a witness about the case, yourself or through anyone else; let your lawyer handle any request for their messages. A federal court can order a defendant, as a condition of release, to "avoid all contact with an alleged victim of the crime and with a potential witness who may testify concerning the offense", and using intimidation, threats or corrupt persuasion to get someone to hold back testimony or to change, hide or destroy evidence is a separate federal crime (18 U.S.C. § 1512).

What happens to the texts after your lawyer has them

Your lawyer reads them, decides which help and which hurt, and decides whether to use any. Using them can have a cost: in federal court and in California, for example, the defense must let the prosecution see what it plans to use at trial.

That's why the choice belongs to your lawyer. Give them everything, and let them decide.

If the prosecution uses part of a conversation

If the prosecution uses part of a conversation against you, your lawyer can ask to bring in more of it. Under Federal Rule of Evidence 106, when a party introduces part of a statement, the other side "may require the introduction, at that time, of any other part — or any other statement — that in fairness ought to be considered at the same time." It "may do so over a hearsay objection." With the surrounding messages in hand, your lawyer can see what's missing.

If the police have your phone

Then you can't export from it. Your lawyer can ask what investigators copied from it and seek access through discovery. In federal court, the government must let the defense inspect and copy data it holds, on request, if it "was obtained from or belongs to the defendant" (Rule 16(a)(1)(E)), though the court can, for good cause, "deny, restrict, or defer discovery or inspection" (Rule 16(d)). States have their own discovery rules.

Your messages may also be on another device. If Messages in iCloud syncs them to a Mac, TextPort for Mac exports them there for free, and a backup of the iPhone on a Windows PC can be read with TextPort for Windows. Ask your lawyer before you open the account or the backup.

If you're the victim or a witness

The same export works the other way round. Keep everything and export the whole conversation for the dates involved. If the messages could implicate you in anything, talk to your own lawyer before you hand them over. Otherwise, ask the detective or the victim advocate at the prosecutor's office how they want to receive them, and keep the original messages on your phone. If you're being harassed or threatened by text, see how to report harassing text messages and how to get a restraining order.

How a court decides the texts are real

Before texts are used as evidence, someone has to show they're what they claim to be. Federal Rule of Evidence 901 asks for "evidence sufficient to support a finding that the item is what the proponent claims it is": for example, testimony from someone who sent or received the messages, or distinctive features of the messages themselves. A TextPort PDF shows the messages you imported, and one made from a screen recording is read from the recording, so check it against the phone, keep the originals and tell your lawyer about any gaps. If authenticity is fought over, your lawyer may want an expert to examine the phone itself. More in how to authenticate text messages for court.

Saving the texts as one dated PDF

TextPort's PDF preview on an iPhone, with the date and time above each message of a conversation.

TextPort turns a conversation into one PDF on your iPhone, with no computer, ready to send to your lawyer.

  • iMessage and SMS come in through the TextPort Shortcut (iOS 26.4 or later), word for word with each message's date and time, for the date range you pick. On an older iOS version, record your screen while you scroll and TextPort reads the messages from the recording; check them against your phone before you export.
  • WhatsApp comes in from WhatsApp's own Export Chat file, LINE and KakaoTalk chats from their own export files, and Instagram and Messenger chats from the export Meta sends you. Signal, Snapchat and other apps come in from screenshots or a screen recording. The date picker isn't available for those, so capture the dates you need.
  • The export is a PDF with the sender, date and time above every message and numbered pages, a CSV spreadsheet your lawyer can sort and search, or plain text. Photos from iMessage and WhatsApp chats print in the PDF. For a long thread, the Transcript layout numbers every message, so you and your lawyer can point to "message 214."

Frequently asked questions

TextPort

Start exporting your messages

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

Download for iPhone