PDF to HTML Converter

  • jancurn/pdf-to-html
  • Modified
  • Users 313
  • Runs 210.7k
  • Created by Author's avatarJan 膶urn

Converts a PDF document to HTML using the pdf2htmlEX tool.

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

# Set API token

# Prepare Actor input
cat > input.json <<'EOF'
  "url": "https://apify.com/ext/ycf_application.pdf"

# Run the Actor
curl "https://api.apify.com/v2/acts/jancurn~pdf-to-html/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'