PDF to Word

A real Word file with real paragraphs — text only, and honest about it.

The Word file contains real paragraphs and two heading levels, worked out from font size. Layout, tables, columns and images are not reproduced — a PDF stores drawing instructions, and turning those back into flowing text is guesswork no browser-side tool solves.

What it does not do

No layout, no tables, no images. A PDF stores where each glyph goes, not what it belongs to; reconstructing a table from coordinates is guesswork. If the document's layout carries meaning, keep the PDF.

The reason PDF to Word tools are everywhere and mostly disappointing is that the conversion is fundamentally lossy in a direction nobody wants to admit: a PDF knows where each character sits, while Word needs to know what those characters are part of. Turning one into the other is re-authoring, not decoding.

So this page does the part that can be done honestly. It reads the text layer, groups items that share a baseline into lines, joins lines into paragraphs unless the font size jumps, and writes a .docx whose headings are inferred from that font size. What comes out is editable, searchable and correctly ordered — a document you can work in, not a facsimile of the original page.

How to use it

  1. Drop a PDF that has a text layer, and pick the page range if you only need part of it.
  2. Extract to Word. The DOCX is assembled here with a minimal OOXML writer, so it opens in Word, LibreOffice and Pages.
  3. Download and reformat. Expect to redo tables, images and columns by hand — that part is not recoverable from coordinates.

What the heading detection actually does

Every line comes with a font size derived from its text matrix. Taking the median size as body text, anything 15% larger becomes a heading and anything 45% larger becomes a top-level heading. That heuristic recovers the shape of most business documents, where titles are simple and sizes are round numbers.

It also fails in predictable ways: a document with a large pull quote gets a phantom heading, and one with footnotes in a smaller size gets nothing at all, because the rule only looks upward. The preview shows the extracted text so the guess is visible before it becomes a file.

Reviewed 2026-10-26. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.

Frequently asked questions

Will the Word file look like the PDF?

No. Paragraphs and headings will be right, but column layouts, tables, images, headers and colours are gone. This is text recovery, not page reconstruction — a page-faithful conversion needs a service that re-lays-out the document.

Can I convert a scanned PDF?

Not here. A scan has no text layer, so there is nothing to extract. OCR would be needed first, and OCR in a browser means downloading a model of tens of megabytes.

Which Word versions can open the result?

Anything from Word 2007 onwards, plus LibreOffice, Pages and Google Docs. The file is a minimal DOCX — three XML parts in a zip — which is exactly what the format specifies, not a lookalike.

Why are Chinese or Arabic PDFs extracted correctly but formatted oddly?

Extraction reads whatever the text layer contains, and non-Latin text is usually stored as glyph indices with a ToUnicode map, which pdf.js resolves. But the DOCX writer sets no font for those scripts, so Word substitutes one — the characters are right, the typeface is not.

Related tools

More from PDF tools.