Preview

Show the document before anyone has to download it.

OfficeAPI renders documents, spreadsheets, and presentations for display inside your product. Here is every extension it can preview.

32 preview extensions3 office families

Format coverage

Which formats can OfficeAPI preview?

Grouped by office family and taken directly from the product documentation.

PPT8 extensions

PowerPoint

  • .pptx
  • .pptm
  • .potx
  • .potm
  • .ppt
  • .dps
  • .dpt
  • .odp
DOC13 extensions

Word

  • .docx
  • .dotx
  • .docm
  • .dotm
  • .doc
  • .dot
  • .wps
  • .wpt
  • .odt
  • .ofd
  • .rtf
  • .epub
  • .txt
XLS11 extensions

Excel

  • .xlsx
  • .xlsm
  • .xltx
  • .xltm
  • .xlsb
  • .xls
  • .xlt
  • .et
  • .ett
  • .csv
  • .ods

In your product

A preview is a render, not an upload.

The same engine that converts a file can also show it, so the coverage you see here matches the conversion matrix.

Review conversion formats

Offline by default

OfficeAPI renders the preview on the device or server you run it on. Nothing is sent to a hosted viewer.

One engine for both surfaces

Preview and conversion read the same documents, so coverage stays consistent between the two.

Everywhere your product runs

Desktop, mobile, and server operating systems get the same rendering from the same core.

Preview vs conversion

What is the difference between preview and conversion?

A preview is a rendered view of a document shown inside your product. A conversion is a new file written in another documented format. Both come from the same engine.

Preview compared with conversion
AspectPreviewConversion
PurposeShow the document inside your productProduce a file in another documented format
ResultA rendered viewA new file: DOCX, XLSX, PPTX, PDF, images, or CSV
Documented coverage32 extensions42 input/output pairs
Runs offlineYesYes
EngineSame Rust coreSame Rust core

How it works

How do you add a document preview with OfficeAPI?

  1. 01

    Confirm the extension

    Check the three lists below. Preview has its own list, separate from the conversion matrix.

  2. 02

    Hand the file to OfficeAPI

    Call the engine through the dynamic library or as a process, on the device or server where the file already is.

  3. 03

    Render inside your product

    OfficeAPI renders the document; your app displays the result in its own UI, with no hosted viewer in between.

Questions

Preview formats, answered.

32 extensions across 3 office families, rendered fully offline.

How many formats can OfficeAPI preview?
32 extensions across 3 families: 13 Word, 11 Excel, and 8 PowerPoint.
Is the preview list the same as the conversion list?
No. Some extensions, such as .epub, .txt, .ofd, and .xlsb, can be previewed but are not conversion inputs. Always check the list for the surface you are building.
Does preview need a network connection?
No. Preview runs wherever OfficeAPI runs, fully offline, on a local device or in an environment you manage.

Next

Choose how the engine joins your stack.

Compare integration paths