Api2Pdf.com is an easy-to-use REST API that gets you converting HTML to PDF in minutes. You don't need to worry about installing a PDF rendering engine on your local developer environment and wrangle with it when you deploy your web app to production.
Api2Pdf is a wrapper for WKHTMLTOPDF, Headless Chrome, and LibreOffice. Choose which endpoints you want to use that best suits your needs.
-Convert HTML to PDF -Convert URL to PDF -Convert Office documents to PDF (Word to PDF, Excel to PDF, PowerPoint to PDF) -Convert Images to PDF (gif, jpg, png, bmp to PDF) -Merge / concatenate two or more PDFs together
No rate limits. No file size limits. Sign up for as little as $1. No monthly commitments and cancel at any time.
No WeasyPrint videos yet. You could help us improve this page by suggesting one.
Based on our record, WeasyPrint should be more popular than Api2Pdf. It has been mentiond 29 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
Is there a reason you didn't consider something like Weasyprint? https://weasyprint.org I've gone through a number of systems to convert CV's, business cards, and other docs and it hasn't let me down yet. - Source: Hacker News / about 2 months ago
You don't _have_ to use a browser. I had very good results with Weasyprint [0]. And there's also PrinceXML [1] if you're willing to pay. [0]: https://weasyprint.org/. - Source: Hacker News / about 2 months ago
Thanks for your answer! I imagined you would be using PrinceXML behind the scenes since that is probably the gold standard in HTML+CSS rendering. The only open source alternative I know of is WeasyPrint at https://weasyprint.org/. I'm not sure how well it fares against PrinceXML, though. And thanks for the pointer to Taffy - I didn't know it before! - Source: Hacker News / 2 months ago
Some people might be interested in https://weasyprint.org/. - Source: Hacker News / 4 months ago
I use Weasyprint [1] to generate a PDF from HTML, and I use a static site generator to convert Markdown to HTML. Weasyprint can handle code highlighting e.g. Using Pygments or another static framework, the only downside is it can't execute JS so if you e.g. Want to dynamically generate content to render you need to first pass your HTML through a headless browser, which is also possible though. There's also... - Source: Hacker News / 6 months ago
My colleague and I built api2pdf.com and launched in 2018. It was a massive amount of upfront work requiring sleepless nights and weekends for months on end because launching a SaaS involves way more than just the software component. Source: over 1 year ago
It might be easiest to use something like api2pdf.com to convert the HTML to PDF using a simple REST API call instead of trying to wrangle wkhtmltopdf or headless chrome inside serverless functions on Netlify or Google Cloud. That can often be a real hassle. Source: almost 2 years ago
I built api2pdf.com - there was a massive upfront effort to build the product, infrastructure, marketing, everything you need to create a real business and a reliable, high quality service. Source: almost 3 years ago
I run api2pdf.com and we support both wkhtmltopdf and Headless Chrome. Wkhtmltopdf supports a few interesting tidbits that Chrome does not yet (like automatic table of contents generation). Source: about 3 years ago
wkhtmltopdf - wkhtmltopdf is an open source (LGPL) command line tools to render HTML into PDF and various image...
PDFShift - Convert any HTML documents to high-fidelity PDF using a single POST request
DocRaptor - As the only API powered by the Prince HTML-to-PDF engine, DocRaptor provides the best support for complex PDFs with powerful support for headers, page breaks, page numbers, flexbox, watermarks, accessible PDFs, and much more
HTML PDF API - Easily generate PDF documents from HTML code with our powerful API
Tcpdf - TCPDF: Open Source PHP Class for generating PDF documents
pdflayer - Free, powerful HTML to PDF API supporting both URL and raw HTML conversion. Unlimited document size, lightning-fast and compatible PHP, Python, Ruby, etc.