Skip to content
Kilnfile

How to convert PDF to Word without losing formatting

By . Published , last updated .

To convert a PDF to Word with the least formatting loss, start from a PDF that was exported from a text document rather than scanned, run it through Kilnfile's PDF to Word tool and tidy headings and tables in Word afterwards. Text and paragraphs come across; complex layouts, fonts and scanned pages do not, and scans need OCR first.

Step by step

  1. Check what kind of PDF you have. Open it and try to select a line of text with the cursor. If the text highlights, it is a text PDF and will convert well. If the whole page selects as one block, it is a scan and needs OCR first.
  2. Open PDF to Word. Go to the PDF to Word tool. Conversion runs in your browser, so a confidential contract or a draft thesis is never uploaded.
  3. Drop the PDF in. Drag the file onto the drop zone. Multi-file batches are fine; each becomes its own .docx.
  4. Click Convert to Word. Text and paragraph breaks are extracted and written into a .docx. A 30-page report takes a few seconds.
  5. Open in Word and tidy. Apply Heading styles to the titles, rebuild any table with Insert Table, and set the page margins. This usually takes less time than retyping a single page.

Why does formatting get lost in the first place?

A PDF is a description of where ink goes on a page: this glyph at these coordinates, this line from here to there, this image in this rectangle. It does not store the idea of a paragraph, a heading, a table or a page margin. Word documents are the opposite: a flow of styled text that the application lays out when you open it. Converting one to the other means guessing structure from position, and every converter guesses differently.

Kilnfile's PDF to Word takes the conservative route. It extracts the text and the paragraph breaks and writes a clean .docx. Complex layouts, tables, fonts and scanned pages are not recreated, which means you get an editable document with no stray text boxes and no mangled columns, rather than a near-copy that falls apart the moment you edit it.

What survives the conversion and what does not?

Survives: body text, paragraph breaks, reading order within single-column pages, and the sequence of pages. Does not survive: fonts (Word substitutes its defaults), bold and italic in most cases, table grids, multi-column layouts, headers and footers as separate regions, images, and anything on a scanned page. Bulleted lists arrive as plain paragraphs starting with a bullet character, which Word's AutoFormat will usually fix when you click into them.

How do I get the best result?

Start from the best source you can find. If you or a colleague have the original Word, Pages or Google Docs file, use that instead; a round trip through PDF always loses something. If the PDF was exported from a text document, you are in good shape. If it is a scan, run it through OCR software first (Kilnfile does not do OCR) so there is a text layer to extract. On a Mac, Preview and the Photos app can recognise text in scans; on Windows, OneNote and the free Microsoft Lens app can.

Single-column documents convert far better than magazine-style layouts. Letters, essays, reports, contracts and policies come out almost ready to use. Brochures, forms and newspaper pages are better rebuilt by hand with the extracted text as a starting point.

What should I fix in Word afterwards?

Work top down. Set the document font and size first, since everything arrives in the default. Then select each heading and apply Heading 1 or Heading 2 from the Styles gallery; this also makes a navigation pane and table of contents possible. Rebuild tables with Insert then Table and paste the values in. Finally, set margins and page size under Layout. For a 20-page report this is typically a ten-minute job.

When is PDF to Text a better choice?

If you only need the words, not a Word document, PDF to Text is faster and gives you plain text to paste anywhere. It has an option for Text with page markers so you can tell where each page began, which is useful for quoting a page number. Use PDF to Word when the destination is Word, Google Docs or Pages and you want paragraphs rather than one long string.

Why not just open the PDF in Word?

You can, and for some files it works well. Word 2013 and later will open a PDF and attempt a reflow, often keeping bold text and simple tables. It struggles with anything scanned, anything with more than one column, and PDFs over a few megabytes, and it needs a desktop copy of Word. The browser route is useful when you are on a Chromebook, a locked-down work machine or a phone, or when the document is sensitive and must not be uploaded to a conversion service.

Frequently asked questions

Does PDF to Word keep images?

No. Images are not extracted into the .docx. If you need them, run the PDF through PDF to JPG, which exports each page as a picture, and crop the images you want with Crop Image before placing them in Word.

Can I convert a scanned PDF to Word?

Only after OCR. A scan has no text layer, so PDF to Word would produce an empty document. Use the text recognition in Preview, Photos, OneNote or Microsoft Lens first, then convert the OCR'd PDF.

Will my tables come across?

The cell text is extracted in reading order, but the grid is not rebuilt. Rebuild the table in Word with Insert then Table and paste the values in, or export the table via PDF to Text and paste it into Excel with Text to Columns.

Is the output a real .docx file?

Yes. It opens in Microsoft Word, Google Docs, LibreOffice and Pages, and can be converted back with Word to PDF when you are done editing.

Is it safe to convert a confidential document?

Yes. The extraction runs in your browser tab and the PDF is never uploaded. That makes the tool suitable for contracts, medical letters and unpublished manuscripts that must not pass through a third-party server.

Data source: PDF (ISO 32000) and Office Open XML (ISO 29500) format specifications, Microsoft Word documentation on opening PDFs, and Kilnfile tool behaviour.

Cite this page: “How to Convert PDF to Word Without Losing Formatting”, Kilnfile, https://kilnfile.com/guides/how-to-convert-pdf-to-word-without-losing-formatting/

Tools mentioned in this guide

Related guides