Convert to PDF/a if password protected


exists a way to convert a PDF to PDF/a if the PDF is password protected or it is disallowed to modify content?


Yes, you can convert password protected PDF to PDF/a. You need to import the PDF into PDF DOM using Document constructor (String, String). To convert PDF to PDF/A format, please read the following article.
Convert PDF to PDF/A formats

If you want to decrypt PDF, please read the following article.
Decrypt PDF File using Owner Password

Thanks. Is there a way if I don’t know the password? We receive a lot of PDF documents and need to convert them to PDF/a for archiving.


You need to pass the password in Document constructor to import the PDF into Aspose.PDF DOM. Could you please share your PDF file here for our reference? We will then log this case for implementation.

Here is an simple example Test.pdf (179.5 KB)


We have logged your requirement in our issue tracking system as PDFNET-51912. We will inform you via this forum thread once there is an update available on it. We apologize for your inconvenience.