Add a Password to a PDF with PHP

July 14th, 2021 / by api2pdf /

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 with the […]

Read More

Add bookmarks to PDF with PHP

July 14th, 2021 / by api2pdf /

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 […]

Read More

PHP Tutorial – Convert PDF to HTML

July 14th, 2021 / by api2pdf /

Intro For those who are php 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 an HTML […]

Read More

PHP – Convert HTML to Xlsx

July 14th, 2021 / by api2pdf /

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, outdated libraries or confusing answers […]

Read More

Convert HTML to Docx with PHP

July 14th, 2021 / by api2pdf /

Intro If you are writing nodejs / javascript code, you might be tasked with generating a Microsoft Word (Docx) 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, outdated libraries or confusing answers that ask you to […]

Read More

PHP – Generate thumbnail image of PDF or Office file

July 14th, 2021 / by api2pdf /

Intro If you are writing php 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 and getting nowhere. Maybe you ended […]

Read More

PHP – take a screenshot of a website

July 14th, 2021 / by api2pdf /

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 a php developer and you have been […]

Read More

Convert HTML to Image with PHP

July 14th, 2021 / by api2pdf /

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 all of them for a […]

Read More

Add a Password to a PDF with Nodejs / Javascript

July 14th, 2021 / by api2pdf /

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 nodejs developer. Our API will take your .pdf file and return back to you a new .pdf file with the […]

Read More

Add bookmarks to PDF with Nodejs / Javascript

July 14th, 2021 / by api2pdf /

Intro If you are working with PDFs as a nodejs 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 […]

Read More