libHaru
libHaru: A free native PDF generator for applications that do not need PDF editing or extraction. Ranked #29 of 31 in PDF SDKs by our editors (6.2/10); pricing: Free plan; best for basic free native PDF generation.
At a glance
- Editor score6.2 / 10
- PricingFree plan
- Best forBasic free native PDF generation
- Free planYes
- Paid fromFree
- Deployment modelClient-side
- Facts checked20 Sep 2026

Where it wins
- Free, open-source PDF generation for client-side applications
- Supports fonts, images, outlines, annotations, compression, and encryption
- Offers static and shared-library builds with C-based deployment
Where it doesn't
- Does not read or edit existing PDF files
- Does not cover PDF conversion, forms, or extraction
- The project has not been actively maintained for several years
Our verdict on libHaru
libHaru is a free, open-source ANSI C library for generating PDF files inside applications. It is aimed at developers who need native, client-side PDF creation rather than a complete document-processing suite. The library can draw lines, text, and images; create outlines; add text and link annotations; embed PNG and JPEG images; embed Type1 and TrueType fonts; apply Deflate compression; and create encrypted PDFs. It also supports multiple character sets and CJK fonts and encodings.
The pricing model is straightforward: libHaru is open source and has a free plan, with a commercial license also listed for the project. Its deployment options include static and shared-library builds. The product details identify Windows and Linux support, while the category specifications also list FreeBSD, NetBSD, Solaris, and other ANSI-C platforms. Language coverage centers on ANSI C and C++, with bindings for Ruby, Delphi/Free Pascal, and C#. That combination suits teams that want PDF generation embedded directly in an application and can work with a C-oriented library.
libHaru’s focus is narrow and clear. It handles PDF generation, drawing, annotations, outlines, compression, image and font embedding, and encryption, but it does not read or edit existing PDF files. It also does not provide the broader editing, conversion, forms, or extraction coverage available in more expansive PDF SDKs. The project has not been actively maintained for several years, which matters for teams evaluating long-term development needs. Choose libHaru for basic free PDF generation with native deployment; choose an alternative when document editing, conversion, form workflows, extraction, or ongoing maintenance are central requirements.
Your product? Our editors can test libHaru in depth and publish a review, labelled as paid · from $149/mo →
libHaru pricing
libHaru fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| PDF operations | Generation; drawing lines, text, and images; outlines; annotations; compression; image and font embedding; encryption |
| Supported platforms | Windows, Linux, FreeBSD, NetBSD, Solaris, and other ANSI-C platforms |
| Language coverage | ANSI C; C++; Ruby, Delphi/Free Pascal, and C# bindings |
| Deployment model | Client-side |
| Annotation tools | Yes |
| Commercial license | Yes |
| Deployment | Self-hosted |
| Platforms | Windows, Linux |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
Alternatives to libHaru
- Foxit PDF SDKA broad commercial PDF SDK for teams building document-heavy applications across major platforms.9.3
- Nutrient SDKA broad cross-platform PDF SDK with a useful free viewer tier and quote-based commercial licensing.8.9
- Adobe PDF Library SDKA native PDF SDK for enterprise applications that need broad document processing capabilities.8.8
See all libHaru alternatives →
Used libHaru? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used libHaru for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
libHaru is listed in our PDF SDKs directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/libharu/"><img src="https://www.itechguides.com/best/badge/libharu.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update

