Chain of Custody Template for Digital Files (With Metadata Checklist)

Three cards labelled Client, Intake and Originals joined by arrows above a navy handling log, in navy and teal

A chain of custody record for a digital file answers one question in order: where did this file come from, who has handled it since, and what was done to it each time? For client-supplied files, that record starts the moment the file arrives, and it is much easier to keep going than to rebuild. This guide gives a template you can copy into your matter system, a short checklist for preserving metadata when you copy and store files, and notes on email and attachments. It is process and technology help for practices, not a guide to evidence law.

Table of Contents

What a custody record is for

Standards bodies describe the same core habit in different words. The ACPO Good Practice Guide for Digital Evidence, written for UK police and widely cited since, has as its third principle: “An audit trail or other record of all processes applied to digital evidence should be created and preserved.” NIST IR 8387, a 2022 report on digital evidence preservation written for law enforcement evidence handlers, lists documentation of the original source of a file, and how it was created by or transferred to law enforcement, first among its chain of custody points. ISO/IEC 27037 is an international standard for identifying, collecting, acquiring and preserving digital evidence.

For a practice, the point is practical. When a client hands over a phone export, a drive or a folder of attachments, someone may later need to say what arrived, when, from whom, and what has happened to it since. A one-page record, filled in at the time, is quicker than a reconstruction from memory.

What metadata is, and why copying and converting can change it

Practice Direction 57AD (for the Business and Property Courts of England and Wales) defines metadata as data about data. For an electronic document, it is typically embedded information, such as the date and time a word-processing file was created or modified, which is not readily accessible once the native file has been converted into an image or paper. The same practice direction says that, unless otherwise agreed or ordered, disclosable electronic documents are produced in their native format in a way that preserves metadata.

There are two kinds of dates to keep in mind. The file system keeps its own timestamps for each file. NIST SP 800-86 describes the modification, access and creation times, and notes that when a file is copied to a new system, the creation time generally becomes the time of the copy, while the modification time stays intact. The file itself can also carry embedded properties, such as an author field or a last-saved date, which change when the file is saved.

Some everyday actions that change or lose this information:

  • Opening a file and saving it, even without edits, can update its embedded properties and its modified date.
  • Printing to PDF, scanning or converting to another format creates a new file with different properties.
  • Copying or syncing can reset some file system dates, depending on the tool.
  • Forwarding an email creates a new message with its own details.
  • Downloading from a portal or cloud service may give you a different file from the one a person uploaded, for example if the service converts it.

None of these is a problem if you know about it and keep the original. They become a problem when the only copy on file is the one that was tidied.

Intake: what to do before anyone opens the file

Treat the first ten minutes as the part that cannot be repeated.

  1. Do not open files from the original medium. Copy first. Plug a client’s drive into a machine you control, set it read-only if your system allows, and work from copies.
  2. Record where it came from. Who sent it, by what route (email, courier, portal, drive), when it arrived, and a contact for questions.
  3. Capture a listing of what arrived. File names, sizes and dates as the files appear before you touch them. A directory listing exported to a spreadsheet is enough. In PowerShell: Get-ChildItem -Path "D:\" -Recurse -File | Select-Object FullName, Length, CreationTime, LastWriteTime, LastAccessTime | Export-Csv -Path "C:\Matters\Smith\arrival-listing.csv" -NoTypeInformation. On a Mac, ask your IT provider for the equivalent listing.
  4. Hash every file. Use SHA-256 and keep the manifest. Our hashing guide has the Windows and Mac commands.
  5. Copy to the originals location. Use a copy method that keeps file dates where it can (see the next section), then hash the copies and compare them with the hashes from step 4.
  6. Lock the originals. Make the originals folder read-only for most staff, and create a working copy for anyone who needs to open, annotate or convert files.
  7. Start the log. Add the first line to the handling log below.
  8. Date the manifest. If you want a dated record of the manifest, TimeBind it, or the key files.

A custody record template you can copy

The intake record, one per delivery:

FieldWhat to write
Matter and delivery referenceMatter number plus a delivery number, for example 2026-1043 / D1
Received fromName, role and contact details
Route and date/time receivedEmail, courier, portal, hand delivery; date and time in the firm’s time zone
Medium and identifierFor example “USB drive, 64 GB, serial or label”; for email, the message subject, sender and date
ContentsNumber of files, total size, a short description
Arrival listing saved atPath of the saved listing (names, sizes, dates)
Hash manifest saved atPath of the saved manifest, and where its separate copy is held
Originals stored atPath or library
Recorded byName and date

The handling log, one line each time a file is accessed, copied, converted or moved:

Date and timePersonActionFrom → toHash before and afterTool or method
4 Dec 2026 10:20A. LeeCopied originalsClient drive → Originals folderCompared: identicalRobocopy, then SHA-256 check
4 Dec 2026 11:05A. LeeMade working copyOriginals → Working folderCompared: identicalFile copy

The two example rows are illustrations of the format, not real entries. The log does not need to be elaborate. It needs to be filled in at the time, by the person who did the work, and stored apart from the files it describes. NIST IR 8387 recommends storing hashes in a secure location where they cannot be changed or overwritten, so that there is a record of the hash that people with access to the evidence cannot alter.

How to copy files and keep their dates and attributes

Different tools preserve different details, so use one you have tested. Two common choices:

  • Windows: Robocopy can copy file data, attributes and timestamps. A typical command is robocopy "D:\ClientDrive" "C:\Matters\Smith\Originals" /E /COPY:DAT /DCOPY:T /R:1 /W:1 /LOG:"C:\Matters\Smith\copy-log.txt". The log file is a useful record in itself.
  • Mac and Linux: cp -p preserves modes and timestamps, and rsync -a preserves a wider set of attributes.

Test your method on a dummy file first: note its dates, copy it, and compare the dates and the hash of the original and the copy. NIST SP 800-86 notes that not all collection methods preserve file times, so test rather than assume. If the dates matter to the matter, keep the arrival listing from step 3 of the intake checklist as a record of what you saw before copying.

For whole drives or devices, or where the circumstances are contentious, a forensic collection by a specialist is a different thing from a copy made in the office. Ask the specialist early, because hashing and imaging are easiest to do at the start.

Email and attachments

Email is where many client-supplied files arrive, and where metadata is most easily lost.

  • Keep the native message. Save important emails as messages (for example .msg or .eml), in addition to any PDF. A PDF is a reading copy and does not carry everything the message did.
  • Keep attachments inside the message they arrived in. If someone needs to work on an attachment, save a copy for them and leave the original attachment in the message.
  • Hash the attachment as received. Save it out to a folder without opening it, hash it, and record the value.
  • Forwarding makes a new message. If the client’s original message matters, ask for it to be sent as an attachment or exported, not just forwarded.
  • Record the thread. Subject, sender, date and time received, and the folder where the native copy is stored.

Disclosure practice notes point the same way. PD 57AD expects native production with metadata preserved, and the Federal Court of Australia’s electronic discovery checklist asks parties to consider a strategy for preserving potentially discoverable documents in their original format. Keeping the native version from day one makes either easy to meet.

Working copies, annotations and conversions

Make it a rule that nobody works on the original. Create a named working copy, and record in the log when it was made and from which hash. When you convert a file, for example to PDF for a bundle, save the converted file under a new name and add a line to the log: from which original, by whom and with what tool. The converted file will have a different hash, which is expected. The log links the two.

When you send files out, to an expert, a vendor or another party, send the hash list with them and ask the recipient to confirm the hashes on receipt. Log what you sent, to whom and when. The same applies in reverse when files come back.

Keeping the record where it counts

The weak point in any custody record is that you wrote it and you hold it. NIST IR 8387 describes weaknesses such as changing a file before it is hashed, or changing a file and overwriting the stored hash, and recommends hashing as close to collection as possible and storing hashes where they cannot be changed. Practical measures follow: hash on arrival, store the manifest in a second location with different access, and, for the sets that matter, add an independent date.

An independent timestamp does that last step. It does not replace the log, the manifest or your own care. It adds a date from outside your systems for the file or manifest you submit.

Sources and further reading

This page is general information about technology and process for practices, as at 4 December 2026. It is not legal, financial or security advice, and rules on electronic evidence differ by jurisdiction. Sources:

Where TimeBinder fits

The intake checklist has one step that benefits from an outside date: step 8. A TimeBind records that your exact file existed no later than the recorded time, using SHA-256 fingerprints anchored in Bitcoin’s blockchain. If you TimeBind the hash manifest, or the key files, on the day they arrive, you hold a record that the exact manifest or files existed no later than the recorded time, which does not depend on your own log. It doesn’t show who created a file or that its contents are true, and it doesn’t guarantee that a court or counterparty will accept a record. It relies on SHA-256 and Bitcoin staying secure, which experts currently expect, but no one can guarantee future cryptography. Your files stay on your device; only their fingerprint is sent. Our guide to hashing a file on Windows and Mac covers the manifest commands, and our page on timestamping at matter intake shows how law firms use it.

Date the manifest of the next client delivery on the day it arrives. Your first Pooled TimeBind is free, then from US$5. Make a TimeBind →

Frequently Asked Questions

  1. What is a chain of custody record for digital files?

    It is a written record of where a file came from and everything that has happened to it since: who received it, who copied or converted it, when, and how. For digital files it usually includes hash values taken at each stage.

  2. What should I record when a client sends files?

    Who sent them, how and when they arrived, a listing of names, sizes and dates, a hash for each file, where the originals are stored, and who recorded all this. The template above lays it out.

  3. Does opening a file change its metadata?

    It can. File systems keep an access time, and saving a file after opening it updates embedded properties and the modified date. That is why the first step is to copy and hash, and work from copies.

  4. Is a PDF printout of an email enough?

    A PDF is a good reading copy, but it does not carry everything the native message did. Practice Direction 57AD notes that metadata is not readily accessible once a native document is converted to an image or paper. Keep the native message as well.

  5. How do I copy client files and keep their dates?

    Use a tested tool such as Robocopy on Windows (with the /COPY:DAT option) or cp -p or rsync -a on a Mac, then hash the original and the copy and compare. Test on a dummy file first, because tools differ.

  6. When do I need a forensic specialist?

    For whole devices, deleted data, or anything contentious, a specialist can collect and image the data in a way an office copy cannot. Call early, before the device is used or copied.

  7. How much does a TimeBind cost?

    Your first Pooled TimeBind is free, then from US$5.