Skip to main content

Convert

Convert between PDF and 50+ file formats including documents, images, web pages, and more.


How to Use

  1. Select conversion type - Choose what you're converting from and to
  2. Upload files - Add one or multiple files
  3. Configure options - Adjust quality, DPI, layout (optional)
  4. Convert - Process and download

Supported Conversions

Convert TO PDF

CategoryFormats
OfficeDOCX, DOC, ODT, XLSX, XLS, ODS, PPTX, PPT, ODP, TXT, RTF
ImagesJPG, JPEG, PNG, GIF, BMP, TIFF, WEBP, SVG
WebHTML (with CSS/images via ZIP), URL, Markdown
EmailEML, MSG (Outlook)
eBookEPUB, MOBI, AZW3, FB2
ComicsCBZ, CBR

eBook and Outlook (MSG) inputs are converted to PDF on the self-hosted server (eBook conversion uses the bundled Calibre runtime; enable the Calibre group if your image excludes it).

Convert FROM PDF

CategoryFormats
OfficeDOCX, ODT, PPTX, ODP, XLSX, TXT, RTF, Markdown
ImagesPNG, JPG, GIF, TIFF, BMP, WEBP
DataCSV, HTML, XML
Archival / PrintPDF/A, PDF/X
eBookEPUB, AZW3
ComicsCBZ, CBR

PDF to Excel extracts tabular data and writes one worksheet per detected table. PDF to eBook (EPUB/AZW3) uses the bundled Calibre runtime. PDF/X is the print-optimized variant of PDF/A and is chosen from the same Archive / Print option (it needs Ghostscript, which is in the standard Docker image).


Conversion Options

Image Settings (when converting to/from images)

  • DPI: 72 (screen), 150 (standard), 300 (print)
  • Color Mode: Color, Grayscale, Black & White
  • Layout: Fit to page, maintain aspect ratio, fill page
  • Output: Single PDF or separate files

PDF to Word / Office

  • Works best with digital PDFs (not scanned images)
  • For scanned PDFs, run OCR first
  • Complex layouts may need manual adjustment after conversion

PDF to CSV

  • Works best with simple, well-structured tables in digital PDFs
  • Not reliable for scanned documents

PDF to Markdown

  • Table-aware converter that runs locally on your server
  • Turns larger text into Markdown headings based on font size
  • Rebuilds detected tables as Markdown tables, joining tables that split across a page break
  • Works best with digital PDFs; run OCR first for scanned input

Automation and API conversions

A few conversions have no button in the Convert tool. They run only through the API and the Automate / pipeline workflow.

  • PDF to vector / page-description formats - export a PDF as EPS, PS, PCL, or XPS for print and publishing workflows.
  • PostScript to PDF - turn PostScript files (PS, EPS, EPSF) into PDF, with an optional print-oriented (prepress) profile.

The vector and PostScript conversions need the Ghostscript group, which is included in the standard Docker image.

See the API reference for the exact parameters of these conversions.


API Usage

curl -X POST http://stirling-pdf:8080/api/v1/convert/img/pdf \
-F "colorType=color" \
-F "fitOption=maintainAspectRatio" \
-o output.pdf

See API Documentation for complete endpoint reference.


  • Compress - Reduce file size after conversion
  • OCR - Make scanned PDFs searchable before converting
  • Merge - Combine multiple converted PDFs
x