Open-source Go projects categorized as PDF | Edit details

Top 22 Go PDF Projects

  • gotenberg

    A Docker-powered stateless API for PDF files.

    Project mention: What enterprise wide solutions have you adopted as alternatives to digitally generating documents that are not PDF? | reddit.com/r/ExperiencedDevs | 2022-05-04

    As for generating PDF's themselves. You could start rolling your own service... or maybe you could use something like this: https://gotenberg.dev/ Or maybe you use it as an inspiration and use the (F)OSS tools inside that box (look at the documentation) to roll your own service instead. Or - depending on the budget - you could go for a proprietary solution and go with e.g. iText (https://itextpdf.com/en)

  • pdfcpu

    A PDF processor written in Go.

    Project mention: Why you can't tokenize PDF (and patching Go's PDF library) | reddit.com/r/programming | 2022-03-29

    pdfcpu is a great PDF parser, written in go.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • unipdf

    Golang PDF library for creating and processing PDF files (pure go)

    Project mention: [Advice] Generating PDFs in Golang. | reddit.com/r/golang | 2021-11-23

    Like other have commented, probably wkhtmltopdf is easier than writing a bunch of code. However it will not scale up well imo. In the past I have used this package: https://github.com/unidoc/unipdf

  • ethereum-development-with-go-book

    📖 A little guide book on Ethereum Development with Go (golang)

    Project mention: Golang Ethereum | reddit.com/r/golang | 2022-03-13

    Currently looking into https://goethereumbook.org, if anyone has some other material, please share.

  • canvas

    Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc. (by tdewolff)

    Project mention: Client-side scripting for in-browser graphics. | reddit.com/r/lua | 2021-11-20

    It appears that there's a port of Cairo to Go which also targets webassembly. https://github.com/tdewolff/canvas

  • go-wkhtmltopdf

    Golang commandline wrapper for wkhtmltopdf (by SebastiaanKlippert)

    Project mention: [Advice] Generating PDFs in Golang. | reddit.com/r/golang | 2021-11-23

    Simplest way is to use a Go package: https://github.com/SebastiaanKlippert/go-wkhtmltopdf

  • govips

    A lightning fast image processing and resizing library for Go

    Project mention: Image manipulation with Go | reddit.com/r/golang | 2021-12-31
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • maroto

    A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.

  • one-file-pdf

    A minimalist Go PDF writer in 1982 lines. Draws text, images and shapes. Helps understand the PDF format. Used in production for reports.

  • pdftilecut

    pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.

    Project mention: Ask HN: Tools you have made for yourself? | news.ycombinator.com | 2021-06-12
  • pdfinverter

    darken (or lighten) a PDF

    Project mention: I joined a startup as an intern and I've been assigned a project in golang and I have no idea how to even start with. If someone can help me, I'd really appreciate. Here's the problem statement. | reddit.com/r/golang | 2021-11-27

    Golang's image package is fairly easy to use. Here is an example.

  • go-wkhtmltopdf

    Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface

  • gopdf

    pdf document generation library (by tiechui1994)

    Project mention: TimeZone Database in Golang | reddit.com/r/u_quinnqi | 2021-09-17

    github link: https://github.com/tiechui1994/tzdb

  • markpdf

    Watermark PDF files using image or text

  • goldmark-pdf

    A PDF renderer for the goldmark markdown parser.

  • merge2pdf

    Merge Image and PDF files (optionally with selective pages) with lossless quality

  • jisui

    Convert scanned image PDF file to text annotated PDF file

  • ZiniGo

    Utility to backup magazines from the Zinio service as PDF, bypassing/Removing their DRM.

  • boxesandglue

    A typesetting library written in Go

    Project mention: I love LaTeX. I hate LaTeX | news.ycombinator.com | 2022-05-24

    I have a related feeling about TeX. It has superb output quality but the programming is awful. When LuaTeX finally arrived a few years ago, it was possible to do almost everything you have done before in the TeX language (starting with \backslashes) in Lua.

    See http://wiki.luatex.org/index.php/TeX_without_TeX for an introduction.

    I have (shameless plug) created a database publishing software using this technique (https://github.com/speedata/publisher/). Once in a while I have to use LaTeX and it feels a bit old school to do the macro programming.

    My next project is to rewrite the TeX algorithms in Go - see https://github.com/speedata/boxesandglue. Already usable but not TeX like in any way (this is just a library, not a frontend software like TeX)

  • fay

    Stateless, Fast and Reliable PDF rendering service. (by StarpTech)

  • screenshot

    Capture webpage and save as image using chromedp (by wabarc)

    Project mention: SingleFile: Save a Complete Web Page into a Single HTML File | news.ycombinator.com | 2022-03-02

    There is a project that uses a headless browser to implement HAR.


  • ocrmymail

    OCRmyMail is an SMTP server relay that adds an OCR text layer to PDF mail attachments and sends them to the original recipient.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-24.

Go PDF related posts


What are some of the best open-source PDF projects in Go? This list will help you:

Project Stars
1 gotenberg 3,673
2 pdfcpu 3,155
3 unipdf 1,558
4 ethereum-development-with-go-book 1,338
5 canvas 961
6 go-wkhtmltopdf 746
7 govips 679
8 maroto 631
9 one-file-pdf 441
10 pdftilecut 290
11 pdfinverter 156
12 go-wkhtmltopdf 109
13 gopdf 90
14 markpdf 86
15 goldmark-pdf 83
16 merge2pdf 36
17 jisui 27
18 ZiniGo 20
19 boxesandglue 10
20 fay 10
21 screenshot 6
22 ocrmymail 1
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives