Browser-based document converter · PDF to DOCX

PDF to Word Converter

Rebuilds a PDF's text as an editable Word document, with wrapped lines joined into paragraphs and headings detected from font size.

Input

PDF files (.pdf), up to 25MB

Drop your PDF file here or click to choose

.pdf

Files are read and converted on your device. Nothing is uploaded, and the result is yours to download or open in the Word editor.

Result

DOCX file, ready to download or edit

Choose a file to see the DOCX result here.

PDF to Word Converter

Operator: Abdulla Al Fahad. How tools are built and checked

A PDF keeps text in a fixed position on the page, not in paragraphs. That is why copying from a PDF into Word often gives broken lines, stray line breaks and headings that look like body text. This PDF to Word Converter reads the text items of each page, works out which lines belong to the same paragraph, and writes a .docx file where each paragraph is a real Word paragraph.

The conversion runs in your browser. The PDF is read with the same PDF engine used elsewhere on this site, and the Word file is built on your device, so the document is not uploaded. You can download the .docx directly, or open it in the Word editor on this site to correct it before you save.

Key features

  • Reads the text layer of every page in the browser, with no upload.
  • Joins fragments into lines and lines into paragraphs using position and spacing.
  • Detects headings from font size, and writes them as Word heading styles.
  • Shows a summary of pages, words, paragraphs and detected headings, with a rendered preview before download.
  • Opens the converted text in the Word editor on this site for further editing.

What the Word file keeps from the PDF

The converter works from the text layer of the PDF. Each text fragment has a position and a font size. Fragments on the same baseline are joined into a line. Lines are grouped into a paragraph until the vertical gap is larger than about 1.8 times the font size, or the font size changes noticeably. A paragraph of up to two short lines, set in a font at least 25% larger than body text, becomes a heading. Text is set in bold when the PDF names a bold font, such as Helvetica-Bold.

The output uses Arial 11pt on US Letter paper with 1-inch margins. The original typeface, colours and columns are not carried over, and images are not included. Repeated page headers, footers and page numbers are read as ordinary text, so delete them in Word. Tables come out as lines of text, so they usually need rebuilding in Word.

How it works

After the PDF is opened, each page is read into text fragments with their x and y position, font size and font name. Fragments are sorted from top to bottom and left to right, then merged into lines when they share a baseline.

The most common font size on the document is treated as body text. Each paragraph is then compared with that size to decide heading level, and the result is written to a .docx file using the docx package.

Common use cases

  • A contract arrives as a PDF and you need to mark it up with tracked changes in Word.
  • A teacher has a worksheet as a PDF and wants to change the questions and reprint it.
  • A small business owner has a quote in PDF form and wants to adapt it into a new proposal.
  • A researcher copies the text of a report into a Word draft for a literature review.

How to use this tool

  1. Open the PDF to Word converter and drop your PDF on the page, or choose it from your device.
  2. Read the summary: check the page count and the number of headings found.
  3. Check the preview, then choose Download .docx to save the Word file, or Edit in Word editor to make changes first.
  4. Open the .docx in Word or Google Docs and check tables, images and column layouts against the original PDF.

Example

PDF text lines (as read by the converter)

Revenue grew in the second quarter. (11pt)
The team hired six engineers. (11pt, same paragraph)

Customer Results (15pt)

Word document structure

Paragraph: Revenue grew in the second quarter. The team hired six engineers.
Heading 2: Customer Results

Tips for best results

  • Use a PDF exported from a word processor, not a scanned image. Digitally created PDFs keep their text, so the converter can read it.
  • Check the headings count in the summary. If a warning says no headings were detected for a document that clearly has them, the headings are probably set in the same size as the body text, and you will need to format them in Word or in the Word editor.
  • Look at the preview before you download. It shows the converted document as it will appear in Word, so you can see whether paragraphs were joined correctly.
  • Keep the original PDF. The Word file is a rebuilt copy, so compare it with the source before you send it on.

Edge cases to watch

Scanned PDFs. A scan is a picture of the page, with no text layer, so there is nothing to read. The converter stops and tells you so. Run the scan through an OCR tool first, then convert the result.

Multi-column pages. Lines are grouped by their vertical position, so two columns of text can be read across the page instead of down each column. Reorder those paragraphs in Word after the conversion.

Tables and forms. A table becomes a sequence of text lines and a form field is not read at all. Rebuild tables in Word using the text as a guide.

Password-protected PDFs. The converter cannot open a file that needs a password. Print the PDF to a new file, which removes the restriction, then convert the new file.

Images, charts and logos are left out of the Word file, and chart labels can appear as loose text lines. Insert pictures again in Word where they belong.

Frequently asked questions

Is my PDF uploaded to a server?

No. The PDF is read by JavaScript running in your browser, and the .docx is created on your device. Nothing is sent to this site during conversion.

Why does the Word file look different from the PDF?

The converter rebuilds paragraphs and headings from text positions and font sizes. It cannot copy the original typeface, colours, columns or images.

Can I convert a scanned PDF?

Not directly. Scanned pages contain pictures of text, so the converter needs OCR first. Use an OCR tool to add a text layer, then convert the result.