How to open a .tsr file (time stamp)
What a .tsr file is, how to open it in the browser, with signature software or OpenSSL, what each field means and how to pair it with the original file it refers to.
Updated on
A .tsr file is a separate time stamp: it contains the fingerprint of another file, a date, a time and the provider's signature, but not the document. You can open it with the free tool Check a time stamp, with a signature-verification program or with OpenSSL. On its own it is not enough: to know which document it refers to, you need the original file.
What a .tsr is
The extension stands for time-stamp response, the response defined by the RFC 3161 standard. It is what a provider returns when you send it a file's fingerprint (hash). It is usually between one and a few kilobytes, whatever the size of the time-stamped file.
Opened in a text editor it shows only gibberish: it is a signed binary file, not a document to read. Do not edit it or save it with another program, because the provider's signature would stop being valid.
How to open it
| Tool | What it shows | Original file needed? |
|---|---|---|
| Check a time stamp, in your browser | Provider, date and time, serial number, fingerprint | Optional: if you choose it, the tool says whether it matches |
| Signature-verification program | Time stamp data and the provider's certificate chain | Usually yes, to complete the check |
OpenSSL: openssl ts -reply -in stamp.tsr -text | Every field of the time stamp, as text | No, for reading only |
With Anycert's tool:
- open Check a time stamp;
- in the field "Time stamp (.tsr, .tsd or .m7m)" choose the .tsr;
- in the field "Original file" choose the document you think it refers to;
- read the result: the file matches, or it does not.
Everything is read on your device: neither the time stamp nor the file is uploaded.
What it contains, field by field
Opened with OpenSSL, a .tsr shows a list of fields. Here is an example, with test values and the provider's name replaced by a placeholder:
| Field (OpenSSL) | Example | Meaning |
|---|---|---|
| Status | Granted | The time stamp was granted |
| Hash Algorithm | sha256 | The fingerprint algorithm |
| Message data | 490a0ac72ca0eae2… (shown by OpenSSL in blocks) | The fingerprint of the time-stamped file |
| Serial number | 0x1A2B3C | The time stamp's serial number |
| Time stamp | Feb 3 09:15:00 2026 GMT | Date and time, in UTC (GMT) |
| Accuracy | 0x01 seconds | The maximum deviation, one second |
| TSA | Provider name | Who issued the time stamp |
The time is always in Coordinated Universal Time: 09:15 UTC on 3 February is 10:15 in Paris, Rome or Berlin.
Why it is not enough on its own
The time stamp contains only the file's fingerprint, a string of 64 characters (with SHA-256). The document cannot be rebuilt from the fingerprint, nor can you tell what it is about. So the .tsr says: "a file with this fingerprint existed at 09:15 UTC on 3 February 2026". To know which file, you need the document and must check that its fingerprint is the same.
| You have | What you can prove |
|---|---|
| The .tsr and the original file, unchanged | That this file existed at that date: the proof is complete |
| Only the .tsr | That some unknown file existed at that date: in practice, nothing |
| Only the file | Nothing about its date |
| The .tsr and an edited version of the file | Nothing: the fingerprints do not match |
How to pair the .tsr with the right file
When there are many files, or the time stamp arrived by email with a generic name:
- Open the .tsr with the verification tool and note the time-stamped fingerprint and the date.
- Look for files created or received around that time.
- Choose each candidate in the "Original file" field until the page says the file matches.
On Anycert the time stamp sent by email is called marca-temporale- followed by the first eight characters of the fingerprint: compare them with a file's fingerprint, calculated for example with sha256sum on Linux, shasum -a 256 on a Mac or certutil -hashfile <file> SHA256 on Windows, and you know at once whether it is the right one.
Example
A documents folder contains quote.pdf, quote-signed.pdf and marca-temporale-490a0ac7.tsr.
| File chosen as original | Result |
|---|---|
quote.pdf | The file does not match |
quote-signed.pdf | The file matches |
From then on, rename the time stamp quote-signed.pdf.tsr: you can change the time stamp's name without consequences, but not its content.
Keeping file and time stamp together
To avoid pairing them again, create a single file: one .tsd or .m7m that contains document and time stamp. It is created free of charge with the tool Check a time stamp, in its dedicated section, by choosing the original file and the .tsr. The difference between the two formats is explained in the guide to .tsr, .tsd, .m7m and .p7m formats.
If the file does not match
The file was probably changed after time-stamping: saved again, converted or compressed. Causes and remedies are in the guide on how to verify a time stamp and in what to do with the original file.
Frequently asked questions
Which program opens a .tsr file?
The free tool Check a time stamp, in your browser, a signature-verification program, or the command openssl ts -reply -in stamp.tsr -text.
Does the .tsr contain the document?
No, only its fingerprint. To prove the date of a document you need both the .tsr and the original file, identical to the one that was time-stamped.
Can I rename a .tsr file?
Yes, you can change its name without consequences; its content, however, must never be changed.
Sources
- IETF: RFC 3161, Time-Stamp Protocol (.tsr format)
- IETF: RFC 5816, ESSCertIDv2 Update for RFC 3161
- EUR-Lex: Regulation (EU) No 910/2014 (eIDAS), consolidated text: Article 3, points 33 and 34, Article 24a(6), Articles 41 and 42 (qualified electronic time stamps)
Pages checked on .