How document conversion works

Some conversions copy things exactly. Others have to rebuild structure that the source file never stored. Knowing which is which tells you when to trust the result and when to check it.

Two kinds of document

A Word file (.docx) is a flowing document. It stores paragraphs, headings, list items and table cells, and lets whichever app opens it decide where lines break. Change the page size and the text rewraps.

A PDF is a fixed layout. Adobe designed it in the early 1990s so a page would look identical on any screen or printer, and it achieves that by storing final positions: this glyph, in this font, at this point on the page. It does not need to know that two lines belong to the same sentence, so usually it does not record it.

What a converter has to guess

Going from Word to PDF is straightforward: lay out the paragraphs, then write down where everything landed. Going the other way means inferring structure from geometry. Docrift’s PDF to Word and PDF to Excel tools group fragments by height into lines, join close lines into paragraphs, treat noticeably larger text as headings, and find table columns by clustering the left edges of text. Tagged PDFs (the accessible kind) can carry structure, but most PDFs in the wild do not.

Scans have no text at all

A scanner or phone camera produces a picture of a page. Wrapped in a PDF, it still looks like a document, but there is nothing to select, search or extract. That is why PDF to Text returns nothing for scans and why OCR exists: it reads the picture and writes out the text it recognises. OCR is the one job on Docrift that is handed to an AI model, because accurate recognition across fonts, languages and layouts needs a model far too large for a web page.

What compression really removes

PDFs get big because of images. Lossless tricks, such as packing the file’s internal objects more tightly, save a little. Real savings come from storing fewer pixels and compressing them harder with JPEG, which throws away detail your eye is least likely to miss. Past a certain point, small print is the first thing to go.

Quick reference

Conversion accuracy by tool
ConversionTypeWhat to check
Images → PDFExactPage order
Merge, split, rotateExactBookmarks and form fields are not carried over
PDF → imageExact at chosen DPIResolution vs file size
Word → PDFRe-laid outFonts, headers and footers
Excel → PDFRe-laid outCharts and colours are dropped
PDF → WordReconstructedColumns, tables, images
PDF → ExcelReconstructedMerged headers, right-aligned numbers
CompressLossy (except Tidy)Small print, selectable text
OCRRecognised by AINames, numbers, handwriting

A converter turns one document into another; a leaf turns sunlight, water and air into sugar, a far older conversion that ahaboo narrates in its photosynthesis explainer.