How do I unlock PDF to JPG on my phone?

I downloaded a password-protected PDF on my phone and need to convert the pages into JPG images for an app. Is there a way to unlock it and do the conversion directly on mobile?

Honestly, if its just a page or two, the simplest thing is opening it with the password and taking screenshots. If it is longer, I usually just use an online tool like ilovepdf in mobile Safari to unlock and convert it to jpg.

If you know the password and are authorized to use the file, open it in a trusted PDF app such as Adobe Acrobat, then use its export or print-to-image option if available. I would avoid uploading invoices to random online converters; if the app cannot export JPG on your phone, unlock it with the password on a computer and convert it there.