File Types

PSPDFKit API supports the following file formats:

  • PDFs
  • Images (JPEG, PNG, TIFF, HEIC, GIF, WEBP, SVG, TGA, EPS)
  • Office files (DOC, DOCX, XLS, XLSX, PPT, PPS, PPTX, PPSX, RTF, ODT)
  • HTML (via PDF Generation)

The API allows you to mix and match different file formats. For example, you can add a PNG cover image to a Word document, or append Terms of Service in a PDF to a document generated from HTML.

PSPDFKit API will automatically detect the type of the uploaded file — you don’t need to be concerned with using the correct extensions.