Tech News
← Back to articles

Zpdf: PDF text extraction in Zig – 5x faster than MuPDF

read original related products more articles

zpdf

A PDF text extraction library written in Zig.

Features

Memory-mapped file reading for efficient large file handling

Streaming text extraction (no intermediate allocations)

Multiple decompression filters: FlateDecode, ASCII85, ASCIIHex, LZW, RunLength

Font encoding support: WinAnsi, MacRoman, ToUnicode CMap

XRef table and stream parsing (PDF 1.5+)

Configurable error handling (strict or permissive)

Multi-threaded parallel page extraction

... continue reading