Stowpad
FeaturesPricingGuidesSupportGet on the Mac App Store
  1. Stowpad/
  2. Guides/
  3. How to copy a table out of a PDF without it turning to mush
Guide

How to copy a table out of a PDF without it turning to mush

PDFs store text at coordinates instead of keeping table structure. Learn why copied columns collapse and how to recover rows as CSV, Markdown or LaTeX.

By Harrison HarperUpdated 2 September 20266 min read

Short answer

A PDF has no idea it contains a table. It stores characters positioned on a page, so a plain copy returns them in reading order with the column structure gone. Getting a usable table back means reconstructing the rows and columns, either with a converter or with on-device table recognition.

You select a neat six-column table, press ⌘C, paste, and get a single column of run-together values with the headers somewhere in the middle. The problem comes from the way a PDF stores a page. Once you understand that structure, the useful fixes make sense.

Why the columns disappear

A PDF describes a page the way a printer needs it described: put this glyph at this coordinate, in this font, at this size. There is no cell, no row, no column and no table object. The grid you can see is a picture your eye assembles out of aligned text and, sometimes, a few drawn lines that have no relationship to the text at all.

So when you copy, the reader walks the text in the order it was written into the file and hands you that sequence. Sometimes that order is row by row and the result is nearly usable. Often it is column by column, or the order the typesetter happened to emit, and the result is unrecoverable. Accessible, tagged PDFs can carry real structure, but they are the minority, and the tagging is frequently wrong even when present.

The options, in order of how much they cost you

  • Rectangular selection in Preview. Hold Option while dragging and Preview selects a region rather than a text run. Good enough to pull one narrow column out at a time, and useful for a two-column table. It cannot reconstruct a grid.
  • Retype it. Reliable, auditable, and the correct answer for a five-row table. Stops being the correct answer at about twenty.
  • Acrobat Pro export. Exports to Word or Excel with real table detection. It works, and it is a paid subscription for something you may need twice a year.
  • An online PDF-to-Excel converter.Fast and free, and it means uploading the document. For a published paper, fine. For a contract, a payslip, a patient list or anything under an NDA, that is a disclosure, and the retention terms are the converter's, not yours.
  • Recognise the table from the rendered page. Ignore the text layer, look at the pixels, find the grid. This is what the rest of this page is about.

Recognising the table instead of copying it

Apple's Vision framework can detect the row and column structure of a table in an image, on the Mac, with no network. Stowpad uses that: press ⌘⌃⇧T, drag over the table wherever it is on screen, and it comes back as a grid you can check before you use it.

  1. Select the tableIt does not have to be a PDF. The same capture works on a table in a web page, a spreadsheet screenshot, a slide or a paused video.
  2. Review the recovered gridStowpad shows the rows and columns it found so you can catch a merged header or split cell before it reaches your document.
  3. Take it in the format you needMarkdown for documentation and pull requests, CSV or TSV for a spreadsheet, LaTeX or Booktabs for a paper.

Stowpad reads the rendered page and ignores the PDF text layer, so born-digital files and scans work the same way. No generative model sees the image, and the capture is deleted as soon as it has been decoded.

What to check before you trust the output

Any table recognition can be wrong, and a wrong number in a table is much harder to spot than a mangled sentence. Three things are worth a glance every time: merged header cells, which often collapse into the wrong column; empty cells, which can shift a whole row left; and numbers with thousands separators or footnote markers attached. The review step gives you a chance to catch those mistakes before the table reaches your clipboard.

Table capture is a Pro feature; plain screen text capture is in the free tier. Related: extracting text from a screenshot on a Mac.

Common questions

Why does copying a table from a PDF lose the columns?

+

Because the columns were never in the file. PDF stores glyphs at x/y coordinates with no notion of a cell, a row or a table. When you copy, the reader walks the text in its stored order and hands you a stream of characters, so anything you paste is a single column of run-together values.

Can Preview copy a PDF table properly?

+

No. Preview copies the text stream, so the result loses the table structure. Holding Option while dragging gives you a rectangular selection, which helps with a single narrow column but still cannot recover a grid.

Is it safe to use an online PDF-to-Excel converter?

+

An online converter uploads the document to somebody else's server. That may be fine for a published paper. Contracts, payslips, medical results and material under an NDA leave your machine and become subject to the service's retention policy.

How do I get a PDF table as Markdown or LaTeX?

+

Stowpad's table capture recognises the grid from the region you select, then exports it as Markdown, CSV, TSV, LaTeX or Booktabs. Recognition uses Apple's Vision framework on your Mac, so the document never leaves it.

Does table capture work on a scanned PDF?

+

Yes. Table capture reads the rendered page, so it works with scans, born-digital PDFs, screenshots, web pages and video stills.

Stowpad for Mac

An encrypted clipboard history that stays on your Mac, with on-device OCR, table capture and a colour picker. Free for the newest 30 clips; Pro adds unlimited history and the local tools above.

Get on the Mac App Store

Keep reading

  • How to pick a colour from anywhere on your Mac screenCompare Digital Colour Meter, the system colour panel and a keyboard-driven picker, including how to get a hex value from macOS.
  • Every Mac copy and paste shortcut worth knowingThe full set: copy, cut, paste, paste and match style, copy and paste style, screenshots straight to the clipboard, and pbcopy in Terminal.
  • Is your Mac clipboard private?What any app can read from your clipboard, what macOS 26 changed, why password managers mark their clips, and what to ask of a clipboard manager before installing one.

Stowpad

  • Overview
  • Features
  • Pricing
  • Changelog

Guides

  • How to see clipboard history on a Mac
  • How to copy text from your screen or a screenshot on a Mac
  • How to copy a table out of a PDF without it turning to mush
  • How to pick a colour from anywhere on your Mac screen
  • Every Mac copy and paste shortcut worth knowing
  • Is your Mac clipboard private?

Help

  • Support and FAQ
  • Privacy policy
  • hello@stowpad.app
  • Get on the Mac App Store
© 2026 Harrison Harper. Built for your Mac.Made in Nipaluna/Hobart, Lutruwita/Tasmania.
PrivacySupportGet on the Mac App Store