zpdf
A PDF text extraction library written in Zig that focuses on speed and low memory copying. It is at an early alpha stage and is used to pull text out of PDF files.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: CC0-1.0
Overview
zpdf is a PDF text extraction library written in Zig. It reads files through memory mapping and avoids copying data where possible, and it extracts text in a streaming way with arena allocation. It handles several compression filters and font encodings, parses cross-reference tables and streams, and can read the structure tree of tagged PDFs. The README labels it an early alpha version.
Key features
- Memory-mapped, zero-copy reading where possible
- Supports FlateDecode, ASCII85, ASCIIHex, LZW and RunLength filters
- Handles WinAnsi, MacRoman and ToUnicode font encodings
- Structure tree extraction and Markdown export for structured PDFs
- Strict or permissive error handling
Best for
Zig developers who need fast text extraction from PDFs. It is at an early alpha stage, so expect gaps.
- Upstream
- Lulzx/zpdf
- Fork on GitHub
- Guo-astro/zpdf
- Upstream stars
- 921
- Category
- Documents, media and content
- Language
- Zig
- License
- CC0-1.0
- Forked
- 2025-12-31
- Sync status
- In syncLast synced 2026-10-19
More in Documents, media and content
Textus is a free, open-source Markdown editor with an AI writing assistant for drafting and editing on macOS, Windows, and Linux.
Forked 2026-10-18Last synced 2026-10-19License: MITDocuments, media and contentGitHub
Clypra is a free, open-source video editor for editing and arranging footage on a frame-accurate timeline. It uses Rust and GPU acceleration for video decoding and rendering.
Forked 2026-10-14Last synced 2026-10-19License: MITDocuments, media and contentGitHub
A self-hosted app for turning audio recordings into searchable notes. Use it to transcribe, summarize, organize, and ask questions about recordings while keeping the library on your own infrastructure.
Forked 2026-10-12Last synced 2026-10-19License: AGPL-3.0Documents, media and contentGitHub
OpenCut is an open-source video editor project intended for web, desktop, and mobile. This repository is a ground-up rewrite in progress; the README points users to OpenCut Classic for the version to use today.
Forked 2026-10-12Last synced 2026-10-19License: MITDocuments, media and contentGitHub