# Prince

> Convert HTML to PDF. Beautiful printing with simple CSS.

Source: https://talira.ai/catalog/prince-cbgkkxts
Every listing: https://talira.ai/catalog.md

- Kind: Commercial software
- Types: Command-line tool
- Categories: [documents / pdf / generation](https://talira.ai/categories/documents/pdf/generation), [publishing / typesetting](https://talira.ai/categories/publishing/typesetting)
- Platforms: macos, docker, cli
- Licence: proprietary
- Pricing: Paid, free tier
- Pricing notes: One-time licences: Desktop $495, Per Server $3,800 (volume discounts to $2,660 each for 5+), Academic Server $1,900; support contracts $123 (desktop) and $950 (server) per year; Commercial Site Licence from about $2,000/year; OEM by quote. Free licence for non-commercial use only: generated PDFs carry notices identifying Prince that must not be removed, and a link to princexml.com is required.
- Free tier: yes
- Self-hostable: yes
- Made by: [YesLogic](https://talira.ai/orgs/yeslogic.md)

Prince (princexml.com) is a commercial HTML-to-PDF formatter by YesLogic that typesets HTML and CSS for print and publishing. It supports CSS for paged media and JavaScript, and its PDF output includes bookmarks, links, metadata, encryption, font embedding and subsetting, and attachments. It installs as a binary ([Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md), [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) images, Python and Node packages) with wrappers for Java, [.NET](https://talira.ai/catalog/net-9p8d54vj.md), PHP and Rails, and is also available as a hosted API through [DocRaptor](https://talira.ai/catalog/docraptor-qrzzachz.md) and EuroPDF. A free licence covers non-commercial use only, and documents it makes carry notices that identify Prince.

## Links

- Website: https://www.princexml.com
- Docs: https://www.princexml.com/doc/
- Pricing: https://www.princexml.com/purchase/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/cask/prince>[^1]

## Problems it solves

- browser-based PDF rendering can't do footnotes, cross-references and proper book typesetting
- publish a print-ready book or journal straight from HTML and CSS
- I need the most complete CSS paged media support, whatever it costs
- our legal documents need exact page layout that Chrome's print to PDF keeps getting wrong
- typeset multi-column technical manuals with page numbers in the table of contents
- generate thousands of high-quality catalog PDFs on our own servers from HTML
- need a supported, licensed HTML to PDF engine for an enterprise product we ship to customers
- an HTML formatter with professional typography features like hyphenation and widows/orphans control
- convert XML content to print documents with CSS instead of XSL-FO
- the open-source HTML to PDF tools don't match what our designers lay out for print

## Features

- HTML and XML to PDF with CSS
- CSS paged media
- JavaScript support
- bookmarks and links
- PDF metadata and encryption
- font embedding and subsetting
- PDF attachments
- Docker images
- Python, Node.js, Java, .NET, PHP and Rails wrappers
- Prince for Books branch

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.26 out of 1.
Signals: backing 0.30, extensibility 0.20.

- made by YesLogic

## Alternatives

- [DocRaptor](https://talira.ai/catalog/docraptor-qrzzachz.md): The World's Most Advanced HTML to PDF API
- [WeasyPrint](https://talira.ai/catalog/weasyprint-c7dnxd3b.md): Renders HTML and CSS to PDF, from Python or the command line
- [ironpress](https://talira.ai/catalog/ironpress-g94sb527.md): HTML to PDF. In process. In pure Rust.
- [Typst](https://talira.ai/catalog/typst-kghwt0kf.md): The new foundation for documents
- [Puppeteer](https://talira.ai/catalog/puppeteer-vbv4zakx.md): JavaScript API for Chrome and Firefox
- [PDFShift](https://talira.ai/catalog/pdfshift-4gxpxvwn.md): From HTML to pixel-perfect PDFs in seconds

## Sources

[^1]: https://formulae.brew.sh/api/cask.json (checked 21 Nov 2026)
