# Api2Pdf integration

> REST API that generates PDFs and images from HTML, URLs and Markdown (Headless Chrome, wkhtmltopdf), converts Office files (LibreOffice), merges, watermarks and password-protects PDFs, extracts Markdown or data from files, and makes barcodes.

- Authentication: apiKey

## Tools (28)

- **Add Password to PDF (PdfSharp)**: Set a user password (and optional owner password) on an existing PDF.
- **Add Text Watermark to PDF (PdfSharp)**: Overlay a text watermark on every page of an existing PDF.
- **Check API Status**: Health check for the Api2Pdf API.
- **Check Credit Balance**: Return the remaining credit balance on the Api2Pdf account.
- **Convert File to Markdown (MarkItDown)**: Convert a PDF, Office or other file URL to Markdown.
- **Convert HTML to Image (Chrome)**: Render raw HTML to an image with Headless Chrome and return a FileUrl.
- **Convert HTML to PDF (Chrome)**: Render raw HTML to PDF with Headless Chrome and return a FileUrl.
- **Convert HTML to PDF (wkhtmltopdf)**: Render raw HTML to PDF with wkhtmltopdf (Chrome endpoints are recommended instead).
- **Convert Markdown to Image (Chrome)**: Render raw Markdown to an image with Headless Chrome and return a FileUrl.
- **Convert Markdown to PDF (Chrome)**: Render raw Markdown to PDF with Headless Chrome and return a FileUrl.
- **Convert Office Document or Image to PDF (LibreOffice)**: Convert a Word, Excel, PowerPoint, image, email or other LibreOffice-readable file URL to PDF.
- **Convert URL to Image (Chrome)**: Screenshot a public web page with Headless Chrome and return a FileUrl.
- **Convert URL to Image via GET (Chrome)**: Convenience GET that screenshots a URL with Headless Chrome, without advanced options.
- **Convert URL to PDF (Chrome)**: Render a public web page to PDF with Headless Chrome and return a FileUrl.
- **Convert URL to PDF via GET (Chrome)**: Convenience GET that renders a URL to PDF with Headless Chrome, without advanced options.
- **Convert URL to PDF via GET (wkhtmltopdf)**: Convenience GET that renders a URL to PDF with wkhtmltopdf, without advanced options.
- **Convert URL to PDF (wkhtmltopdf)**: Render a public web page to PDF with wkhtmltopdf (Chrome endpoints are recommended instead).
- **Create Zip File from URLs**: Download several files by URL and bundle them into one .zip.
- **Delete Generated File**: Delete a generated file immediately instead of waiting 24 hours.
- **Extract HTML from PDF (OpenDataLoader)**: Parse a PDF URL into HTML.
- **Extract Markdown from PDF (OpenDataLoader)**: Parse a PDF URL into Markdown.
- **Extract Pages from PDF (PdfSharp)**: Return a PDF containing only a page range of an existing PDF.
- **Extract Structured JSON from PDF (OpenDataLoader)**: Parse a PDF URL into structured JSON.
- **Generate Barcode or QR Code (ZXing)**: Generate a barcode or QR code image with ZXing.
- **Generate Excel Document from HTML (LibreOffice)**: Convert HTML (or an HTML URL) containing tables to an .xlsx file.
- **Generate Thumbnail of PDF or Office Document (LibreOffice)**: Create an image of the first page of a PDF or Office document.
- **Generate Word Document from HTML (LibreOffice)**: Convert HTML (or an HTML URL) to a .docx file.
- **Merge PDFs (PdfSharp)**: Combine multiple PDF URLs into one PDF, in the order given.

Connect Api2Pdf in General Input: https://www.generalinput.com/apps/api2pdf