Why convert GPG to ASC?
ASCII-armored .asc files survive email, plain-text form fields, and copy-paste intact, whereas binary .gpg data is often corrupted in transit; use .asc when sharing encrypted files or public keys through email or web forms.
How to convert GPG to ASC
GnuPG OPEN-SOURCE
Run gpg --armor --output file.asc file.gpg in a terminal; GnuPG is free and available on Windows, macOS, and Linux.
Gpg4win OPEN-SOURCE
Install Gpg4win, which bundles GnuPG, then run gpg --armor --output file.asc file.gpg in Command Prompt or PowerShell - the Kleopatra GUI does not expose armoring as a standalone operation.
About these formats
A .gpg file is binary data produced by GnuPG (GNU Privacy Guard), the free OpenPGP encryption tool. Most .gpg files are encrypted - to read one you need GnuPG plus the right passphrase or…
Open .GPG details →An ASC file is almost always an OpenPGP ASCII-armored block: a digital signature, a public key, or an encrypted message from PGP or GnuPG, encoded as readable Base64 text. Open it in a text…
Open .ASC details →Quality & what to watch
- No data is lost; armoring is a pure Base64 encoding operation and the cryptographic content is bit-for-bit identical between
.gpgand.asc. - Check the file in a text editor before running
gpg --armor- if it already starts with-----BEGIN PGP, it is already armored; running the command again will double-armor it. - Never upload a
.gpgcontaining encrypted messages or private key material to an online tool; run GnuPG locally.
Frequently asked questions
What is the difference between `.gpg` and `.asc`?
.gpg is binary and .asc is the same content encoded as ASCII (Base64) text with a -----BEGIN PGP header.Can I reverse the conversion?
gpg --dearmor < file.asc > file.gpg to go back to binary.Does Kleopatra handle armoring in its GUI?
.gpg file requires the GnuPG command line; Gpg4win installs it alongside Kleopatra.