Skip to main content
Skip to main content

Supported Formats

DocuHub supports 108+ file formats for conversion, compression, and PDF operations.

Overview

The DocuHub API can convert, compress, merge, split, and manipulate files across 108+ formats. This page provides a complete reference of every supported source and target format, organised by category.

Every tool listed below is available through the API. Pass the appropriate parameters to the /v1/convert or /v1/pdf/* endpoints to use them programmatically.

API Format Strings

When calling the API, specify the target format using the output_format parameter as a lowercase string matching the target file extension.

curl -X POST https://api.docuhub.live/v1/convert \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf" \
  -F "output_format=docx"

# Accepted values: "docx", "pdf", "png", "jpg", "xlsx",
#   "pptx", "txt", "md", "json", "html", "csv", ...

Common Conversions

These are the most frequently used conversion paths:

SourceTargetDescription
PDFDOCXExtract editable Word documents from PDFs
PDFPNGRender PDF pages as high-resolution images
DOCXPDFCreate portable PDFs from Word files
ImagesPDFCombine images into a single PDF document
PDFTextExtract plain text content from PDFs

Format Categories

Convert Documents

Transform documents between different formats with high accuracy.

SourceTargetDescription
pdfpdfMake scanned PDF searchable
pdfdocConvert PDF to Word document
pdfxlsxConvert PDF to Excel document
pdfpptxConvert PDF to PowerPoint document
pdftxtConvert PDF to Text document
pdfrtfConvert PDF to RTF document
pdfhtmlConvert PDF to HTML document
pdfxmlConvert PDF to XML document
pdfjsonConvert PDF to JSON document
pdfcsvConvert PDF to CSV document
docxpdfConvert Word to PDF document
xlsxpdfConvert Excel to PDF document
pptxpdfConvert PowerPoint to PDF document
txtpdfConvert Text to PDF document
rtfpdfConvert RTF to PDF document
odtpdfConvert OpenOffice Writer to PDF document
odspdfConvert OpenOffice Calc to PDF document
odppdfConvert OpenOffice Impress to PDF document
epubpdfConvert EPUB to PDF document
mobipdfConvert MOBI to PDF document
htmlpdfConvert HTML to PDF document
xmlpdfConvert XML to PDF document
pdfjpgConvert PDF pages to JPG images
jpgpdfConvert JPG images to PDF
pdfpngConvert PDF pages to PNG images
pngpdfConvert PNG images to PDF
pdfwebpConvert PDF pages to WebP images
webppdfConvert WebP images to PDF
pdftiffConvert PDF pages to TIFF images
tiffpdfConvert TIFF images to PDF
pdfbmpConvert PDF pages to BMP images
bmppdfConvert BMP images to PDF
pdfheicConvert PDF pages to HEIC images
heicpdfConvert HEIC images to PDF
pdfgifConvert PDF pages to GIF images
gifpdfConvert GIF images to PDF
pdfavifConvert PDF pages to AVIF images
avifpdfConvert AVIF images to PDF
mdpdfConvert Markdown to PDF
djvupdfConvert DJVU to PDF
csvpdfConvert CSV to PDF
heifpdfConvert HEIF to PDF
pdfheifConvert PDF to HEIF
emlpdfConvert email files (.eml) to PDF for archiving and legal discovery.
msgpdfConvert Microsoft Outlook .msg email files to PDF for archiving and compliance.
vsdxpdfConvert Microsoft Visio diagrams (.vsdx) to PDF without Visio installed.
dwgpdfConvert AutoCAD DWG drawings to PDF for sharing with clients without AutoCAD.
srtpdfConvert SRT subtitle files to formatted PDF transcripts for accessibility and repurposing.
vttpdfConvert WebVTT (.vtt) subtitle files to PDF transcripts.
mobiepubConvert MOBI ebooks to EPUB for Apple Books, Kobo, and non-Kindle readers.
fb2pdfConvert Fiction Book 2.0 (.fb2) ebooks to PDF for universal reading.
cbrpdfConvert CBR comic book archives to PDF for reading on any device.
hwppdfConvert Hangul Word Processor (.hwp) files to PDF without HWP installed.
dcmjpgConvert DICOM medical images (.dcm) to JPG for sharing X-rays, CT scans, and MRIs.
htmldocxConvert HTML files to editable Word DOCX documents with formatting preserved.
svgpdfConvert SVG vector graphics to high-quality PDF for printing and sharing.
wpdpdfConvert WordPerfect .wpd documents to PDF — essential for legal and government archives.
wpddocxConvert WordPerfect .wpd files to editable Word DOCX format.
abwpdfConvert AbiWord .abw document files to PDF for sharing and archiving.
abwdocxConvert AbiWord .abw documents to editable Microsoft Word DOCX files.
sxwpdfConvert legacy StarOffice .sxw files to PDF for accessing old document archives.
rtfdocxConvert Rich Text Format .rtf files to editable Microsoft Word DOCX documents.
pdfpdfConvert to ISO-standard PDF/A for long-term archiving.
pdfpclConvert PDF to PCL format for HP printer compatibility.
pdftiffConvert PDF to TIFF format optimized for fax transmission.

Compress Files

Reduce file sizes while maintaining quality.

SourceTargetDescription
pdfpdfReduce PDF file size online

Merge Documents

Combine multiple files into a single document.

SourceTargetDescription
pdfpdfCombine multiple PDFs into one
pdfpdfInterleave pages from two PDFs for double-sided scan reassembly.

Split Documents

Extract pages or split documents into multiple files.

SourceTargetDescription
pdfpdfExtract pages from PDF
pdfpdfAuto-split when specific text changes between pages.
pdfpdfSplit into files under a maximum size for email attachments.
pdfpdfSplit two-page scans into individual pages.

PDF Security

Protect or unlock PDF documents with password encryption.

SourceTargetDescription
pdfpdfAdd password encryption to your PDF documents
pdfpdfEncrypt PDF with password
pdfpdfRemove PDF password security
pempdfDecode X.509 certificates to a PDF showing subject, issuer, validity, SAN, and fingerprints.
pdfpdfCover areas with white or black rectangles to hide content.
pdfpdfAuto-detect and redact credit cards, emails, phone numbers, SSNs.

PDF Utilities

Additional tools for working with PDF files.

SourceTargetDescription
pdfpdfRotate PDF pages permanently
pdfpdfRemove unwanted pages from PDF
pdfpdfAdd page numbers to PDF
pdfpdfAdd watermark to PDF documents
pdfpdfFix damaged PDF files
pdfpdfFlatten PDF forms and layers
pdfpdfConvert PDF to black and white
pdfpdfSort and reorder PDF pages
pdfpdfAdd digital signature to PDF
pdfjsonCheck if your PDF meets PDF/A archival standards.
pdfpdfPut 2, 4, 8 or 16 pages on a single sheet.
pdfpdfRearrange pages for booklet saddle-stitch printing.
pdfpdfAdd sequential legal Bates stamps to PDF pages.
pdfpdfAdd custom headers and footers with dates, page numbers, and text.
pdfpdfSearch and replace text across all PDF pages.
pdfpdfStraighten skewed scanned pages automatically.
pdfpdfBatch remove highlights, comments, and annotations by type.
pdfpdfInsert clickable hyperlinks, email links, and page links.
pdfpdfAdd, modify, or replace PDF bookmarks and table of contents.
pdfpdfAuto-rename files based on text extracted from pages.
pdfpdfReorder pages, insert blanks, mix pages from multiple files.

Image Conversions

Convert between image formats with high quality.

SourceTargetDescription
jpgpngConvert JPG to PNG
jpgwebpConvert JPG to WebP
jpgtiffConvert JPG to TIFF
jpgbmpConvert JPG to BMP
jpgheicConvert JPG to HEIC
jpggifConvert JPG to GIF
jpgavifConvert JPG to AVIF
pngjpgConvert PNG to JPG
pngwebpConvert PNG to WebP
pngtiffConvert PNG to TIFF
pngbmpConvert PNG to BMP
pngheicConvert PNG to HEIC
pnggifConvert PNG to GIF
pngavifConvert PNG to AVIF
webpjpgConvert WebP to JPG
webppngConvert WebP to PNG
webptiffConvert WebP to TIFF
webpbmpConvert WebP to BMP
webpheicConvert WebP to HEIC
webpgifConvert WebP to GIF
webpavifConvert WebP to AVIF
tiffjpgConvert TIFF to JPG
tiffpngConvert TIFF to PNG
tiffwebpConvert TIFF to WebP
tiffbmpConvert TIFF to BMP
tiffheicConvert TIFF to HEIC
tiffgifConvert TIFF to GIF
tiffavifConvert TIFF to AVIF
bmpjpgConvert BMP to JPG
bmppngConvert BMP to PNG
bmpwebpConvert BMP to WebP
bmptiffConvert BMP to TIFF
bmpheicConvert BMP to HEIC
bmpgifConvert BMP to GIF
bmpavifConvert BMP to AVIF
heicjpgConvert HEIC to JPG
heicpngConvert HEIC to PNG
heicwebpConvert HEIC to WebP
heictiffConvert HEIC to TIFF
heicbmpConvert HEIC to BMP
heicgifConvert HEIC to GIF
heicavifConvert HEIC to AVIF
gifjpgConvert GIF to JPG
gifpngConvert GIF to PNG
gifwebpConvert GIF to WebP
giftiffConvert GIF to TIFF
gifbmpConvert GIF to BMP
gifheicConvert GIF to HEIC
gifavifConvert GIF to AVIF
avifjpgConvert AVIF to JPG
avifpngConvert AVIF to PNG
avifwebpConvert AVIF to WebP
aviftiffConvert AVIF to TIFF
avifbmpConvert AVIF to BMP
avifheicConvert AVIF to HEIC
avifgifConvert AVIF to GIF
heifjpgConvert HEIF to JPG

AI-Powered Tools

Prepare documents for AI and LLM processing.

SourceTargetDescription
pdfmp3Convert PDF documents to natural-sounding audio using AI text-to-speech.
pdfjsonAI-powered: Automatically generate study flashcards from any PDF.
pdfsvgAI-powered: Instantly create visual mind maps from PDF documents.
pdfpptxAI-powered: Convert PDF documents or reports into PowerPoint presentations automatically.
pdfjsonAI-powered: Extract structured data from PDF invoices, forms, and documents as clean JSON.
imagedocxConvert scanned images and photos to editable Word documents using advanced OCR.
zippdfAI converts your Obsidian vault ZIP to a structured PDF — wikilinks resolved.
jsonpdfAI converts Roam Research JSON exports to structured PDF documents.
zippdfAI cleans up Notion Markdown exports and converts to professional PDF.
jsonpdfAI converts GitHub Issues JSON export to a professional PDF sprint report.
pdfpdfMake scanned PDFs searchable with AI-powered text recognition.

Developer Tools

Convert code, notebooks, diagrams, and technical formats to PDF and other outputs.

SourceTargetDescription
ipynbpdfConvert Jupyter Notebook (.ipynb) to PDF with all outputs and plots preserved.
mmdpdfRender Mermaid diagram syntax (.mmd) to crisp vector PDF.
mddocxConvert Markdown (.md) files to editable Microsoft Word documents.
openapipdfGenerate professional PDF documentation from OpenAPI 3.x or Swagger 2.0 specs.
codepdfConvert source code files to syntax-highlighted PDF for code reviews and submissions.
rstpdfConvert reStructuredText (.rst) documentation to PDF online.
adocpdfConvert AsciiDoc (.adoc) documents to professionally formatted PDF.
texpdfCompile LaTeX (.tex) files to PDF online — no local TeX installation required.
envjsonConvert .env environment files to JSON for documentation and config management.
envpdfGenerate a PDF reference sheet from your .env file with secret redaction.
inijsonConvert INI configuration files to JSON with section and key-value mapping.
inipdfConvert INI config files to a structured PDF configuration reference document.
tomljsonConvert TOML configuration files to JSON — perfect for Cargo.toml, pyproject.toml, and more.
tomlpdfConvert TOML configuration files to readable PDF documentation sheets.
txtpdfDecode JWT tokens to a PDF audit report showing claims, expiry, and algorithm.
pubpdfGenerate a PDF info sheet for SSH public keys showing fingerprint, algorithm, and key size.
zippdfGenerate a PDF manifest of all files inside a ZIP archive with sizes and paths.
jsonpdfGenerate a PDF dependency report from package.json with all dependencies and scripts.
tomlpdfGenerate a PDF dependency and feature report from Rust Cargo.toml files.
txtpdfGenerate a PDF dependency report from Python requirements.txt files.
logcsvConvert web server access logs to CSV for analysis in Excel or data tools.
logpdfGenerate a PDF analytics report from Nginx or Apache access logs with traffic statistics.
logpdfConvert structured JSON log files (Winston, Bunyan, Pino) to a readable PDF report.
bibpdfConvert BibTeX reference files to a formatted PDF bibliography in APA, MLA, or Chicago style.
jsonjsonConvert OpenAPI JSON specs to Postman Collection v2.1 for instant API testing.
texdocxConvert LaTeX .tex documents to editable Word DOCX — essential for journal submissions.
rmdpdfConvert R Markdown .Rmd files to PDF for sharing data science reports.
scsspdfAI converts CSS/SCSS variables to a professional PDF design token reference sheet.
jsonpdfAI generates a PDF storyboard from Lottie animation JSON with frame descriptions.
yamlpdfAI converts Kubernetes manifests to clear PDF documentation for non-technical stakeholders.
tfpdfAI converts Terraform HCL configurations to infrastructure documentation PDF.
tfjsonAI converts Terraform HCL configuration files to JSON format.
inopdfAI generates documentation PDF from Arduino sketches with pin mapping and function index.
logpdfAI analyzes systemd journal logs and generates a structured operations report PDF.
opmlpdfConvert OPML podcast subscription files to a PDF feed catalog for documentation.

Office Format Conversions

Convert between Microsoft Office, Apple iWork, and open formats without losing fidelity.

SourceTargetDescription
pptxdocxConvert PowerPoint presentations to editable Word documents.
pptxhtmlConvert PowerPoint presentations to HTML for sharing online without PowerPoint.
docxepubConvert Word documents to EPUB ebooks for Kindle, Apple Books, and Kobo.
docxmdConvert Word documents to clean Markdown text for GitHub, docs sites, and static generators.
keypdfConvert Apple Keynote (.key) presentations to PDF without a Mac or iCloud.
keypptxConvert Apple Keynote (.key) files to PowerPoint PPTX for cross-platform sharing.
pagesdocxConvert Apple Pages (.pages) documents to Microsoft Word DOCX.
pagespdfConvert Apple Pages (.pages) documents to PDF without iCloud or a Mac.
numbersxlsxConvert Apple Numbers (.numbers) spreadsheets to Microsoft Excel XLSX.
pptxpngExport each PowerPoint slide as an individual PNG image.
epubdocxConvert EPUB ebooks to editable Word documents for authors and editors.
cbzpdfConvert CBZ comic book archives to PDF for reading on any device.
odtdocxConvert LibreOffice Writer .odt documents to editable Microsoft Word DOCX files.

Data Format Conversions

Convert JSON, CSV, YAML, XML, and SQL between data formats and document outputs.

SourceTargetDescription
jsonxlsxConvert JSON data to formatted Excel spreadsheets with automatic column detection.
jsoncsvConvert JSON arrays to CSV files for spreadsheets, databases, and data pipelines.
jsonpdfRender JSON data as a formatted, readable PDF report.
csvjsonConvert CSV spreadsheet data to JSON format for APIs and JavaScript applications.
yamljsonConvert YAML configuration files to JSON format for APIs and Node.js apps.
yamlpdfConvert YAML configuration files to readable PDF documents.
xmljsonConvert XML data files to JSON format for REST APIs and JavaScript applications.
xmlxlsxConvert XML data files to Excel spreadsheets with automatic column mapping.
sqlpdfConvert SQL schema files to formatted PDF documentation for your database.
xlsxjsonConvert Excel spreadsheets to JSON arrays — all sheets preserved.
xlsxcsvConvert Excel XLSX files to CSV format — first sheet exported.
csvxlsxConvert CSV files to Excel XLSX spreadsheets instantly.
xlsxlsxUpgrade legacy Excel 97-2003 .xls files to modern XLSX format.
wk1xlsxConvert legacy Lotus 1-2-3 .wk1 and .wk3 spreadsheets to modern Excel XLSX.
odsxlsxConvert OpenDocument spreadsheets .ods to Microsoft Excel XLSX format.

Geospatial & Location

Convert GeoJSON, GPX, KML, and geospatial formats to CSV, PDF, and other outputs.

SourceTargetDescription
geojsoncsvExtract GeoJSON features, coordinates, and properties to a CSV spreadsheet.
geojsonpdfConvert GeoJSON to a PDF feature report with coordinates and properties.
gpxcsvExtract GPX track points and waypoints to a CSV spreadsheet for analysis.
gpxpdfConvert GPX GPS tracks to a PDF route summary card with distance and elevation stats.
kmlpdfConvert Google Earth KML/KMZ files to a PDF placemark report.

Optimize & Production

Prepare PDFs for accessibility, print production, and specialized output.

SourceTargetDescription
pdfpdfMake PDFs accessible and compliant with PDF/UA standards.
pdfpdfConvert vector PDF to image-based PDF for consistent rendering.
pdfpdfAdd bleed, trim marks, and crop marks for professional printing.

Enterprise & Compliance

Convert business protocols, healthcare records, financial data, and legacy formats.

SourceTargetDescription
ofxpdfConvert OFX and QFX bank statement files to readable PDF documents.
stapdfConvert MT940 SWIFT bank statement files to human-readable PDF documents.
hl7pdfConvert HL7 v2 ADT, ORU, and ORM messages to readable PDF patient documents.
jsonpdfConvert FHIR R4 JSON resources to clean, patient-friendly PDF records.
xbrlpdfConvert XBRL financial filings to readable PDF financial statements.
edipdfConvert EDI X12 and EDIFACT business documents to readable PDF — invoices, POs, and ASNs.
logpdfAI generates an IoT operations report PDF from MQTT broker logs.

Next steps

Get started