Time-stamping a PDF: a separate file or a time stamp inside the PDF (PAdES)
The two ways to time-stamp a PDF, a separate file (.tsr, .tsd, .m7m) or a time stamp embedded in the PDF (PAdES): differences, when you need one or the other, and how to check them.
Updated on
There are two ways to time-stamp a PDF: with a separate time stamp (.tsr), kept next to the PDF or joined with it in a single file (.tsd or .m7m), or with the time stamp embedded in the PDF (PAdES format). Both carry the same legal effect under eIDAS; what changes is how you keep and check the file.
The two options side by side
| Separate time stamp (.tsr) or single file (.tsd, .m7m) | Time stamp inside the PDF (PAdES) | |
|---|---|---|
| What you get | The PDF stays exactly as it is; the time stamp is a separate file, or a container with PDF and time stamp | A new PDF that contains the time stamp |
| Does the original PDF change? | No | Yes: a new version of the PDF is saved |
| Opens in an ordinary PDF reader? | The PDF does; the time stamp is checked with a dedicated tool | Yes: the reader shows the time stamp in the signatures panel |
| Works for other file types? | Yes: photos, videos, ZIP archives, any file | No: PDF only |
| Must the file be uploaded? | No, if the service works on the file's fingerprint | Usually the PDF has to be opened in a program that rewrites it |
| Best for | Keeping proof, files of any kind, confidential documents | When whoever receives the PDF explicitly asks for an embedded time stamp |
Either way, a qualified time stamp is a qualified electronic time stamp under the European eIDAS Regulation: under Article 41(2) it enjoys the presumption of the accuracy of its date and time and of the integrity of the data it is bound to. The format does not change that effect.
What is actually time-stamped
The time stamp does not contain the document. It contains its fingerprint (hash), a string calculated from the content of the file, together with the date, the time and the signature of the provider that issued it.
Two practical consequences follow:
- Do not edit the time-stamped PDF again. Even saving it again, adding a comment or filling in a form field changes the fingerprint, and the time stamp no longer matches.
- With a separate time stamp, keep the exact file. Keep the copy you chose when time-stamping, not one exported again or recompressed by a messaging app. More in what to do with the original file.
The separate time stamp: how it works
This is the simplest option and it works with any PDF, including scans and password-protected files.
- Choose the final PDF, the one you want to keep.
- The service calculates the file's fingerprint and sends it to the qualified provider, which returns the time stamp in the standard RFC 3161 format (.tsr file).
- Keep the PDF and the .tsr together, for example in the same folder with the same name.
- If you prefer one file, create the single file: .tsd, the international standard format (RFC 5544), or .m7m, the format most used in Italy. It contains both the PDF and the time stamp, and the PDF can be extracted at any time.
On Anycert a qualified time stamp for one file costs €2.90 VAT included, without packages, subscription or registration. The PDF is not uploaded: your browser calculates its SHA-256 fingerprint and sends only that, so there is no size limit and the content stays private. The .tsr is downloaded from the page and also sent by email, usually within minutes.
The single file (.tsd or .m7m) is created free of charge in your browser by choosing the original PDF again, on the order page or in the free tool Check a time stamp, which also tells you whether a PDF matches a time stamp.
The time stamp inside the PDF (PAdES)
PAdES is the European standard for signatures and time stamps embedded in a PDF. The time stamp can take two forms:
- Time stamp attached to a signature: whoever signs the PDF electronically can have the signing program add a time stamp at the moment of signing. This requires a time-stamping service configured in the program, usually with an account and a bundle of time stamps.
- Document time stamp: the time stamp covers the whole PDF, even without a signature. A PDF that has already been signed can still receive a document time stamp later: the common belief that a signed PDF can no longer be time-stamped is wrong.
In both cases the PDF is saved again with the time stamp inside. The most common PDF readers show it in the signatures panel, with date, time and the result of the check.
When you need the time stamp inside the PDF
An embedded time stamp is needed when the recipient asks for it: a tender, an online platform or an office whose instructions specify PAdES. Follow those instructions to the letter, because a file in another format may be rejected even if the time stamp itself is valid.
When nobody asks for a particular format, for example to keep proof that a contract, a project or a report existed on a certain date, the separate time stamp or the single file have the same value and a few advantages:
- the PDF stays identical to the original;
- you need neither a signing program nor an account with a provider;
- it also works for attachments that are not PDFs, such as photos and videos, put together in a ZIP archive if needed.
Anycert always issues a separate time stamp (.tsr) and, free of charge, the single file (.tsd or .m7m). It does not embed the time stamp in the PDF: if a tender or an office explicitly requires PAdES, you need a signing program that writes the time stamp into the PDF.
Example: a tenancy agreement in PDF
The parties sign a paper contract and scan it into one PDF, tenancy-agreement.pdf.
| Step | What you do | Result |
|---|---|---|
| 1 | Choose the PDF on the service page | The browser calculates the fingerprint, for example 9f2c…e41a |
| 2 | Pay for the time stamp | The time stamp (.tsr) arrives, with date and time |
| 3 | Create the single file, if you like | A .tsd file with PDF and time stamp together |
| 4 | Archive the files | The original PDF is never opened and saved again |
If the date is ever disputed, you produce the PDF and the time stamp. Anyone can recalculate the PDF's fingerprint and compare it with the one in the time stamp: if they match, the PDF existed, identical, on that date.
What the time stamp does not prove
A time stamp, embedded or separate, proves that the PDF existed at that moment. It does not prove who wrote it or that its content is true, and it does not turn the PDF into a signed document: that takes an electronic signature. See the legal value of a time stamp and time stamps, electronic signatures and registered email.
Checking and keeping it
- A separate time stamp is checked with the free tool Check a time stamp, which reads .tsr, .tsd and .m7m in your browser, or with the free European Commission validator.
- An embedded time stamp is checked with your PDF reader or with the same European validator.
- How long the proof lasts depends on the provider's retention of its records: see expired time stamps.
Frequently asked questions
Is a separate time stamp worth less than one inside the PDF?
No. A qualified time stamp has the same legal effect in both forms; only the way you keep and check it changes. A time stamp inside the PDF (PAdES) is needed when the recipient explicitly asks for it.
Can I time-stamp a PDF that is already signed?
Yes. With a separate time stamp the signed PDF stays identical; with PAdES a document time stamp can be added to the PDF even after it was signed.
What happens if the time-stamped PDF is saved again?
The time stamp no longer matches: even saving the file again changes its fingerprint. Keep the exact copy that was time-stamped.
How much does it cost to time-stamp a PDF?
On Anycert one qualified time stamp for one file costs €2.90 VAT included, without subscription. The PDF is not uploaded: only its fingerprint is sent.
Sources
- 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)
- European Commission: EU Trusted Lists of qualified trust service providers
- IETF: RFC 3161, Time-Stamp Protocol (.tsr format)
- IETF: RFC 5544, Syntax for Binding Documents with Time-Stamps (.tsd format)
Pages checked on .