What is PDF?

PDF describes a page: glyphs at coordinates, not rows and columns. A table in a PDF is a visual arrangement, not a data structure.

Who uses it

Reports, invoices, statements and anything sent to be read rather than processed.

Reading PDF

Every character in a text-based PDF carries its position on the page. Characters sharing a baseline are one row. Columns are found from the vertical strips no character ever occupies, which is why extraction works cleanly on a document laid out with spacing and badly on one laid out with ruled lines. A header repeated at the top of each page is detected and dropped rather than landing in the middle of the data.

Writing PDF

The table is drawn into a paginated document with the header repeated on every page, so a long table stays readable past page one. Page size, orientation and font size are all adjustable.

What it can hold

PDF is a document format, and the important consequence is that it is a one-way trip: PDF describes a page as glyphs at coordinates, so a table in a PDF is a visual arrangement rather than a structure. Keep whatever you converted from, because reading the table back out of PDF is a much harder job than writing it.

It keeps

It cannot express

What it looks like

The page text, as the extractor sees it
id   name              role           started     hours
007  Halima Yusuf      Analyst, data  2024-03-15  38.5
012  Jonah "Jo" Pryce  Engineer       2025-11-02
104  Wei Chen          Manager        2023-06-30  40

Questions

Can I get my table back out of the PDF?

Out of one made here, yes, because the text is real text. Out of a scanned document, no. A scan is an image of a page, and pulling data from it needs optical character recognition, which is a different job with a different failure rate.

How do I open PDF files?

It is not a text file, so an editor will not show you the contents. Drop the file onto the converter on this site and the table appears in an editable grid. The file is read in your browser, not uploaded.

Is PDF a good format for sharing data?

It depends who is receiving it. Reports, invoices, statements and anything sent to be read rather than processed. If the recipient is outside that group, a plain CSV travels further than anything else.

Advertisement

Convert PDF to something else

Convert something else to PDF