Word to PDF Converter
Upload a Word file (.docx), review a safe preview of the content converted to HTML, and download a paginated PDF with one click. The .docx-to-HTML conversion uses mammoth, and the PDF generation uses html2canvas and jsPDF, all in your browser, without uploading your document to any server.
How it works
- Select a .docx file from your device using the file picker.
- mammoth converts the document to HTML directly in the browser, and a preview is shown isolated inside a sandboxed iframe.
- When you click 'Download PDF', that HTML is rendered inside an invisible container with the fixed width of an A4 page.
- html2canvas captures that container as a high-resolution image, which is sliced into A4-page-height strips using a temporary canvas per page.
- jsPDF assembles those strips into a paginated PDF, which downloads automatically.
Use cases
- Convert a resume or cover letter from Word to PDF before emailing it.
- Quickly generate a PDF version of a report or proposal written in Word.
- Share a Word document as a PDF so it looks the same on any device, without needing Word installed.
- Produce a PDF of a Word contract or form to archive it or sign it digitally.