Skip to content
ComPDF

Extract PDF to Markdown

Overview

Extract text, tables and images from PDF documents to Markdown file.

Sample

Full code sample which shows how to convert from a PDF to Markdown file.

python
input_file_path = "***"
password = "***"
output_file_name = "***"

markdown_options = ConvertOptions()
error = CPDFConversion.start_pdf_to_markdown(input_file_path, password, output_file_name, markdown_options)