SumatraPDF supports the following document types:
- PDF (.pdf, .ai)
- eBook formats:
- unencrypted EPUB (.epub)
- MOBI / Kindle (.mobi, and unencrypted .azw, .azw3, .prc); Print Replica (.azw4) opens as the wrapped PDF
- FictionBook (.fb2, .fb2z, .fbz, .zfb2, .fb2.zip)
- Palm DOC (.pdb)
- plain text (.txt, .log, .nfo, .tcr, …)
- Markdown (.md, .markdown), rendered as GitHub Flavored Markdown
- comic book files: .cbz, .cbr, .cbt, .cb7 (and .ora), see Comics and manga
- archive files (.zip, .rar, .7z, .tar) containing images
- DjVu (.djvu, .djv)
- Microsoft Compiled HTML Help (.chm)
- XPS (.xps, .oxps, .xod, .dwfx)
- SVG (.svg)
- images:
- PNG (.png)
- JPEG (.jpg, .jpeg, .jfif)
- GIF (.gif), including animations
- TIFF (.tif, .tiff), including multi-page
- BMP (.bmp, .dib)
- ICO (.ico), including multiple sizes
- TGA (.tga)
- WebP (.webp), also images inside EPUB, MOBI and HTML
- JPEG XR (.jxr, .hdp, .wdp)
- JPEG 2000 (.jp2, .j2k, .jpx, .jpf, .jpm, .j2c)
- AVIF (.avif)
- JPEG XL (.jxl)
- HEIF / HEIC (.heic, .heif), built-in decoder, see below
If Ghostscript is installed, we support PostScript (.ps, .eps) and PJL (Printer Job Language) files.
DVI (.dvi) opens when pdflatex, xelatex, or lualatex is installed, or when both dvips and Ghostscript are installed. SumatraPDF converts the file to PDF (with dvipdfmx from that TeX install, or with dvips and Ghostscript) and keeps the PDF in its data folder. The same PDF is reused until the DVI’s modification time changes. A cached PDF that has not been opened for a week is deleted.
HEIF / HEIC support #
SumatraPDF can open HEIF images (.heic, .heif) and AVIF (.avif) with a built-in decoder:
- HEIC (typical phone stills, HEVC-coded): decoded in-process, no Windows codec required for most files
- AVIF (AV1-coded): decoded in-process via dav1d
- Grids, overlays, and common transforms (crop / rotate / mirror) are handled for still images
If built-in decode fails, on Windows we still try the system WIC path (for example if a third-party HEIF codec is installed). The WIC fallback is optional for typical HEIC/AVIF files.
You can make SumatraPDF the default program for handling those file types.