# TinyPDF

6 Hacker News commenters recommended TinyPDF and 3 criticized it, November 2025 to November 2026. It was recommended in 1 of 13 months.

**Verdict:** A 3kb JavaScript PDF library, much smaller than jsPDF, that people recommend for generating invoices without bloat. Critics note it only supports ASCII and Latin script, with no TTF font support.

## Why people recommend it

- Very small, lightweight, minimal code (3 comments): "I've been looking for something like this for generating invoice PDFs without bloat." ([source](https://news.ycombinator.com/item?id=46333380)) "thank you for fighting library bloat! Small libraries tend to perform better" ([source](https://news.ycombinator.com/item?id=46336798)) "Well ain’t that a useful 400 lines of code eh! Good work" ([source](https://news.ycombinator.com/item?id=46337561))

## What people warn about

- No non-Latin or non-English text (3 comments): "the lack of support for TTF fonts is a bummer for most non-english use cases" ([source](https://news.ycombinator.com/item?id=46335152)) "Only supports ASCII characters, which is part of the trick here." ([source](https://news.ycombinator.com/item?id=46332563)) "it only works with Latin script" ([source](https://news.ycombinator.com/item?id=46331807))

## Alternatives hackers recommend

- [Paged.js](https://hackerapproved.com/p/paged-js.md): 5 recommend
- [WeasyPrint](https://hackerapproved.com/p/weasyprint.md): 5 recommend

## Cite as

Hacker Approved, "TinyPDF", https://hackerapproved.com/p/tinypdf/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
