How this works
This uses PDF.js (Mozilla's open-source PDF engine) to read the selectable text from each page, then the docx library builds a genuine, valid Word document from that text — one paragraph per detected line break, with each page separated by a page break. Both libraries run entirely in your browser.
related tools
Need the reverse direction? Try Word to PDF, or work with PDFs directly using Merge PDF or Split PDF.