Blog

Python Tutorial – Convert PDF to HTML

Published Jul 14 2021

Intro For those who are python developers, you might have a niche requirement to convert a PDF into HTML, or extract text content from a PDF for indexing purposes. Here at API2PDF, we have a PDF to HTML endpoint that does a best effort to extract the text from a PDF and output...

Continue reading

Python – take a screenshot of a website

Published Jul 14 2021

Intro You might need to convert a URL to an image, URL to PNG, or automatically take a screenshot of a website for various reasons. Maybe you are crawling websites and would like an image preview of all of them for a database. In either case, if you’re python and you hav...

Continue reading

Nodejs / Javascript – Convert HTML to Xlsx

Published Jul 14 2021

Intro If you are writing nodejs / javascript code, you might be tasked with the strange requirement of converting HTML to a Microsoft Excel (xlsx) file. After some research, you discover that this is not as trivial as you hoped it would be. You might have ended up on stackover...

Continue reading

Python – Generate thumbnail image of PDF or Office file

Published Jul 14 2021

Intro If you are writing python code, you might be tasked with generating an image preview or thumbnail image of a PDF or Microsoft Office file like Word, Powerpoint, Excel, or even email files. If you ended up on this article you probably have been doing research for hours an...

Continue reading

Node / Javascript – Generate thumbnail image of PDF or Office file

Published Jul 14 2021

Intro If you are writing node / javascript code, you might be tasked with generating an image preview or thumbnail image of a PDF or Microsoft Office file like Word, Powerpoint, Excel, or even email files. If you ended up on this article you probably have been doing research f...

Continue reading

Add bookmarks to PDF with PHP

Published Jul 14 2021

Intro If you are working with PDFs as a php developer, you know the pain associated with working with them. In this post we will cover how to conveniently add bookmarks to a PDF using our REST API in just a few lines of code. Our API will take your .pdf file and return back to...

Continue reading

Add a Password to a PDF with PHP

Published Jul 14 2021

Intro API2PDF is a REST API that provides utilities for manipulating PDFs and other files. You landed here because you just want a simple and reliable way to add passwords to PDF files as a php developer. Our API will take your .pdf file and return back to you a new .pdf file ...

Continue reading

PHP – Convert HTML to Xlsx

Published Jul 14 2021

Intro If you are writing php code, you might be tasked with the strange requirement of converting HTML to a Microsoft Excel (xlsx) file. After some research, you discover that this is not as trivial as you hoped it would be. You might have ended up on stackoverflow seeing old,...

Continue reading

Add bookmarks to PDF with Python

Published Jul 14 2021

Intro If you are working with PDFs as a Python developer, you know the pain associated with working with them. In this post we will cover how to conveniently add bookmarks to a PDF using our REST API in just a few lines of code. Our API will take your .pdf file and return back...

Continue reading

Convert HTML to Image with Python

Published Jul 14 2021

Intro You might need to convert HTML to an image or HTML to png format for various reasons. Perhaps you are generating a snapshot or image preview of an HTML template you designed as part of your application. Maybe you are crawling websites and would like an image preview of a...

Continue reading

C# / .NET – Convert HTML to Xlsx

Published Jul 14 2021

Intro If you are writing c# / .net core code, you might be tasked with the strange requirement of converting HTML to a Microsoft Excel (xlsx) file. After some research, you discover that this is not as trivial as you hoped it would be. You might have ended up on stackoverflow ...

Continue reading

Python – Convert HTML to Xlsx

Published Jul 14 2021

Intro If you are writing python code, you might be tasked with the strange requirement of converting HTML to a Microsoft Excel (xlsx) file. After some research, you discover that this is not as trivial as you hoped it would be. You might have ended up on stackoverflow seeing o...

Continue reading

Convert HTML to Image with C# / .NET Core

Published Jul 13 2021

Intro You might need to convert HTML to an image or HTML to png format for various reasons. Perhaps you are generating a snapshot or image preview of an HTML template you designed as part of your application. Maybe you are crawling websites and would like an image preview of a...

Continue reading

C# / .NET tutorial – Take a screenshot of a website

Published Jul 13 2021

Intro You might need to convert a URL to an image, URL to PNG, or automatically take a screenshot of a website for various reasons. Maybe you are crawling websites and would like an image preview of all of them for a database. In either case, if you’re writing c# / .net ...

Continue reading

C# / .NET Core – Generate thumbnail image of PDF or Office file

Published Jul 13 2021

Intro If you are writing c# / .net core code, you might be tasked with generating an image preview or thumbnail image of a PDF or Microsoft Office file like Word, Powerpoint, Excel, or even email files. If you ended up on this article you probably have been doing research for ...

Continue reading

v2 Officially Released

Published Jul 10 2021

This is a major release which contains breaking changes. You can remain on the older version of the API if you wish to keep using v2018.api2pdf.com. Upgrade is not required, though recommended. We will continue to run the older version of the API indefinitely. Version 2 of Api...

Continue reading

1000 Paying Businesses Milestone!

Published Jun 09 2021

Api2Pdf proudly announces that we have reached 1000 paying businesses. 1000 customers is a great milestone for any SaaS business. Thank you to all of our loyal customers for being a part of our journey over the last 3 years!

Continue reading

Get Image Preview or Thumbnail of PDF or Office File with Simple API Call

Published Apr 27 2021

We continue to enhance our V2 API which is loaded with features now. Check out our REST API documentation here. A major annoyance for developers is having to generate a thumbnail or image preview of an uploaded Office file or PDF file. We have now added a new endpoint l...

Continue reading

Enhanced support for converting emails to PDF format

Published Jan 01 2021

For a while, a pain point for our LibreOffice endpoint is that it struggled with converting email files to PDF. The file extension for these were often .eml or .msg. People would need to either convert email files to PDF format in large batches, or they are using PDFs as a for...

Continue reading

Convert HTML to Image or URL to Image with Headless Chrome

Published Oct 25 2020

Convert HTML to Image or URL to Image with Headless Chrome Headless Chrome provides a great way to take screenshots or images of raw HTML or a URL of a website. If you need to do this at scale with an easy to use API, we’ve got you covered. We provide a super simple API ...

Continue reading

Virtual conferences are on the rise

Published May 28 2020

Today is DockerCON Live 2020 – Link is here. And API2PDF will be attending. They also made the entire event free. With so many conferences being cancelled, we are seeing the rise and likely permanence of virtual conferences and virtual conference technology. Convert...

Continue reading

API2PDF and GDPR compliance

Published May 17 2020

API2PDF is GDPR and privacy compliant. We do not store or log the payload data used to make the API calls at all. All PDFs self-delete from our storage after 24 hours, but you have the ability to DELETE them immediately. Our v2 API supports direct upload to you...

Continue reading

[Resolved] Issue downloading PDF with Java

Published Apr 08 2020

We’re not java experts here, but we have gotten some reports from customers who run into issues after generating the PDF file – they want to download that file and save it locally. Never faced any issues with python or c#, but Java seems to have some problems. The ...

Continue reading

[Resolved] PDF is rendering blank or only partially with Headless Chrome

Published Apr 08 2020

Intro In this post we will outline why in some cases PDFs are rendering blank or maybe only some elements, or part of elements are appearing but not everything on the page. We are going to explain why this occurs when rendering PDFs with Headless Chrome, but it would impact an...

Continue reading

PdfSharp REST API now live on v2 beta

Published Feb 09 2020

We are moving fast here at api2pdf with the progress of v2. Yesterday we made available LibreOffice with new functionality, and now we are releasing PdfSharp with new functionality. v2 in public beta – documentation available here. PdfSharp endpoints now support /p...

Continue reading