What is PDFjet for Java?
A library that creates PDF documents from your Java application: reports, invoices, statements, labels and more. It runs inside your application on the server or the desktop, so your users install nothing.
Why PDF?
A PDF looks and prints exactly as you designed it, on every computer, phone and tablet, in any browser or PDF viewer. It is the standard for documents people keep, sign, archive and print.
What do I need to use it?
Java 8 or later. PDFjet is a single JAR with no dependencies and no native code. Add it to your class path and you are ready.
How fast is it?
Speed and low memory use have been PDFjet's focus since day one. Pages are written out as you go, so even reports thousands of pages long need very little memory. The 2,546-page table of Example_24, from a CSV file of 124,716 rows, takes about 1.2 seconds in Java on an AMD Ryzen 5 5600G desktop running Linux.
Which languages can my documents use?
Most of them, with ready-to-use fonts for Latin, Greek, Cyrillic, Chinese, Japanese, Korean and Thai, and right-to-left Arabic, Hebrew and Persian. You can also use your own OpenType and TrueType fonts. Hindi, Bengali, Tamil, Telugu, Kannada, Malayalam, Gujarati, Gurmukhi, Odia, Sinhala, Khmer, Lao and Burmese, whose letters change shape and place by the letters around them, are shaped by Java's own text engine, in TextBlock and TextLine, with Noto Sans fonts for each.* Thai, Lao, Khmer and Burmese lines break between words, with no spaces needed.
* The glyphs of these scripts are drawn as outlines. They look the same on every screen and in print, and each line is marked with its text, which screen readers read in a tagged PDF. Viewers differ in how they select and search it; PDF.attachText attaches the text whole for anyone who needs it.
Which font should I use?
Start with the fonts PDFjet carries: IBM Plex Sans and Serif and Cascadia
Mono, and, in the world fonts package, IBM Plex for Arabic, Hebrew, Thai,
Chinese, Japanese and Korean, and Noto Sans for Hindi, Khmer and the other
complex scripts. Each is one line of code,
new Font(pdf, IBMPlexSans.Regular), with no file to find, and the output
is the same on a laptop, a server or in a container. They are tested in
every example, accents, kerning, PDF/A and PDF/UA included, and made to
look right together.
For a script they do not cover, such as Georgian, Armenian or Ethiopic,
use any .ttf or .otf font whose license allows embedding; Noto, from
Google Fonts, covers nearly every script. From Google Fonts, use the files of the static folder of the download, one
for each weight: a variable font, one file of every weight, is drawn in its
default weight only.
Can it create accessible and archival PDFs?
Yes. PDF/UA for accessible documents and PDF/A for long-term archiving are each a single setting.
Can it work with existing PDFs?
Yes. Open a PDF and add to its pages, fill in a form, merge several documents into one, or split one into parts. Encrypted PDFs open with their password.
Is it the same API in Java and .NET?
Yes. The same classes and methods, in the naming style of each language, so your team can move between Java and C# code with ease.
Can I try it before I buy?
Yes. PDFjet Core is the complete library with all 85 examples and their PDFs. PDFjet Pro adds digital signatures and electronic invoices.
How is it licensed?
Per developer: $295 US for a Solo License, for one developer, or $695 US for a Team License, for 1 to 5 developers, with a full refund for any reason within 30 days. Distribute PDFjet royalty-free with your applications, with no limits on servers, computers, CPUs or cores. See Buy License for the full terms.
I have version 8. Should I upgrade?
Version 9 adds encryption, merging and splitting, right-to-left languages, bar charts, Data Matrix barcodes and much more. It is a major release, so the API has changed and your code will need some updates; CHANGELOG.md in the download lists every change.
How do I get help?
Email us at . We answer questions quickly, and our clients tell us our support
is one of the best things about PDFjet.
©2026 PDFjet Software.