APIActive

PDF to HTML

PDF.co API endpoint that converts PDFs and scanned images into HTML with text, fonts, images, vectors and formatting preserved.

Open source page

Product features

Product features

​ Attributes

​ Available fonts

​ Chinese Fonts

Control Image Quality

Adjust the quality of images embedded in the HTML output.

Control Output Page Width

Set the page width of the generated HTML output.

​ Crop a PDF File

Disable Images

Option to exclude images from the HTML output.

​ Disable Ligaturization

​ fieldsString

​ Flatten Document

Inject CSS

Inject custom CSS into the generated HTML output.

​ Japanese Fonts

​ Korean Fonts

Line Grouping Options

Controls how lines of text are grouped when extracting data from a PDF.

OCRImagePreprocessingFilters

Image preprocessing filters for OCR such as grayscale and gamma correction.

PDF Add

​ POST /v1/pdf/edit/add

​ Standard Fonts