PDF to HTML HTTP API Examples

These examples demonstrate common PDF to HTML API workflows via HTTP API.


Basic examples

PDF file to HTML file

curl -f -s -S \
  -u 'demo:demo' \
  -o logo.html \
  -F file=@logo.pdf \
  -F input_format=pdf \
  -F output_format=html \
  https://api.pdfcrowd.com/convert/24.04/

PDF url to HTML file

curl -f -s -S \
  -u 'demo:demo' \
  -o invoice.html \
  -F url=https://your-server.com/invoice.pdf \
  -F input_format=pdf \
  -F output_format=html \
  https://api.pdfcrowd.com/convert/24.04/