Hacker ApprovedDepartments

TinyPDF

The most recommended of 3 PDF libraries

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.

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.

9 people gave an opinion

recommend it
6
criticize it
3
approval share
67%
Each figure is one person. RecommendsCriticizes

Recommended in 1 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 6 people recommend itNeeds 10 or more, not met.
  • 2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 1 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Very small, lightweight, minimal code

    “I've been looking for something like this for generating invoice PDFs without bloat.”

    Comment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

    “thank you for fighting library bloat! Small libraries tend to perform better”

    Comment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

    “Well ain’t that a useful 400 lines of code eh! Good work”

    Comment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

What people warn about

Each mark is one comment

  • No non-Latin or non-English text

    “the lack of support for TTF fonts is a bummer for most non-english use cases”

    Comment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

    “Only supports ASCII characters, which is part of the trick here.”

    Comment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

    “it only works with Latin script”

    Comment from 19 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

Other PDF libraries people recommend

The two most recommended other PDF libraries, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

TinyPDF compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
TinyPDFThis page6367%1——
Paged.js50100%5——
WeasyPrint5271%3——
See all 3 PDF libraries, ranked

What people said

All 9 comments that mention it, newest first. Each links to the original comment.

“Well ain’t that a useful 400 lines of code eh! Good work”

RecommendsComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“though "hey I'll star this"”

RecommendsComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“thank you for fighting library bloat! Small libraries tend to perform better”

RecommendsComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“the lack of support for TTF fonts is a bummer for most non-english use cases”

CriticizesComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“Since you're running this on a server, what difference does an extra 226KB make?”

MixedComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“I've been looking for something like this for generating invoice PDFs without bloat.”

RecommendsComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“Only supports ASCII characters, which is part of the trick here.”

CriticizesComment from 20 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“it only works with Latin script”

CriticizesComment from 19 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

“Great exercize, but for most use cases - people will continue reaching for jsPDF.”

MixedComment from 19 Dec 2025 in “Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.