Blog
Python Tutorial – Convert PDF to HTML
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 readingPython – take a screenshot of a website
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 readingNodejs / Javascript – Convert HTML to Xlsx
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 readingPython – Generate thumbnail image of PDF or Office file
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 readingNode / Javascript – Generate thumbnail image of PDF or Office file
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 readingAdd bookmarks to PDF with PHP
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 readingAdd a Password to a PDF with PHP
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 readingPHP – Convert HTML to Xlsx
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 readingAdd bookmarks to PDF with Python
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 readingConvert HTML to Image with Python
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 readingC# / .NET – Convert HTML to Xlsx
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 readingPython – Convert HTML to Xlsx
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 readingConvert HTML to Image with C# / .NET Core
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 readingC# / .NET tutorial – Take a screenshot of a website
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 readingC# / .NET Core – Generate thumbnail image of PDF or Office file
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 readingv2 Officially Released
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 reading1000 Paying Businesses Milestone!
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 readingGet Image Preview or Thumbnail of PDF or Office File with Simple API Call
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 readingEnhanced support for converting emails to PDF format
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 readingConvert HTML to Image or URL to Image with Headless Chrome
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 readingVirtual conferences are on the rise
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 readingAPI2PDF and GDPR compliance
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
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
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 readingPdfSharp REST API now live on v2 beta
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