WSL, Ubuntu 20.05, command line, for “PDF to HTML.” Step by step.

Here are the short instructions to convert a PDF to HTML using WSL with Ubuntu 20.04:

  1. Install WSL with Ubuntu 20.04.
  2. Launch the Ubuntu terminal.
  3. Update Ubuntu: sudo apt update && sudo apt upgrade -y.
  4. Install Poppler: sudo apt install -y poppler-utils.
  5. Convert PDF to HTML using:
    pdftohtml -s <input_file>.pdf <output_file>.html
  6. Access the converted HTML file in the same directory.

That’s it!

Discover more from Jorge Saldívar

Subscribe now to keep reading and get access to the full archive.

Continue reading