Kawa

Introduction

Kawa is a Java library for building and manipulating PDF documents with a fluent API.

Kawa lets you build PDF reports programmatically without touching any low-level PDF code. You describe what you want on the page and Kawa handles layout, pagination, and rendering.

Kawa v1 is still in development. The API is not stable yet and may change at any time until the first stable release.

What you can do with it

  • Compose pages with text, tables, images, QR codes, barcodes, and form fields
  • Automatic pagination when content overflows a page
  • Custom fonts, a built-in color palette, and reusable styles
  • Merge, reorder, encrypt, and decrypt existing PDFs
  • Work in any unit you prefer: points, mm, cm, inches, or pixels

Under the hood

Kawa is built on Apache PDFBox 3. You never need to interact with PDFBox directly.

Where to go next

On this page