PDF Conversion Issues

Convert Multiple HTML Files to PDFs with Adobe Acrobat

Adam DavisAdam Davis Nov 18, 2026 869 views

Question details

The user wants to convert every HTML file in a folder to a separate PDF and understand whether Acrobat JavaScript can automate the task.

How to Convert Multiple HTML Files to PDFs with Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Batch-converting a folder of HTML files to PDF.
Observed behavior
The desired result is one PDF per HTML file, using Acrobat or another batch-processing tool.
Before you start

Check whether your Acrobat edition includes Action Wizard and whether it accepts your HTML files as action inputs. Keep any linked images, stylesheets, and other resources accessible so the converted pages can render correctly.

Solution 1Recommended

Use Acrobat Action Wizard to process a folder

Try this Acrobat-based approach if your edition includes Action Wizard and supports your HTML files as inputs.

Acrobat JavaScript does not provide a simple built-in way to batch-convert every HTML file in a folder. Action Wizard can automate processing, but available input formats and options depend on your Acrobat version.

1
Open Action Wizard

In Acrobat Pro, open All tools and look for Use guided actions or Action Wizard. In some versions, you can find Action Wizard under Tools.

2
Create an action

Select New Action, then add a folder or select the HTML files as the files to be processed. If Acrobat does not accept them as inputs, use the command-line solution instead.

3
Configure output

Add a Save step to the action and choose an output folder and naming settings. Save the action with a recognizable name.

4
Test and run

Run the action on one HTML file first. If it produces the expected PDF, run it on the full folder and check the output.

Use Acrobat Action Wizard to process a folder
HTML support varies: Action Wizard may not accept HTML files in every Acrobat version or configuration. If it cannot process your files directly, use a dedicated HTML-to-PDF batch tool.
Free Microsoft Office alternative

Create PDFs from Office Documents with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move existing documents into your workflow. Use it to work with Office files and export documents to PDF; it does not fix Acrobat JavaScript or replace the HTML batch-conversion steps above.

Export supported documents to PDF for sharingOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface to transition from Microsoft OfficeWork with a lightweight office suite available for free
microsoft office alternative - wps office

Frequently Asked Questions

Can Acrobat JavaScript convert every HTML file in a folder?

Acrobat JavaScript does not offer a simple built-in method for this batch conversion. Try Action Wizard if it accepts the HTML files, or use a dedicated command-line converter.

Where can I find Action Wizard in Acrobat?

In Acrobat Pro, check All tools for Use guided actions or Action Wizard. In some versions, it appears under Tools.

What if Action Wizard does not accept my HTML files?

Use a batch-processing application such as wkhtmltopdf. On macOS or Linux, you can run a shell loop from the folder containing the HTML files.

Why are images or styles missing from the converted PDFs?

The converter may not be able to reach linked resources. Check the image and stylesheet paths in the HTML, and ensure the resources are accessible during conversion.