Skip to content
whatismyalternative

wkhtmltopdf

Open source command line tools rendering HTML to PDF and images

Visit wkhtmltopdf

wkhtmltopdf and wkhtmltoimage are open source command line tools that convert HTML documents into PDFs and image formats. They run headless, so no display or display service is needed, making them suitable for server-side document generation tasks such as producing invoices or other HTML-based output.

The tools use the Qt WebKit rendering engine and accept command line options for controlling output, including features such as table of contents generation. A C library is also available for integration into applications. Precompiled binaries and source builds are provided for download, along with documentation for the command line tools and the library.

wkhtmltopdf is licensed under LGPLv3 and is intended for developers and system administrators who need to convert HTML to PDF or images from scripts, applications, or automated workflows.

12 alternatives to wkhtmltopdf

Ranked by how well each tool replaces wkhtmltopdf: shared features, audience, price and popularity.

  1. Command line tool and library for transferring data with URLs.

    Covers 4 of 7 key features and has a free plan.

    Free planOpen source
    60 out of 100 matchFree
  2. PDF generation for applications, websites, automations, and one-time conversions

    Covers 3 of 7 key features and has a free plan.

    Free plan
    58 out of 100 matchContact sales
  3. HTML to PDF API with an API for you and an MCP for your agent

    Covers 3 of 7 key features and has a free plan.

    Free plan
    58 out of 100 matchFree
  4. HTML to PDF API for developers + 24 free PDF tools. Create templates, preview live, render

    Covers 2 of 7 key features and has a free plan.

    Free plan
    56 out of 100 match$29/mo
  5. Transform HTML and CSS into stunning images and PDFs. The most powerful document generatio

    Covers 2 of 7 key features and has a free plan.

    Free plan
    55 out of 100 match$9.17/mo
  6. HTML to PDF API for developers.

    Covers 2 of 7 key features and has a free plan.

    Free plan
    54 out of 100 match$10.90/mo
  7. Transform HTML/CSS to PNG, JPG & PDF | 99.99% Uptime

    Covers 0 of 7 key features and has a free plan.

    Free plan
    54 out of 100 match$9.17/mo
  8. HTML to image API for automation workflows

    Covers 3 of 7 key features and has a free plan.

    Free plan
    54 out of 100 match$9/mo
  9. Convert any document to PDF with a single API call.

    Covers 2 of 7 key features and has a free plan.

    Free plan
    54 out of 100 matchContact sales
  10. Easy web service to convert HTML to PDF.

    Covers 1 of 7 key features and has a free plan.

    Free plan
    53 out of 100 match$5/mo
  11. HTML to PDF & screenshot API.

    Covers 2 of 7 key features and has a free plan.

    Free plan
    53 out of 100 match$9/mo
  12. Powerful PDF APIs for Developers

    Covers 2 of 7 key features and has a free plan.

    Free plan
    53 out of 100 matchContact sales