APIActive

PDF Compress

PDF Compress: On this page Quickstarts For API Developers For Automation Users Basic Knowledge Popular Endpoints Welcome Welcome to PDF.co Docs Copy page Copy page Your all-in-one guide to automate PDF, documents, and data extraction with APIs and integrations.

Open source page

Field note

What it does

On this page POST /v1/pdf/convert/to/html Attributes Disable Images Control Image Quality Control Output Page Width Inject CSS OCRImagePreprocessingFilters Line Grouping Options Query parameters Responses Example Payload Example Response Code Samples PDF Conversion PDF to HTML Copy page Copy page Convert PDF and scanned images into HTML representation with text, fonts, images, vectors, formatting preserved. Copy page Copy page Try it live: PDF to HTML → API Tester — send a real request from your browser. ​ POST /v1/pdf/convert/to/html ​ Attributes Attributes are case-sensitive and should be inside JSON for POST request. for example: { "url": "https://example.com/file1.pdf" } Attribute Type Required Default Description url string Yes - URL to the source file url attribute callback string No - The callback URL (or Webhook) used to receive the POST data. see Webhooks & Callbacks . This is only applicable when async is set to true . httpusername string No - HTTP auth user name if required to access source URL. httppassword string No - HTTP auth password if required to access source URL.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

​ Attributes

​ Control Image Quality

​ Control Output Page Width

​ Disable Images

​ Example Payload

​ Inject CSS

​ Line Grouping Options

​ OCRImagePreprocessingFilters

PDF to HTML

​ POST /v1/pdf/convert/to/html

​ Query parameters

​ Responses