1) use MPDF !
a) extract in yourfolder
b) create file.php in yourfolder
and insert such code:
WriteHTML('Hallo World
Fisrt sentencee
');
$mpdf->Output(); exit;
?>
c) open file.php from your browser
2) Use pdfToHtml !
1) extract pdftohtml.exe to your root folder:
2) inside that folder, in anyfile.php file, put this code (assuming, there is a source example.pdf too):
3) enter FinalFolder, and there will be the converted files (as many pages, as the source PDF had..)