awesome-pdf
A collection of high-quality libraries, links, and resources for developers working with PDFs 🕶
https://github.com/karllhughes/awesome-pdf
Last synced: about 6 hours ago
JSON representation
Add-ons/Components
- Laravel PDF - Convert HTML to PDF within Laravel.
- Rails PDF - Create PDF documents from HTML in Ruby on Rails.
APIs
- DocRaptor - HTML to PDF API.
- RichText2Pdf API - Convert rich text documents to PDF.
- Excel2Pdf API - Convert Excel docs to PDF files.
- DOCX to PDF API - Convert Word to PDF.
- ConvertAPI PowerPoint2Pdf API - Convert PowerPoint to PDF files using any of nine languages.
- HTML to PDF conversion with CSS and JavaScript - The name says it all.
- Textibility API - Provides capabilities like compression, filtering, and text extraction.
- Actual Reports - API for transactional PDF generation.
- edocr - Use documents to generate leads.
- WebSequenceDiagrams - Generate URL diagrams, in PDF and other formats.
- URL to PDF Microservice - Convert HTML to PDF files.
- instant-pdf - Send JSON in a post request to automatically generate PDF files.
- Power PDF - Desktop software promising accurate file conversion.
- HTPBE - Forensic API that detects tampered/modified PDFs from the structural layer (metadata, xref, incremental updates, signatures); works without the original file.
- PDFSpark - Free PDF generation API.
- Tamperlens - Document trust API returning structural tampering signals with the raw evidence (revisions appended after the original save, contradictory metadata, producer fingerprints, live text under redaction boxes, edits after a digital signature); PDF, Office and images; free tier of 50 documents/month.
- Tanod PDF API - Pay-per-call PDF API and MCP tools: merge, split, compress, OCR, form fill, table extraction, PDF to Word, Office to PDF. No account; free daily tier, then per-call USDC payment over x402.
Credits/Other lists
- awesome-list-pdf-creation - A good selection of PDF resources.
- awesome-pdf - Long list of resources, including many open-source projects.
Documentation
- DC Developer Resources - Documentation for PDF Library SDK and others.
- Understanding PDF Standards - PDF standards compliance.
Guides and Tutorials
- JavaTpoint - Selection of clear, well-written guidance and information.
- Acrobat Library - Acrobat guides and tutorials.
- Real Python - How to work with a PDF in Python.
- Hand-coded PDF Tutorial - Technical overview on working with PDFs.
- Creating PDF Files in Java - Java tutorial using iText and PdfBox.
- MathWorks - Reading a PDF in MATLAB using iText.
- jsPDF HTML to PDF Tutorial - Convert HTML to PDF using jsPDF in JavaScript.
- Portable Document Format: An Introduction for Programmers - Long, old overview of PDF files.
- HTML node tree to PDF tutorial - Convert an HTML node tree to PDF using jsPDF and html2canvas.
Libraries
C/C++
- VersyPDF - C/C++ library including support for several formats and compression types.
- PDF-Writer - Fast and free C++ PDF handling library.
- LibHaru - C++ library to generate and embed images in PDFs.
Go
- gofpdf - High level support for text, drawing, and images.
- gopdf - Generate PDFs in Go.
- pdfcpu - Go library that can handle batch processing and encryption.
- goreport - PDF report generator.
Java
- Apache PDFBox - PDF manipulation and command line utilities.
- jPod - Rich PDF manipulation and rendering framework.
- OpenPDF - Open-source successor of iText.
- gnujpdf - Create and print PDF files.
JavaScript
- PDFKit (JavaScript) - JavaScript PDF generation library. For Node and the browser.
- PDF-LIB - Pure JavaScript PDF library.
- React-pdf - React renderer for creating PDF files.
- PDFObject - Embed PDFs in HTML.
- pdf2json - Node module to convert PDF to JSON.
- PDF.js - Standards-based, general-purpose viewer.
- Puppeteer - Node library for controlling Chrome. Can also generate PDFs.
- dom-to-pdf - Generate printable PDFs from DOM nodes.
- pdfmake - Wrapper for PDFKit offering a few extra features.
- jsPDF - Advanced, well-documented library.
- boxpdf - Memory optimized, streaming, flexbox JS PDF library.
- ng2-pdfjs-viewer - Angular PDF viewer component built on PDF.js (annotations, forms, signatures, search, read-aloud).
- PDF Local Processor - Browser helpers for extracting native PDF text, rewriting PDFs, and converting images to PDF without uploading input bytes.
- PDFBlack - Privacy-first, client-side PDF tool suite (merge, split, Bates numbering, compression) running 100% in-browser via WebAssembly & Web Workers without server uploads. (Source)
Misc/Multi-language
- electron-pdf-window - PDF support in the Electron framework.
- Gmail To PDF - Google Apps script utilities to convert emails to PDF.
- pdf-toolbox - Haskell PDF processing tools.
- clj-pdf - Clojure PDF generation.
- sPDF - Scala library to produce PDFs from web pages.
- Oicana - Tools and libraries for document templating based on Typst. Supports Node.js, Python, Java, C#, Rust, PHP, and the browser.
- Fullbleed - Static HTML/CSS to PDF in Python, Rust, Node.js, C#, and the browser, with explicit fonts and PNG previews.
Perl
- PDF - Perl PDF library. Check the sidebar for downloads, not the GeoCities link!
- CAM-PDF - Read and write PDF files.
- PDF-API2 - Create and manipulate PDF files.
PHP
- TCPDF - Generate PDFs in PHP.
- mPDF - Generate PDFs from UTF-8 encoded HTML.
- dompdf - HTML to PDF converter.
- Snappy - Generate PDFs, thumbnails, and snapshots from websites.
- PHPWord - Library for reading and writing various document types.
- PdfParser - Data extraction library.
Python
- pikepdf - Creation, manipulation, and repair of PDFs.
- PDFMiner - Extract information from PDF documents.
- PDF Reports - Generate reports from HTML or Pug templates.
- PyPDF4 - Various operations, such as split, merge, and transform PDF data.
- Slate - Wrapper for PDFMiner. Makes simple things easier.
- PDFQuery - Scrape PDF files using JQuery or XPath syntax.
Ruby
- Wicked PDF - Ruby on Rails PDF generation.
- CombinePDF - Combine, parse, number, and watermark PDFs in Ruby.
- HexaPDF - Ruby library to create and manipulate PDFs.
- Prawn - Ruby PDF generator including vector drawing and image embedding.
- Grim - Gem to extract (reap) PDF text and images.
Rust
- lopdf - Rust PDF manipulation.
- printpdf - Create printable PDF documents.
- pdf_oxide - Fast Rust PDF library with text and image extraction, markdown conversion, and bindings for many languages.
- Rubrol - High-performance Typst-based PDF engine and HTTP sidecar for sub-millisecond document and invoice generation.
Swift
- Apple PDFKit - Framework for Swift and Objective-C.
- PDFGenerator - Simple PDF generator.
SDKs
Software
- Foxit Software - Multiple PDF-related products and other resources.
- XpdfReader - Free PDF viewer and toolkit.
- Apache FOP - Formatting objects processor that supports PDFs.
- Adobe Acrobat - Tools from the original creators of the PDF format.
Tools
Converters
- pdfcrowd - Automatically convert web pages to PDF. Also includes an API.
- HTML to PDF - Free and automatic web to PDF converter.
- Webpage to PDF - Paste in a URL and get a PDF file.
- W2P - Another web to PDF converter.
- PDFmyURL - Accurate, feature-rich web to PDF converter.
- Docs.zone - Combine and convert PDF files.
- Convert PDF Online - Convert to and from multiple formats, and several other features.
- Light PDF - Converter and other tools.
- Online PDF Converter - Turn other files into PDFs.
- CleverPDF - File converter with a good selection of formats.
- pdf2image - Python module to convert PDFs to images.
- CV Boilerplate - Generate PDF résumés via LaTeX.
- backslide - Presentation creator using Markdown and converting to PDF.
- SumatraPDF Reader - Multi-format document reader for Windows.
- Markdown Resume Generator - PHP tool to convert markdown to PDF and HTML résumés.
- pdfkits.app - Online toolkit to merge, split, compress, convert and manipulate PDF files.
- Brainiall PDF to Markdown Action - GitHub Action that converts PDF files to Markdown through the hosted Brainiall API.
- PDFExcel - AI-powered converter that turns any PDF — including scanned and photographed documents — into Excel, CSV, or Google Sheets without templates.
- paper2md - Web tool to convert academic and technical PDFs into clean Markdown. Preserves LaTeX formulas (KaTeX/MathJax/Obsidian compatible), converts complex research tables to valid GFM Markdown, and extracts figures into a ZIP. Free for 100 pages/month.
- CopyMarkdown - Free web tool to convert PDFs to clean Markdown. A companion Chrome extension converts webpages and AI chat conversations, and a separate free web tool converts GitHub repos. No signup required.
- Refentra Images to PDF - Combine JPEG, PNG, and WebP images into one PDF in the browser. Reorder pages and choose A4, Letter, or image-sized pages; no upload or account required.
- PDF Dark - Free browser-based PDF dark-mode converter.
- file2markdown - Browser-based PDF/DOCX/PPTX/XLSX/HTML/EPUB/URL to Markdown converter that keeps headings and tables; AI OCR for scanned PDFs. Free tier, no signup; MCP server for AI assistants.
- BankStatement2PDF - Free web converter for text-based PDF bank statements to Excel, CSV, QBO, OFX and QIF, with a transaction preview before download. No signup; scanned PDFs are not supported.
- Convert: Web to PDF - Free Chrome extension that saves any webpage as a PDF, with ads removed and links kept clickable. Conversion runs locally in the browser; works on logged-in pages. No signup required.
-
pdfmux
- Open-source Python PDF-to-Markdown orchestrator. Routes each page to the best backend (PyMuPDF, Docling, RapidOCR, or Gemini Flash) and attaches a per-page confidence score so low-trust pages can be flagged. MIT licensed,
pip install pdfmux; also ships an MCP server for AI agent use.
Misc
- Sejda - Whole suite of PDF services, including conversion, security, manipulation, and more.
- Potrivit - Design PDF invoices.
- PDFElement - Software for editing, creating, conversion, and more.
- ReLaXed - Create PDF files interactively in HTML.
- nodeice - PDF invoice generator.
- pdfparanoia - Watermark removal tool in Python.
- PDFGem - Free browser-based PDF tools — merge, split, compress, OCR, sign, convert, and more. Client-side processing via WebAssembly; files never leave the browser.
- DoItSwift - Free browser-based PDF tools — merge, split, compress, and PDF to JPG. No Server/Cloud upload, no signup. Everything runs locally in your browser.
- questio - Forensic PDF auditor CLI for detecting edited, forged, or tampered PDFs. Runs locally, no uploads.
- PDFSass - Free browser-based PDF toolkit with 35+ tools — merge, split, compress, convert, OCR, rotate, watermark, sign, and more. No signup required; files processed in-browser via WebAssembly.
- Slay PDF - Free local browser PDF editor for splitting, merging, signing, resizing, posterising, OCR and page editing. Open source and client-side.
- PDFMatePro - Free browser-based PDF toolkit with 75+ tools — merge, split, compress, OCR (30+ languages including Urdu/Arabic), sign, convert, and more. Client-side processing via WebAssembly; files never leave the browser. Includes region-specific tools like CNIC-to-PDF and fee challan-to-PDF for Pakistani users.
- ClientPDF - Free, client-side tool to merge PDF files entirely in the browser via pdf-lib. No upload, no signup, no server.
- PDF Tool HQ - Free browser-based PDF tools to merge, split, and compress. Runs entirely client-side, so files never leave your device. No upload, no sign-up, no watermarks.
- KeyPDF - An independent, client-side PDF engine for editing existing PDF text, merges, annotations and filling forms directly in the browser without uploading files.
- Preflighter - Free browser-based prepress preflight and soft-proof for print-ready PDFs: color separations (CMYK + spot/Pantone) with per-plate toggles, overprint preview, total ink coverage (TAC) heatmap with adjustable threshold, densitometer, and font/image/page-box inspection. No signup; files are processed server-side and auto-deleted after 24 hours.
- PDFMasry - Free Arabic-first browser PDF toolkit with 19 tools for merging, splitting, compression, Word/Excel/image conversion, OCR, protection, watermarking, and page organization. No signup or watermarks; most tools process files locally in the browser.
- MoGuan (墨观) - Privacy-first browser PDF toolkit with 24 tools (merge, split, compress, OCR, watermark, sign, convert to Word/Excel, encrypt). The 20 classic/edit/convert tools run fully client-side via pdf.js + pdf-lib — files never uploaded, verifiable in the DevTools Network panel. Chinese-first, bilingual (zh/en), installable PWA.
- testpageforprinter - Free printer test sheets as vector PDFs (DeviceCMYK) in Letter and A4: color, CMYK, black and white, nozzle check, alignment, scale check, photo and duplex. No signup.
- PDFWatermark - Add text or PNG/JPG watermarks to PDF files locally in the browser. No uploads or account required.
- In-Tab Tools - Browser-based PDF tools: convert PDF to Markdown, convert Markdown to PDF, and remove PDF metadata (author, producer, etc). All processing runs client-side in the browser tab; no file is uploaded and no account is required. PDF-to-Markdown reads the PDF's existing text layer, so a scanned PDF with no text layer cannot be converted (no OCR).
- JustFill - Hosted PDF form filler with reusable field layouts and Excel/CSV batch filling. Account required; free allowance and paid plans.
- hushvert - Privacy-first browser-based PDF tools. Merge, split, rotate, and render PDFs locally via WebAssembly with no file uploads, plus a hosted API for PDF to Word and Office to PDF.
- OffPDF - Open-source desktop PDF toolbox for editing, merging, conversion, compression, OCR, and more, with all processing performed locally.
- PDF Toolbox - Free browser-based PDF tools. Compress, merge, split, convert. All local WebAssembly processing — no file uploads.
- OnDevicePDF - Free browser-based PDF tools — merge, split, compress, edit, sign, OCR. The security tools (password protect/remove/recover, redact) run under a sealed CSP so files provably never leave the browser; live proof at ondevicepdf.com/verify.
- No Fuss PDF - Focused browser-local tools for filling and signing, merging, splitting, and converting PDFs and images with no upload, account, payment, or watermark.
- norito - Free browser-based PDF tools: merge, split, compress, rotate, sign, watermark, extract text, and compare two PDFs. All client-side via pdf-lib and pdf.js, no file uploads.
- Filewhisk - Free browser-based PDF tools: merge with per-file page ranges and bookmarks, split by page, range or bookmark (or cut scanned spreads in half), delete pages with blank page detection, JPG to PDF and PDF to JPG. Client-side via pdf-lib and PDF.js; no uploads or signup.
Videos
- PDF—What is it for? - Computerphile video.
- What is a PDF file? - From Labelado.
- How to Insert a Signature on a PDF File - By eHow Tech.
- How to Compress PDF File Size - Tech-related tips.
WordPress Plugins
- SwipeBook PDF Viewer - Commercial WordPress plugin to display PDF files.
- WooCommerce PDF Catalog - Use PDF with WooCommerce.
- PDF Viewer for WordPress - Popular WordPress PDF viewer.
- WordPress Content to PDF - Export blog posts to PDF files.