FileToPDF.dev
Document to PDF conversion API

Convert any file to PDF with a single API call

/convert/v1

File to PDF
# Convert any document to PDF
curl -X POST https://api.filetopdf.dev/convert/v1 \
  -H "x-api-key: YOUR_API_KEY" \
  -F "file=@invoice.docx" \
  --output invoice.pdf
URL to PDF
# Render any webpage as PDF
curl -X POST https://api.filetopdf.dev/convert/v1 \
  -H "x-api-key: YOUR_API_KEY" \
  -F "url=https://example.com" \
  -F "paper_size=A4" \
  -F "orientation=landscape" \
  --output page.pdf

Super easy to set up

One endpoint, one API key, instant PDF.

Private & secure

We don't use nor share your data.

EU data residency

Data only stored and processed in the EU.

We convert all document types

Word (.doc, .docx)Images (PNG, JPG, WebP, GIF, BMP)PowerPoint (.ppt, .pptx)Excel (.xls, .xlsx, .csv)HTMLURL (webpage)RTF / TXTMarkdownOpenDocument (ODT, ODS, ODP)PDF passthrough