PDF Tools

PDF to Word: why the layout breaks, text PDF against scanned PDF, and how to get editable text out

Why can you not just edit a PDF like a Word file? What a PDF actually stores, how to tell a text PDF from a scan in ten seconds, why Hindi PDFs sometimes paste as gibberish, and a practical way to get the text into Word and tidy it up. Honest about what plain-text extraction can and cannot do.

By the Toolcloak team22 October 20264 min read
In this article
  1. Why a PDF is not “just a Word file”
  2. Which kind of PDF do you have?
  3. Get the text out, step by step
  4. What comes through and what does not
  5. Why Hindi text sometimes pastes as gibberish
  6. Scanned PDFs: OCR is a different job
  7. Privacy and size

A PDF is built to look the same everywhere. That is its strength and also why it is hard to edit. Inside the file there are no neat paragraphs, just instructions such as “draw this letter at this spot”. A converter has to guess the reading order, and the guess is only as good as the file allows. This guide explains what happens, how to tell what kind of PDF you have, and how to get usable text out.

Why a PDF is not “just a Word file”

What each format stores
Word documentStructure
  • Paragraphs, headings, lists
  • Text flows to fit the page
  • Easy to edit
PDFPositions
  • Each line or letter at an exact spot
  • Looks identical on every device
  • No real paragraphs to edit

To turn a PDF into editable text, software has to work out which lines belong together, which column comes first and what is a header.

Which kind of PDF do you have?

This decides everything. Open the PDF and try to select a few words with the cursor or search for one with Ctrl+F. If you can, it is a text PDF. If you cannot, or the cursor selects a whole picture, it is a scan.

Four kinds of PDF and what to do
Text PDFMade from Word, Google Docs, a website or an invoice system. Words can be selected. Extract the text directly.
Scanned PDFPhotos or scans of paper. No selectable words. Use Image to Text (OCR) after turning pages into images.
Mixed PDFSome pages typed, some scanned. Extract the text pages, OCR the rest.
Locked PDFNeeds a password to open or blocks copying. Unlock it first if you own it.

See the guides on removing a PDF password and on OCR for English and Hindi.

Get the text out, step by step

From PDF to a tidy Word document
  1. 1Extract the textOpen the PDF in the tool. All the text is pulled out in order.
  2. 2Check the resultScan for jumbled columns, repeated headers and broken lines.
  3. 3Copy into Word or DocsPaste and delete the repeated page headers and footers.
  4. 4Rebuild the formattingApply headings, bold, bullets and tables. This is much faster than retyping.

For a long document, do it in sections. Extracting one chapter at a time makes the check easier.

Extract all the text from a PDF into editable plain text, in your browser. Nothing is uploaded.Open PDF to Word

What comes through and what does not

In the PDFIn plain-text extractionWhat to do
Words and numbersYes, in reading order when the file is well builtProofread once
Headings and boldCome out as ordinary linesReapply styles in Word
Two-column pagesMay be read straight across the columnsCopy each column separately if needed
TablesCells become lines of textRebuild the table, or try the PDF to Excel tool
Images and chartsNot includedSave pictures separately
Page numbers, headersRepeat on every pageDelete them in Word with find and replace
Hyphenated line breaksLine ends stay as breaksUse find and replace to remove stray breaks

A tool that produces plain text is honest about this. A formatted .docx conversion tries to rebuild the layout and often makes a mess of complex pages.

Why Hindi text sometimes pastes as gibberish

Many older Indian documents use legacy fonts such as Kruti Dev or Chanakya. These fonts draw Devanagari shapes using the keys of an English keyboard. The PDF looks right, but the text inside is stored as Latin letters and symbols, so copying it gives something like “dsUnzh;” instead of केंद्रीय.

Fixing legacy-font text
  1. 1Spot the symptomThe page looks fine, but pasted text is strange Latin letters.
  2. 2Treat it as a scanTurn the pages into images with PDF to Images.
  3. 3Run OCR with HindiChoose English + Hindi. OCR reads the shapes, not the broken text layer.
  4. 4ProofreadCheck conjuncts and matras, which OCR can miss.

Modern PDFs that use Unicode fonts such as Mangal or Noto Sans Devanagari copy correctly with no OCR.

Scanned PDFs: OCR is a different job

A scan is a photograph of a page. There are no letters in it, only pixels, so nothing can be extracted. OCR (optical character recognition) looks at the shapes and makes text from them. It works best on straight, sharp, high-contrast scans at 200 to 300 dpi, and badly on tilted, shadowed or handwritten pages.

  • Scan flat, in good light, and keep the page square to the camera.
  • Use black text on a white background where you can.
  • Check numbers carefully after OCR. 1, l, 0 and O are easy to confuse.
  • If you only need a few pages, split them out first.

Privacy and size

Contracts, bank statements and ID copies should not be uploaded to a random website. A browser-based tool reads the file on your own device and shows you the text. If the PDF is very large, shrink it first so it opens quickly on a phone.

See also: an ATS-friendly resume format.

Related guides: how to extract pages from a PDF.

See also: fixing the broken lines in text copied out of a PDF.

Questions people ask

How do I convert a PDF to Word for free?

Open the PDF in a free browser tool that extracts text, copy the result into Word or Google Docs, then rebuild headings, bullets and tables. This works best on PDFs that were created from a document rather than scanned.

Why can't I copy text from my PDF?

Either the PDF is a scan made of pictures, in which case you need OCR, or it is protected. If you own a protected file, remove the password first.

Why does the formatting change when I convert PDF to Word?

A PDF stores exact positions, not paragraphs and styles. A converter has to guess the structure, so columns, tables and fonts often change.

Why does Hindi text from a PDF look like random characters?

The PDF probably uses a legacy font such as Kruti Dev, which stores Devanagari as English-keyboard characters. Convert the pages to images and run Hindi OCR to get proper Unicode text.

How can I tell if a PDF is scanned?

Try selecting a word or searching with Ctrl+F. If you cannot select text, it is a scan. Scans are also often much larger per page than typed PDFs.

Is it safe to convert a PDF online?

It is safest with a tool that runs in your browser and does not upload your file. Avoid uploading ID, bank or legal documents to unknown sites.

Can I convert a scanned PDF to editable text?

Yes, with OCR. Turn the pages into clear images, run OCR in the right language and proofread the output, especially numbers and names.