Home › PDF Tools › PDF to CSV

PDF to CSV

Pull the tables out of a text-based PDF and save them as clean CSV files. The converter finds tables from the exact position of each word, shows you where it split the columns, and lets you drag the column lines until every value lands in the right cell.

Last updated:

Open a PDF to find its tables. Each table can be fine-tuned and saved as its own CSV file.
Advertisement
Advertisement

How to use the PDF to CSV

  1. Open your PDF by dropping it on the box or choosing it, or press Try it with a sample PDF to see how it works.
  2. Pick a table from the tabs. Each tab shows its page number and size in rows × columns.
  3. Check the column lines on the page preview. Drag a green line to move it, click inside the table to add one, or select a line and press Delete.
  4. Adjust the options: use Wide column split if words of one cell get separated, or Whole page as one table if a table is not found.
  5. Download the CSV for the current table, or use Download all tables (ZIP) or Download combined CSV.

How PDF table detection works

A PDF does not store tables as rows and cells. It stores pieces of text and the exact place each one is drawn on the page. To rebuild a table, the converter works through four steps:

  1. Rows: text pieces whose baselines are within about 40% of the font size of each other are treated as one line.
  2. Cells: on each line, neighboring words are joined when the gap between them is smaller than the column split setting (about one font height on Normal). A bigger gap starts a new cell. Runs of two or more spaces inside one text piece also start a new cell.
  3. Tables: consecutive lines that contain two or more cells and are spaced evenly form a table. Paragraphs, which have only one cell per line, end the table.
  4. Columns: the rows of a table are stacked on top of each other and the tool looks for vertical strips that no cell touches. Each strip becomes a column boundary, and a cell goes into the column that contains its center, which works for both left-aligned text and right-aligned numbers.

Choosing the right settings

ProblemWhat to change
Words of one cell end up in two columnsSet Column split to Wide, or delete the extra line on the preview
Two columns are merged into oneSet Column split to Fine, or click between them to add a column line
The table is not found at allChoose Whole page as one table, then remove extra rows in your spreadsheet
Long descriptions wrap onto a second lineTick Merge wrapped lines into the row above
Excel shows é instead of éKeep Add UTF-8 BOM ticked
Excel puts everything in column AUse the Semicolon delimiter (common in European Excel settings)

Tips for bank statements, invoices and reports

  • Convert one statement period at a time and use the Pages box (for example 2-5) to skip cover pages and legal notes.
  • Turn on Clean numbers when you plan to add up amounts. Currency signs and thousands separators are removed and accounting negatives such as (45.00) become -45.00. Dates and text are left untouched.
  • Multi-page tables appear as one tab per page. Download combined CSV stacks them into one file with a blank line between tables.
  • Need formatting and number types? PDF to Excel saves an .xlsx workbook, and CSV Viewer lets you check the result before importing it.

Frequently asked questions

How do I convert a PDF table to CSV?

Open the PDF in the converter. It reads the position of every word, groups words into rows, finds the vertical gaps that separate columns and shows each detected table in a tab. Check the column lines on the preview, adjust them if needed, then press Download CSV.

Why are no tables found in my PDF?

The tool needs a text layer. Scanned pages and photos of documents only contain an image, so there are no word positions to read; run them through OCR first. If the PDF does have text, try Whole page as one table, or switch Column split to Fine when columns sit very close together.

How does the column detection work?

Words that sit close together on a line are joined into cells, and a gap wider than about one character height starts a new cell. The tool then overlays all rows of a table and looks for horizontal positions that no cell covers. Those empty vertical strips become the column boundaries, and each cell is placed in the column that contains its center.

Can I fix columns that were split wrongly?

Yes. Drag any green line on the page preview to move a boundary, click inside the table to add a new boundary, or select a line and press Delete to merge two columns. The CSV preview below updates instantly, and Reset columns brings back the automatic result.

Which delimiter should I choose?

Comma is the CSV standard and works in Google Sheets, Excel in English locales, databases and most code. Choose semicolon if your Excel uses a comma as the decimal separator, as in much of Europe, and tab if you plan to paste the data into a spreadsheet.

Why add a UTF-8 BOM?

Excel on Windows guesses the encoding of a CSV file. The byte order mark tells it the file is UTF-8, so accented letters and symbols like € display correctly. Leave it off if a program or script expects plain UTF-8 without a BOM.

Is my PDF uploaded to a server?

No. The PDF is opened with the pdf.js engine inside your browser, and table detection, editing and CSV creation all run locally on your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

PDF to ExcelExtract tables from PDF files into an Excel spreadsheet (XLSX) or CSV, right in your browser.PDF to Text ConverterExtract the text from any PDF page by page, then copy it or save it as a TXT file.CSV ViewerOpen a CSV or TSV file as a sortable, filterable table.CSV CleanerClean messy CSV in one click: trim spaces, drop empty rows and columns, fix headers, dedupe.JPG to PDFCombine JPG photos into one PDF with page size, margins and orientation options.PowerPoint to PDFConvert PPTX slides to PDF, one page per slide at the original slide size. Batch files, no upload.OCR PDFMake scanned PDFs searchable and copyable with OCR in 70+ languages, or export the text.PDF to WordConvert PDF files to editable Word documents.PDF to JPGTurn PDF pages into high-quality JPG images.PDF to PNGConvert PDF pages to PNG images with custom DPI and transparent background.Word to PDFConvert Word DOCX documents to PDF.Image to PDFConvert JPG, PNG, WEBP and more into a PDF.Text to PDF ConverterTurn plain text or a .txt file into a clean PDF with your font, size, margins and page size.HTML to PDF ConverterPaste HTML and CSS, preview it as pages and download a PDF, safely in your browser.Markdown to PDF ConverterWrite or paste Markdown, preview it with a clean theme and export a polished PDF in seconds.Excel to PDF ConverterConvert Excel and CSV sheets into tidy, paginated PDF tables with repeated headers.Extract Images from PDFPull every embedded photo and graphic out of a PDF as PNG or JPG, or save pages as images.PDF to PowerPointTurn every PDF page into a PowerPoint slide (PPTX) in 16:9, 4:3 or the PDF's own size.PDF to MarkdownConvert PDF to clean Markdown with headings, lists, tables, bold, italics and links.PDF to HTMLConvert PDF to a clean, responsive HTML page or an exact positioned layout, in your browser.PDF to Long ImageStitch all PDF pages into one tall PNG or JPG image, with gap, width and page range options.PNG to PDFConvert PNG images to one PDF, keeping transparency or filling it with white or any color.HEIC to PDFConvert iPhone HEIC photos into one PDF in your browser, with page size, margins and reordering.CSV to PDFTurn a CSV file into a clean, paginated PDF table with repeating headers.EPUB to PDF ConverterConvert EPUB e-books to PDF with images, page size, font size, margins and clickable bookmarks.PDF to TIFF ConverterConvert PDF pages to multi-page or single-page TIFF in color, grayscale or black and white.RTF to PDF ConverterConvert RTF documents to PDF with fonts, tables, images and page size options.SVG to PDF ConverterConvert SVG files to vector PDF with page size and fit options, or merge many SVGs into one PDF.TIFF to PDF ConverterConvert single and multi-page TIFF scans to PDF with page size and compression options.WEBP to PDF ConverterConvert one or many WEBP images to a PDF with page size, margins, layout and reordering.Add Image to PDFPlace a logo, photo or signature image on any PDF page. Drag, resize, rotate and set opacity.Compress PDF to 100KBShrink a PDF to 100KB or less automatically, keeping every page and page size.HTML to Word ConverterConvert HTML code or pasted rich text into an editable Word .docx document.Image to Word ConverterTurn JPG, PNG or screenshot text into an editable Word (.docx) document with OCR, in your browser.PDF ConverterConvert Word, Excel, PowerPoint, images, text, HTML or EPUB to PDF, and PDF to JPG, PNG, Word or text.PDF to EPUBConvert PDF to a reflowable EPUB e-book with chapters, headings, images and a table of contents.Scanned PDF to Word (OCR)OCR scanned PDFs or page photos into an editable Word document with rebuilt paragraphs.Word to JPGTurn every page of a Word .docx document into a JPG image, free and in your browser.MSG to PDFConvert Outlook .msg emails to PDF with headers, formatted body, images and attachment list.ODT to PDFConvert OpenDocument Text (.odt) files to PDF with headings, lists, tables and images.EPS to PDFConvert EPS and PostScript files to vector PDF in your browser, cropped to the artwork.PDF to SVGConvert PDF pages to scalable SVG vector files, with text kept as text or as paths.PDF to WEBPConvert PDF pages to small, sharp WEBP images with a DPI choice and a quality slider.Cursive Writing WorksheetMake cursive tracing worksheets from any text: joined letters, dotted and faded rows. PDF.EPUB MakerWrite or import chapters, add title, author and cover, and export a valid EPUB 3 e-book.Images to PowerPointTurn photos into a PowerPoint .pptx deck, one image per slide, with captions and 16:9 or 4:3.LaTeX to PDFCompile LaTeX to PDF in your browser with a TeX engine, live preview, log and PDF download.Merge Word DocumentsCombine several .docx files in any order into one Word document, with page or section breaks.PDF to FlipbookTurn a PDF into a page-turning flipbook with zoom and fullscreen, and export it as an HTML ZIP.PowerPoint ViewerOpen and present .pptx files in your browser with thumbnails, speaker notes and full screen.Whiteboard Photo to PDFClean up whiteboard and blackboard photos: straighten, remove glare, whiten, then save as PDF.DjVu to PDFConvert DjVu scans and books to PDF, with resolution, compression and page range options.EML to PDFConvert .eml emails to PDF with sender, recipients, date, formatted body, images and attachments.MOBI to PDFConvert DRM-free MOBI, AZW and AZW3 e-books to PDF with chapters, images and page size options.
See all 53 PDF Converters →