A PEM is a particular format. If you don't have a file in PEM format you won't be able to download it as a PEM file. What you can do is get the certificate information and convert it to whatever format you need.
From your responses it doesn't look like you're actually interested in downloading file but rather saving a certificate that's used for an HTTPS connection as a PEM file. In that case (at least for Firefox and Chrome) view the details of the certificate that is being used and choose to save it as a file.
For Firefox do the following:
Click on the Lock > Arrow > More Information > View Certificate > Details > Export
Fore Chrome:
Click on the Lock > Valid > Details > Copy to File

The actual save function won't allow for a PEM so you will have to convert it afterwards e.g. using openssl.
How to save a remote server SSL certificate locally as a file also contains information in case it's not possible to view that information in your chrome using these steps.
For steps on how to convert the resulting file have a look at How to convert .crt to .pem [duplicate]. It's essentially openssl x509 -in mycert.crt -out mycert.pem -outform PEM.