# flyingsaucerproject/flyingsaucer

XML/XHTML and CSS 2.1 renderer in pure Java

Repository: https://github.com/flyingsaucerproject/flyingsaucer
Canonical: https://ross.abutalabs.com/products/flyingsaucer
Language: Java
License: NOASSERTION
License Family: other
Last push: 2026-08-18T05:29:16+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 5980, "days_push": 15, "days_rel": 16, "gap_med": 13.0, "n_releases_24m": 33}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2235, forks 571 (observed 2026-08-28T04:06:29.256529+00:00)

## What it is
Flying Saucer is a pure-Java library that renders well-formed XML/XHTML using CSS 2.1 layout and formatting. It outputs rendered documents to Swing panels, PDF files, and images, with additional SWT and Chrome-based PDF modules.

## Use cases
- render xhtml to pdf in java
- convert html documents to pdf files
- display html content inside a swing application
- generate pdf reports from html templates
- render xml with css styling to images
- embed a lightweight html renderer in a java desktop app

## When to choose
- you need HTML/XHTML to PDF conversion in pure Java without native dependencies
- you want to render styled XML/XHTML inside Swing or SWT UIs
- your documents use CSS 2.1 layout features and Java 17+ is acceptable

## When to avoid
- you need full modern HTML5/CSS3 rendering (unless using the chrome-pdf module)
- you need a JavaScript-capable browser engine
- your project must run on Java versions older than 17

## Facets
- artifact type: library
- maturity: active
- function: pdf, templating, graphics
- domain: pdf, web-development
- platform: jvm
- tags: xhtml-renderer, css-2.1, html-to-pdf, swing, openpdf, java, desktop

## Member repositories
- flyingsaucerproject/flyingsaucer (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:29.256529+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:44:19.068177+00:00, confidence not recorded.
  - readme: https://github.com/flyingsaucerproject/flyingsaucer (fetched 2026-08-28T04:06:29.256529+00:00, sha 2afe26d2cd75)
- Data as of 2026-08-30T08:39:29.467469+00:00.
