Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

HTML2PDF

Free#33 of 45 in PDF Creation Software

HTML2PDF: A self-hosted PHP library for turning prepared, valid HTML into PDFs. Ranked #33 of 45 in PDF Creation Software by our editors (5.9/10); pricing: Free plan; best for developers converting valid HTML into PDFs in-house.

5.9/10Editor score
HTML2PDF5.9 Visit HTML2PDF

At a glance

  • Editor score
    5.9 / 10
  • Pricing
    Free plan
  • Best for
    Developers converting valid HTML into PDFs in-house
  • Free plan
    Yes
  • Paid from
    Free
  • Facts checked
    23 Sep 2026
HTML2PDF screenshot
  • Where it wins

    • Creates PDFs from valid HTML, including documents with nested tables
    • Can display, download, save, or return generated PDF content
    • Documentation covers barcodes, bookmarks, fonts, SVG, and signatures
  • Where it doesn't

    • Requires specially prepared valid HTML rather than arbitrary web pages
    • Focused on PDF generation from HTML, not broader PDF workflows
    • Community support may not suit teams seeking direct vendor support

Our verdict on HTML2PDF

HTML2PDF is an open-source PHP library for developers who need to generate PDF documents from valid HTML within their own web applications. Its documented examples include invoices and delivery notes, with particular attention to documents built using nested tables. It is aimed at teams that can prepare HTML for conversion; it is not positioned as a way to turn an existing web page or arbitrary WYSIWYG output into a PDF. Deployment is self-hosted, so the conversion runs as part of an application rather than through a hosted service.

The library's output options make it adaptable to different application flows: it can display a PDF inline in a browser, force a download, save a file on the server, or return PDF content as a string. It uses TCPDF for PDF generation, and its documentation covers extensions including barcodes, bookmarks, fonts, SVG, and electronic signatures. That gives developers options for document features, while the central input requirement remains valid HTML 4.01. Teams whose source content is not prepared to that specification should expect to adapt their output rather than treat HTML2PDF as a general-purpose page capture tool.

HTML2PDF is presented as a free, open-source library distributed under the OSL license, rather than a hosted product with subscription tiers. Its installation-as-a-library model and community support are a fit for teams that can handle integration and maintenance in-house. Developers building structured documents and wanting control over where PDFs are delivered may find its scope appropriate. Teams seeking a hosted workflow, broad source-format conversion, or direct vendor support should consider alternatives with those capabilities instead.

Your product? Our editors can test HTML2PDF in depth and publish a review, labelled as paid · from $149/mo →

HTML2PDF pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on html2pdf.fr

HTML2PDF fact sheet

Free planYes
Paid fromFree
Data mergeNot verified
Bulk PDF generationNot verified
API accessNot verified
Maximum pagesNot verified
Input sourcesvalid HTML 4.01
Fillable form creationNot verified
DeploymentSelf_hosted
DeploymentSelf-hosted
SupportCommunity
Built forSmall business, Mid-market, Enterprise (editorial estimate)
Integrations1 integrations: TCPDF
PricingFree plan
Websitehtml2pdf.fr
Facts checked23 Sep 2026

HTML2PDF integrations

HTML2PDF lists 1 integrations on its own site.

  • TCPDF

Alternatives to HTML2PDF

See all HTML2PDF alternatives →

Used HTML2PDF? 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 HTML2PDF 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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — HTML2PDF 5.9/10

HTML2PDF is listed in our PDF Creation Software directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/html2pdf/"><img src="https://www.itechguides.com/best/badge/html2pdf.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