Alternatives to wkhtmltopdf logo

Alternatives to wkhtmltopdf

PhantomJS, Puppeteer, WeasyPrint, Pandoc, and Typ are the most popular alternatives and competitors to wkhtmltopdf.
61
109
+ 1
0

What is wkhtmltopdf and what are its top alternatives?

wkhtmltopdf and wkhtmltoimage are command line tools to render HTML into PDF and various image formats using the QT Webkit rendering engine. These run entirely "headless" and do not require a display or display service.
wkhtmltopdf is a tool in the File Conversion category of a tech stack.
wkhtmltopdf is an open source tool with 13.7K GitHub stars and 1.8K GitHub forks. Here’s a link to wkhtmltopdf's open source repository on GitHub

Top Alternatives to wkhtmltopdf

  • PhantomJS
    PhantomJS

    PhantomJS is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow. ...

  • Puppeteer
    Puppeteer

    Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome. ...

  • WeasyPrint
    WeasyPrint

    It is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. It is free software made available under a BSD license. ...

  • Pandoc
    Pandoc

    It is a free and open-source document converter, widely used as a writing tool and as a basis for publishing workflows. It converts files from one markup format into another. It can convert documents in (several dialects of) Markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki and many more. ...

  • Typ
    Typ

    It is a simple typesetting application. Turn plain Markdown into a formatted PDF, ready for print. Focus on content, not formatting. ...

  • CloudConvert
    CloudConvert

    Convert anything to anything - more than 200 different audio, video, document, ebook, archive, image, spreadsheet and presentation formats supported. ...

  • DocRaptor
    DocRaptor

    DocRaptor makes it easy to convert HTML to PDF and XLS format. Choose your document format, select configuration options and make an HTTP POST request to our server. DocRaptor returns your file in a matter of seconds. We provide extensive documentation and examples to get you started, and our API makes it easy to use DocRaptor to generate PDF and Excel files in your own web applications. ...

  • Ghostscript
    Ghostscript

    It is a suite of software based on an interpreter for Adobe Systems' PostScript and PDF page description languages. Its main purposes are the rasterization or rendering of such page description language files. ...

wkhtmltopdf alternatives & related posts

PhantomJS logo

PhantomJS

1.7K
430
18
Scriptable Headless WebKit
1.7K
430
+ 1
18
PROS OF PHANTOMJS
  • 13
    Scriptable web browser
  • 3
    Depends on QT
  • 2
    No ECMAScript 6
CONS OF PHANTOMJS
    Be the first to leave a con

    related PhantomJS posts

    Tim Abbott

    We use CasperJS because we adopted it back in 2013 for JavaScript frontend testing. It was a really nice system back then compared to what else was out there; you had PhantomJS as a programmable browser that actually rendered CSS and everything, it was really fast (speed is a big downside of e.g. Selenium), and it was possible to make non-flaky frontend integration tests with it.

    I wouldn't recommend it today, because PhantomJS is a basically dead project, and as a result, so is CasperJS. I expect we'll migrate to something else. We haven't in large part because 95% of our new tests are written with a simple Node.js-based unit testing framework we use that run 35K lines of unit tests covering most of our JS codebase in 3.6 seconds. And for the things where we want an integration test, CasperJS does work, and I think there's a good chance that waiting another year or two will result in our being able to switch to a much better option than what we'd get if we migrated now.

    See more
    Puppeteer logo

    Puppeteer

    875
    567
    26
    Headless Chrome Node API
    875
    567
    + 1
    26
    PROS OF PUPPETEER
    • 10
      Very well documented
    • 10
      Scriptable web browser
    • 6
      Promise based
    CONS OF PUPPETEER
    • 10
      Chrome only

    related Puppeteer posts

    Raziel Alron
    Automation Engineer at Tipalti · | 7 upvotes · 2M views

    Currently, we are using Protractor in our project. Since Protractor isn't updated anymore, we are looking for a new tool. The strongest suggestions are WebdriverIO or Puppeteer. Please help me figure out what tool would make the transition fastest and easiest. Please note that Protractor uses its own locator system, and we want the switch to be as simple as possible. Thank you!

    See more

    I work in a company building web apps with AngularJS. I started using Selenium for tests automation, as I am more familiar with Python. However, I found some difficulties, like the impossibility of using IDs and fixed lists of classes, ending up with using xpaths most, which unfortunately could change with fixes and modifications in the code.

    So, I started using Puppeteer, but I am still learning. It seems easier to find elements on the webpage, even if the creation and managing of arrays of elements seem to be a little bit more complicated than in Selenium, but it could be also due to my poor knowledge of JavaScript.

    Any comments on this comparison and also on comparisons with similar tools are welcome! :)

    See more
    WeasyPrint logo

    WeasyPrint

    26
    29
    0
    A smart solution helping web developers to create PDF documents
    26
    29
    + 1
    0
    PROS OF WEASYPRINT
      Be the first to leave a pro
      CONS OF WEASYPRINT
        Be the first to leave a con

        related WeasyPrint posts

        Pandoc logo

        Pandoc

        245
        64
        3
        A universal document converter
        245
        64
        + 1
        3
        PROS OF PANDOC
        • 2
          Markdown
        • 1
          More popular and active on github
        CONS OF PANDOC
          Be the first to leave a con

          related Pandoc posts

          Typ logo

          Typ

          92
          2
          0
          Turn Markdown into formatted PDFs
          92
          2
          + 1
          0
          PROS OF TYP
            Be the first to leave a pro
            CONS OF TYP
              Be the first to leave a con

              related Typ posts

              CloudConvert logo

              CloudConvert

              19
              20
              0
              File conversion in the cloud
              19
              20
              + 1
              0
              PROS OF CLOUDCONVERT
                Be the first to leave a pro
                CONS OF CLOUDCONVERT
                  Be the first to leave a con

                  related CloudConvert posts

                  DocRaptor logo

                  DocRaptor

                  16
                  18
                  5
                  Simple, high quality HTML to PDF and Excel XLS API
                  16
                  18
                  + 1
                  5
                  PROS OF DOCRAPTOR
                  • 2
                    Heroku Add-on
                  • 2
                    Easy setup
                  • 1
                    Great customer supportt
                  CONS OF DOCRAPTOR
                    Be the first to leave a con

                    related DocRaptor posts

                    Ghostscript logo

                    Ghostscript

                    11
                    21
                    0
                    Interpreter for the PostScript language and for PDF
                    11
                    21
                    + 1
                    0
                    PROS OF GHOSTSCRIPT
                      Be the first to leave a pro
                      CONS OF GHOSTSCRIPT
                        Be the first to leave a con

                        related Ghostscript posts