This guide will demonstrate how you can use the command line on your computer to convert fillable PDF forms to HTML forms. You can follow this step-by-step tutorial which only uses a few lines of code. When you convert your fillable PDF forms to HTML forms you will have more flexibility, to be able to display these forms on the web. This guide uses FormVu to demonstrate that conversion.
Instructions on the command line
You can run FormVu to convert directly from the command line which is useful for running the converter from another language or script.
- Download the FormVu trial jar
- Set the input directory and output directory
- Choose conversion options
- Increase the XMX value according to need
java -Xmx512M -jar formvu.jar /inputDirectory/ /outputDirectory/
You will control settings by passing system properties. You can find these settings and their values in the Javadoc. They key classes are:
java -Dorg.jpedal.pdf2html.compressImages=true -jar formvu.jar /inputDirectory/ /outputDirectory/
You can read our article to understand the PDF format and if you’re looking for meanings of common PDF terms, we recommend you check out our PDF glossary.
FormVu allows you to
Use Interactive PDF Forms in the Web Browser |
Integrate fillable PDF Forms into Web Apps |
Parse PDF forms as HTML5 |