Skip to main content

How to Convert HTML to PDF in Make: Download, Convert, Upload—Automated.

· 11 min read
SEO and Content Writer

You have HTML—from a template, a form, or cloud storage. You need a PDF for email, archiving, or distribution. Manually exporting doesn't scale. Make plus PDF4me turns HTML into PDF in three modules: download the file from Dropbox (or Google Drive), run Convert HTML to PDF, and upload the result. No code, no servers. Connect your storage, map the HTML file, and get a ready-to-use PDF.

In a nutshell: Dropbox – Download a File (e.g. /Blog Data/HTML/sample.html) → PDF4me – Convert HTML to PDF (map Document from Download, File Name with .html) → Dropbox – Upload a File. Output: PDF ready to store, email, or pass to the next module.

Why-Based Q&A

Why use Make for HTML to PDF? Make's visual scenario builder connects 1,500+ apps without code. When HTML lives in Dropbox, Google Drive, or a triggered path, a scenario can download it, convert to PDF, and upload the result—ideal for reports, invoices, and certificates.

Why map Document from Download? Convert HTML to PDF needs the HTML file content (Buffer). Map File or Data from the Download module so Make passes the actual bytes to PDF4me—not just a path.

Why PDF4me Convert HTML to PDF? The module preserves CSS, images, and layout. You get Portrait/Landscape control and direct integration with Dropbox, Google Drive, or email—no extra upload-then-convert steps.


What You'll Get

Input: An HTML file in Dropbox or Google Drive (e.g. sample.html). Output: A PDF file—ready to upload, email, or pass to the next module.


What You Need


The Scenario at a Glance

  1. Download a File (Dropbox / Google Drive) — Gets the HTML file from a path.
  2. PDF4me – Convert HTML to PDF — Converts the HTML to PDF. Map Document from Download, set File Name (with .html), and Layout.
  3. (Optional) Upload a File — Saves the PDF to an output folder.

Complete scenario overview

Make scenario: Dropbox Download a File → PDF4me Convert HTML to PDF → Dropbox Upload a File

Three modules in sequence: Download → Convert HTML to PDF → Upload. Each module shows a green checkmark when configured. The file from Download is passed into PDF4me, and the PDF output is uploaded.


Step 1: Download the HTML File

Scenario so far: Download only.

  1. Add Dropbox (or Google Drive) → Download a File.
  2. Connection — Select your connection.
  3. Way of selecting filesSelect a file (or use Map for dynamic paths).
  4. File — Enter the path, e.g. /Blog Data/HTML/sample.html.
  5. Run the module to confirm the file is retrieved.

Dropbox – Download a File: Configuration

Dropbox Download a File: File path /Blog Data/HTML/sample.html

Download module: File path set to the HTML location. The output (File, Data, or Document) is passed to the Convert HTML to PDF module. Use Map to pull the path from a trigger for automation.


Step 2: Convert HTML to PDF

Scenario so far: Download → Convert HTML to PDF.

  1. Add PDF4meConvert HTML to PDF.
  2. File Name — The HTML filename with extension, e.g. sample.html. Map from the Download module if using dynamic paths.
  3. Document — Map the file content from the Download module (e.g. Data or File—the buffer/binary output).
  4. LayoutPortrait or Landscape.
  5. Connect your PDF4me account if prompted.
  6. Run the module to test.

PDF4me – Convert HTML to PDF: File and layout

Convert HTML to PDF: File Name sample.html, Document from Download, Layout Portrait

Convert HTML to PDF: File Name (with .html extension), Document mapped from the Download module, Layout set to Portrait or Landscape. PDF4me preserves CSS and images from the HTML.


Step 3: Upload the PDF (Optional)

Scenario so far: Download → Convert HTML to PDF → Upload.

  1. Add Dropbox (or Google Drive) → Upload a File.
  2. Folder — e.g. /Blog Data/HTML/Output.
  3. File — Map Doc Data (or Document) from the Convert HTML to PDF module.
  4. File Name — e.g. output.pdf or map from the Convert module's Name output.
  5. Run to save the PDF.

Output: PDF from Convert HTML to PDF

Convert HTML to PDF output: Name, Doc Data. Upload module maps Doc Data to File.

Output from Convert HTML to PDF: Name (output filename), Doc Data (PDF buffer). Map Doc Data into the Upload module's File field to save the PDF to cloud storage.


Image-based fact check: Input and output

Visual confirmation of what goes in and what comes out.

Example HTML input file

Example HTML file used as input for conversion

Sample HTML input: raw HTML or rendered content. The Download module fetches this file; Convert HTML to PDF preserves CSS, images, and structure in the PDF.

Example PDF output file

Generated PDF output from Convert HTML to PDF

Generated PDF: same content as the HTML in PDF form. Use the Upload module to save to Dropbox, Google Drive, or pass to the next scenario action.


Use Cases: When to Use HTML to PDF in Make

Invoices and quotes: Generate HTML from Airtable, Google Sheets, or a database. Save to a folder; the scenario converts to PDF and uploads or emails automatically.

Reports and dashboards: HTML reports from BI tools or templates can be dropped in a folder. Make converts them to PDF for distribution or archiving.

Certificates and badges: Create HTML certificates from event or training data. Convert to PDF and send via email or store in a document system.


Quick Reference: Key Settings

ModuleSettingExample
1. Download a FileFile/Blog Data/HTML/sample.html
2. Convert HTML to PDFDocumentFrom Download (Data/File)
3. Upload a FileFileDoc Data from Convert HTML to PDF

For full parameter details, see Convert HTML to PDF — Make.


Troubleshooting

Convert step: Document is missing or invalid

Ensure you map the actual file content (Data, File, or buffer) from the Download module to Document—not just the file path or metadata. Make may label it differently depending on the connector; use the field that contains the binary/ buffer.

File Name must include .html

The Convert HTML to PDF module uses File Name to identify the format. Include the .html extension (e.g. sample.html).

401, 402, or other API errors

PDF4me Troubleshooting covers 401 (API key), 402 (credits), and more.


What's Next?

  • Replace manual file selection with a trigger (e.g. When a file is created in Dropbox) to process every new HTML file automatically.
  • Add Email or Slack after Convert to send the PDF or post a notification.
  • Same flow in Zapier or n8n if you prefer those platforms.