PDF to Word: Convert PDF to .docx
Drop a PDF and get a Word document you can edit. The text layer is read in your browser, so nothing is uploaded. Lines the PDF wrapped are rejoined into paragraphs, larger text becomes a heading, and each PDF page ends with a page break.
Drop PDF files here or click to select
One or many · a .docx per file
No PDF handy? Try sample-10-pages.pdf, or see what a scan does with the scanned sample. More free sample files.
What you get
A .docx package (Office Open XML) with document.xml, a styles part, relationships and core properties. That is the format Word, LibreOffice and Google Docs read. The document title is set to the PDF's filename.
The page is A4 with 2 cm margins, whatever size the PDF was. Body text is Calibri 11 pt. Heading 1 is 16 pt bold and Heading 2 is 13 pt bold, both with outline levels, so Word's navigation pane and a table of contents pick them up.
Only text comes across. The PDF's fonts, colours, images, drawings and column layout are not reproduced, and the page count will usually differ.
How the structure is inferred
- Lines. Text runs are grouped by vertical position (within 3 pt, or 40% of the font size), then sorted left to right and joined with spaces.
- Headings. The median line size across the whole document counts as body text. A line at least 45% larger becomes Heading 1; at least 18% larger becomes Heading 2. Each line is judged on its own, so a pull quote or drop cap in large type becomes a heading too.
- Paragraphs. A line is appended to the previous one when that previous line is longer than 40 characters and does not end in a full stop, question mark, exclamation mark, colon or semicolon (a closing quote or bracket after it is allowed). Lines of 40 characters or fewer always start a new paragraph. Paragraphs are never joined across a page break.
- Hyphens. A line ending in a hyphen is joined to the next line without a space, but the hyphen stays: "informa-" plus "tion" comes out as "informa-tion". Search for "-" in Word afterwards.
- Pages. Each page boundary becomes a Word page break unless you choose Continuous flow.
Two-column pages come out interleaved, because lines are grouped by height across the full page width. Split the page down the middle with Split in half first, or crop to one column with Crop PDF.
How to convert a PDF to Word
- Drop your PDFs into the box, or click it to browse. Each file becomes its own
.docx, named like the PDF. - Choose the options. The defaults (headings from font size, wrapped lines rejoined, page breaks kept) suit a report or article. Pick "One paragraph per line" for poetry, addresses or code, where line breaks carry meaning. Pick "Plain paragraphs only" when the body text is not the most common size on the page.
- Click Convert to Word. The status line shows the page being read, and a Download link appears for each file.
- Open the result and tidy. Check heading levels and look for hyphenated words. Tables come through as lines of text; for those use PDF to Excel.
Scanned, protected and damaged PDFs
A scanned page is a picture, so there is no text layer to read. The conversion stops with "No text layer found" at that file, and files after it in the batch are not processed; files already converted keep their Download links. Run OCR PDF first, then convert the result.
A password-protected PDF cannot be opened without the password and stops with an error. Remove the password with Unlock PDF first. A file that will not open at all may respond to Repair PDF.
FAQ
Is the output a real Word file?
Yes. It is a valid .docx package with document.xml, styles and relationships, zipped in your browser. It is not an HTML or RTF file with a renamed extension.
Will the layout look like the PDF?
No. The text flows as ordinary paragraphs in Calibri 11 pt on A4, which is what makes it editable. Fonts, colours, images, columns and exact spacing are not reproduced.
What happens to tables?
Each row becomes a line of text with the cells separated by spaces, and long rows may be joined into one paragraph. For a real grid use PDF to Excel or PDF to CSV, which split columns at the gaps between text runs.
Why are some ordinary lines marked as headings?
Headings are chosen by size alone: 18% above the document's median line size is Heading 2, 45% above is Heading 1. Large decorative text qualifies. Choose "Plain paragraphs only" and apply heading styles by hand if that happens a lot.
Why was my scanned PDF rejected?
It has no text layer. Run it through OCR PDF to add one, then convert the OCR output here.
Related tools
- PDF to Text: plain text with no formatting at all
- PDF to Markdown: headings and lists for a README or wiki
- PDF to HTML: a web page, one paragraph per line or absolutely positioned
- PDF to Excel: when the content is really a table
- OCR PDF: add a text layer to a scan first
Part of: Get the text out of a PDF and edit it
Check for a text layer first. Converters read text, not pixels, so a scan has to go through OCR before any of them will find a word.
- 1 PDF Word Count Zero words means there is no text layer
- 2 PDF OCR Add one, if it is a scan
- 3 PDF to Word Converter Paragraphs and headings as an editable .docx
- 4 PDF to Excel Converter Tables as a real workbook, columns detected from the gaps
- 5 PDF to Markdown Converter Headings and lists for a wiki or a README