Extracting Tables From a PDF to Markdown: What Actually Works
A PDF table is positioned text with no cell structure. This converter returns the table's text as lines, not as a Markdown pipe table. Here is the honest workaround.
Direct answer
This converter does not reconstruct tables. A PDF stores a table as loose text positioned at coordinates, with no rows, columns, or cell boundaries recorded, so the extracted content arrives as ordinary lines of text. For a small table, paste those lines into the Markdown Table Generator and set the columns yourself. For a large or repeated table, use a dedicated extractor such as Tabula or Camelot, then convert its CSV output.
Open PDF to Markdown converterWhen to use this
- You need the numbers out of a financial or data table in a PDF.
- The converted table looks like a run of values with no pipes.
- You are deciding between this tool and a table-specific extractor.
Steps
- Convert the PDF and find the table's text in the output.
- For a small table, copy the values and build the Markdown table in a table generator.
- For a wide or repeated table, run Tabula or Camelot on the original PDF to get CSV.
- Convert the CSV to a Markdown table with a CSV to Markdown converter.
- Check every number against the PDF. Extraction errors are silent.
Example
A PDF page with a three-column pricing table.
The cell text appears as lines in the Markdown output, in the order the PDF stores it. No pipe characters and no header row are added, because the cell structure is not recorded in the file.
Common mistakes
- Do not assume a converted table is correct because it looks plausible; verify the values.
- Do not use this tool as a data extraction pipeline for recurring reports — a table-specific extractor is the right tool.
- Merged cells and multi-line cells break every extractor, not just this one.
- A table inside a scanned page has no text at all, so OCR comes first.
FAQ
- Why can no converter reliably read PDF tables?
- Because the PDF format has no table object. A table is drawn as text runs placed at coordinates, sometimes with lines drawn around them. Any table extractor has to guess the grid from the geometry, and guesses fail on merged cells, wrapped text, and borderless designs.
- Will table support be added?
- Not as a promise. The tool states its limits rather than producing a pipe table that looks right and is quietly wrong.
- What is the fastest fix for one small table?
- Copy the values from the Markdown output, then build the table in a Markdown table generator where you set the column count and header row yourself.
Related PDF to Markdown guides
How to Convert a PDF to Markdown
Drop a PDF into the browser converter. It reads the text layer, infers headings from font size, rebuilds lists, and returns Markdown you can copy or download as a .md file.
Convert a PDF to Markdown for ChatGPT, Claude, or RAG Context
Markdown is a cheaper, cleaner context format than a raw PDF dump. Convert first, strip the running headers, then paste the text into the model or your retrieval pipeline.
Why a Scanned PDF Converts to Nothing (OCR Explained)
A scanned PDF stores pictures of pages, not characters. Text extraction returns nothing because there is nothing to extract. Run OCR first, then convert.
Keep Headings and Structure When Converting a PDF
The converter infers headings from relative font size: the largest size becomes #, the next becomes ##. Here is when that works, and what to do when a document defeats it.
Convert a PDF to Markdown for Obsidian and Other Notes Apps
Download the converted .md file straight into your vault. Headings become real outline levels, and the source PDF never leaves your machine.