What Is an AFP File? Format, Uses, and How to Open One
An AFP file (extension .afp) holds a
print-ready document in IBM's Advanced Function Presentation
format. It is the output of mainframe and high-volume print systems used by
banks, insurers, utilities, and government agencies to produce statements,
invoices, bills, and customer letters — often millions of pages at a time.
What is AFP used for?
AFP was designed for transactional and production printing: documents generated in bulk from data, printed on fast industrial printers that understand the IPDS data stream. Its strengths are precise, device-independent page layout and the ability to reuse shared resources — fonts, electronic overlays (letterheads, forms), and images — across an entire print run instead of embedding them in every page.
What's inside an AFP file?
Internally, an AFP file is a MO:DCA data stream: a sequence of structured fields that describe each page's content and exact positioning. The content itself is carried by several object architectures:
- PTOCA — presentation text (the words on the page)
- IOCA — raster images and photos
- BCOCA — bar codes (such as QR Codes)
- GOCA — vector graphics (lines, boxes, curves)
- FOCA — fonts (raster and outline glyph data)
Each is explained in AFP object types explained.
How do I open an AFP file?
You can't usually double-click a .afp file — Windows and macOS
don't open AFP natively, and it isn't a PDF. You need an AFP viewer.
readAFP opens any AFP file free, in your browser,
with no install: it shows the structured-field tree alongside a live render of
every page. See the step-by-step in
how to open an AFP file online,
or read how AFP compares to PDF in AFP vs PDF.