.ASC

ASC File

OpenPGP ASCII-Armored File
Ask a question
QUICK ANSWER

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 editor first - the first line (such as "-----BEGIN PGP SIGNATURE-----") tells you which kind it is. To verify a download or decrypt a message you need GnuPG, Gpg4win (Windows), or GPG Suite (macOS).

Developer: OpenPGP / GnuPG (IETF standard) Category: Encrypted Files Open standard MIME: application/pgp-signature (signature); application/pgp-keys (key); application/pgp-encrypted (message)
OPENS ON Windows macOS Linux
Related: .SIG · .DEC · .GPG · .ENC

On this page

19k+ extensions indexed
Last reviewed Jul 3, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the ASC file format?

An .asc file contains a set of ASCII-encoded characters representing an OpenPGP-armored payload - a public key, encrypted message, or detached signature that has been encoded into printable text for safe transmission. It can be readable text at a glance (the header lines) as well as cryptographic data unreadable to humans in its raw binary form, here wrapped in Base64 so it survives email clients and plain-text pipelines intact.

American Standard Code for Information Interchange (ASCII) is a character encoding standard that uses 7-bit code and can encode up to 128 characters or instructions. Each number from 0 to 127 encodes a symbol or character, from 95 of which are printable characters. Those are:

  • A-Z: upper-case letters of the Latin alphabet,
  • a-z: lower-case letters of the Latin alphabet,
  • 0-9: digits,
  • Operators and brackets,
  • Punctuation marks,
  • Special characters.

Most control characters are outdated as they were used by teleprinters. Most modern encoding systems are derived from the ASCII system, including UTF-8, which became the dominant encoding for the internet.

.asc does not have the capability to encode diacritical or special characters beyond those used in basic American English, but that is by design - the binary cryptographic payload is wrapped in Base64 (radix-64), which uses only safe printable ASCII characters. OpenPGP's armor format goes back to PGP's origins in the early 1990s and was standardized in RFC 4880, with the latest revision in RFC 9580. .asc files are still widely used for distributing GPG keys, software release signatures, encrypted messages, and signed email content. Every .asc file is recognizable by its opening line - -----BEGIN PGP PUBLIC KEY BLOCK-----, -----BEGIN PGP MESSAGE-----, or -----BEGIN PGP SIGNATURE----- - and a matching -----END PGP ...----- footer.

Security & safety

RISK: LOW

An OpenPGP-armored .asc is plain text and cannot execute - opening one to read it is safe. The real security points are about trust, not malware: when you VERIFY a download with a .asc detached signature, a 'Good signature' only means anything if you trust the public key - confirm the key's fingerprint from the vendor's official site, not from the same place you got the file. A public-key .asc is harmless to import but lets others be impersonated if you trust the wrong key. Never paste a private-key .asc or its passphrase into a website; decrypt an encrypted .asc locally with GnuPG rather than an online tool.

Format details

in a nutshell
FULL NAMEOpenPGP ASCII-Armored File
DEVELOPEROpenPGP / GnuPG (IETF standard)since OpenPGP armor since PGP, 1991; standardized in RFC 4880 (2007) / RFC 9580 (2024)
MIME TYPEapplication/pgp-signature (signature); application/pgp-keys (key); application/pgp-encrypted (message)
TYPEPlain-text (ASCII) OpenPGP armor: a signature, public key, or encrypted message wrapped in Base64
STANDARDOpen · royalty-free
This extension is also used by…
  • Generic ASCII text file - Historically .asc simply meant a plain ASCII text file readable in any text editor - the legacy meaning with no PGP header.
  • Autodesk / CAD ASCII export - Some CAD/survey tools export .asc as plain-text XYZ coordinate lists, ESRI ASCII-grid rasters, or point clouds for re-import into CAD/GIS software.

Programs that open ASC files

Windows2 apps
Gpg4win (Kleopatra) Open-source Drag the .asc into Kleopatra (or right-click → More GpgEX options → Verify/Decrypt). To add a key, File → Import Certificates.
Notepad / Notepad++ Open-source Open as text to read the content and confirm the '-----BEGIN PGP...' header (tells you which OpenPGP block it is).
macOS2 apps
TextEdit Built-in Open as plain text to inspect the armor header; use Format → Make Plain Text to avoid RTF.
GPG Suite Free Import keys and verify/decrypt .asc files; integrates with Finder and Mail.
Linux2 apps
GnuPG (gpg) Open-source Verify: 'gpg --verify file.asc file'; import a key: 'gpg --import key.asc'; decrypt: 'gpg --decrypt msg.asc'.
Seahorse / gedit Open-source Seahorse imports keys and verifies/decrypts from the file manager; any text editor opens the armor as text.

Technical details

deep spec
Format typePlain-text OpenPGP armor; binary cryptographic payload encoded in Base64 (radix-64)
Container typesPublic key block, encrypted message, detached signature, or clearsigned message
Header and footer delimiters-----BEGIN PGP <TYPE>----- and -----END PGP <TYPE>----- lines (types include PUBLIC KEY BLOCK, MESSAGE, SIGNATURE, SIGNED MESSAGE)
Payload encodingBase64 (radix-64, 64-character alphabet with = padding), line-wrapped at 76 characters
Integrity checkCRC-24 checksum embedded as a =-prefixed Base64 line immediately before the closing footer
Armor metadata headersOptional plaintext key-value headers between the armor header and the Base64 body (e.g. Hash:, Version:, Comment:)
MIME typesapplication/pgp-signature (signature), application/pgp-keys (key), application/pgp-encrypted (message)
Algorithm supportAlgorithm-agnostic; supports RSA, DSA, ElGamal, ECDSA, Ed25519, Ed448, X25519, and X448
CompressionBinary payload may be ZLIB- or ZIP-compressed before Base64 encoding
Text encoding7-bit ASCII only; safe for all email systems, plain-text protocols, and source-code repositories
Related binary formats.gpg and .pgp carry the same OpenPGP data in raw binary; .sig is used for detached binary signatures
Key distributionStandard format for publishing OpenPGP public keys on keyservers and in KEYS files for software projects
Git integrationUsed for GPG-signed Git commits and tags; verified with the gpg --verify command
Cleartext signingSupports the SIGNED MESSAGE armor type, which signs human-readable text while keeping it readable without decryption
ReleasedOpenPGP armor since PGP, 1991; standardized in RFC 4880 (2007) / RFC 9580 (2024)
Open standardYes · royalty-free
Specificationwww.rfc-editor.org

ASC conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with ASC files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about ASC files.

Frequently asked questions

What is a .asc file?
Almost always an OpenPGP 'ASCII-armored' block - a digital signature, a public key, or an encrypted message from PGP/GnuPG, written as Base64 text. Open it in a text editor: the first line '-----BEGIN PGP...-----' tells you which kind it is.
How do I verify a download with a .asc signature?
Import the vendor's public key, then check the signature against the file. On Windows use Gpg4win/Kleopatra (drag the .asc in, or right-click → Verify); on Linux/macOS run 'gpg --verify file.asc file'. Confirm the key fingerprint from the vendor's official page first.
How do I open a PGP public key (.asc)?
Import it into your keyring: in Kleopatra use File → Import Certificates; on the command line run 'gpg --import key.asc'. After importing you can encrypt to that person or verify their signatures.
Can I just open a .asc in Notepad?
Yes - an armored .asc is text, so it opens in Notepad/TextEdit and you can read the header. But Notepad can't verify a signature or decrypt a message; for that you need GnuPG/Gpg4win.
What's the difference between .asc and .gpg?
Same OpenPGP data, different encoding: .asc is ASCII-armored Base64 text (safe to paste into email), .gpg is the binary form. Convert with 'gpg --armor' / 'gpg --dearmor'; both decrypt and verify identically.
How do I decrypt a .asc message?
You need the matching private key. Run 'gpg --decrypt message.asc' (or open it in Kleopatra/GPG Suite). Without the right private key the message can't be decrypted - by design.

References

1RFC 9580 - OpenPGP (ASCII armor & message formats)www.rfc-editor.org
2GnuPG - official site & documentationgnupg.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.MDMarkdown Document
5.JPGJPEG Image
6.EXEWindows Executable (Portable Executable)
7.NOMEDIAAndroid No-Media Marker File
8.DATProgram Data File (generic)
9.RPMSGRestricted Permission Message
10.BINCD/DVD Disc Image (BIN/CUE)

Related extensions

.SIGOpenPGP Detached Signature
.DECEncrypted / Encoded data file (generic)
.GPGGnuPG Encrypted File
.ENCEncrypted / Encoded file (generic)
.KDBXKeePass 2 Password Database
.PGPPGP Encrypted File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z