In an increasingly digital-first world, generating, managing, and transforming documents on the fly is crucial for developers, startups, and enterprises alike. Enter imPDF.com – a scalable, serverless PDF and Office document generation REST API that simplifies the complex world of document creation and processing.
Whether you need to generate PDFs from HTML or URLs, convert Word documents to PDF, merge PDFs, create image previews, or add security layers to your files—imPDF offers a powerful suite of endpoints to automate it all. Built on top of trusted engines like wkhtmltopdf, Headless Chrome, LibreOffice, and PdfSharp, imPDF wraps all the complexity in a clean, developer-friendly interface.
Getting Started with imPDF
Getting started with imPDF is simple. First, create an account at portal.impdf.com and grab your API Key. This key is your secure access token to the entire API platform.
Two Easy Ways to Authorize
You can authenticate your API calls via:
- Query String Parameter:
?apikey=YOUR-API-KEY
- Request Header:
Authorization: YOUR-API-KEY
⚡️ Quick Start Example
Want to convert a web page to PDF instantly? Just send a GET request like this:
https://impdf.com/chrome/pdf/url?url=https://example.com&apikey=YOUR-API-KEY
You’ll receive a downloadable PDF in response. It’s that easy.
Full API Overview
The imPDF REST API is categorized into specialized modules based on the underlying technology. Let’s dive into what each offers.
Chrome-Based Conversions
| Method | Endpoint | Function |
|---|---|---|
| GET | /chrome/pdf/url | Convert a URL to PDF |
| POST | /chrome/pdf/url | POST version for more control |
| POST | /chrome/pdf/html | Convert raw HTML string to PDF |
| GET | /chrome/image/url | Convert a URL to an image |
| POST | /chrome/image/url | Same as above with POST support |
| POST | /chrome/image/html | Convert raw HTML to image |
LibreOffice Engine
| Method | Endpoint | Function |
|---|---|---|
| POST | /libreoffice/any-to-pdf | Convert Office or image to PDF |
| POST | /libreoffice/thumbnail | Generate image preview of the first page |
| POST | /libreoffice/pdf-to-html | Convert PDF to HTML |
| POST | /libreoffice/html-to-docx | Convert HTML to Word document |
| POST | /libreoffice/html-to-xlsx | Convert HTML to Excel document |
PdfSharp Utilities
| Method | Endpoint | Function |
|---|---|---|
| POST | /pdfsharp/merge | Merge multiple PDFs into one |
| POST | /pdfsharp/bookmarks | Add bookmarks to a PDF |
| POST | /pdfsharp/password | Password-protect a PDF |
| POST | /pdfsharp/extract-pages | Extract specific pages from a PDF |
| POST | /pdfsharp/compress | Reduce the file size of a PDF |
Utils & Monitoring Tools
| Method | Endpoint | Function |
|---|---|---|
| GET | /status | API health check |
| DELETE | /file/{responseid} | Delete files stored by imPDF |
| GET | /balance | Check your usage credits |
Wkhtmltopdf Engine (Legacy Support)
| Method | Endpoint | Function |
|---|---|---|
| GET | /wkhtml/pdf/url | Convert a URL to PDF |
| POST | /wkhtml/pdf/url | Convert a URL to PDF via POST |
| POST | /wkhtml/pdf/html | Convert raw HTML to PDF |
Barcode & QR Code Generation (Zebra)
| Method | Endpoint | Function |
|---|---|---|
| GET | /zebra | Generate QR codes and barcodes using ZXING |
ZIP Packaging
| Method | Endpoint | Function |
|---|---|---|
| POST | /zip | Package multiple files into a .zip archive |
What Makes imPDF Stand Out?
- ✅ Serverless, Scalable Architecture – No need to manage servers or local libraries. imPDF handles it all in the cloud.
- ✅ Multiple Engines for Optimal Flexibility – Use Chrome for modern rendering, LibreOffice for Office docs, and PdfSharp for fast PDF editing.
- ✅ Secure Document Processing – With HTTPS encryption and API key authentication, your data stays protected.
- ✅ Broad Format Support – Convert and process everything from DOCX, XLSX, PPTX, PDF, HTML, to email and image files.
- ✅ Pay-as-You-Go – Only pay for what you use, and keep track of your usage with the
/balanceendpoint.
Use Cases for Developers and Businesses
- Web-to-PDF Services: Offer webpage-to-PDF downloads to your users.
- Dynamic Invoice Generation: Use HTML templates to generate invoices or reports.
- Document Archiving: Convert Office files to PDF for long-term storage.
- eCommerce Receipts: Generate order confirmations and receipts as PDFs.
- Email to PDF: Archive email content as PDF or thumbnail for compliance.
✅ Conclusion
imPDF is more than just a PDF generation tool—it’s a full-fledged document transformation and processing platform that empowers developers to build automated, scalable, and secure workflows. Whether you're generating PDF reports, converting Word files, merging PDFs, or creating image previews, imPDF delivers with simplicity and speed.
Ready to get started? Visit impdf.com or sign up at portal.impdf.com to grab your API key and start building powerful document workflows today.