Skip to content

How to edit a table in a PDF without breaking the layout

In a PDF a table is text placed between drawn lines, so a new row means moving everything by hand. Rebuilt as a document, the table takes the row.

, updated , a 2-minute read

On the page, a PDF table is words at fixed coordinates with lines drawn between them; even in a tagged PDF, where the structure names its rows and cells for screen readers, the words stay where they were placed. Three common edits go wrong because of it. (Why a PDF does not reflow explains the format.)

The three edits that break

Adding a row. There is no row to add. New text placed under the last line item lands on top of the subtotal; the subtotal, tax, total and footer have to be moved down by hand, one by one.

Longer text in a cell. There is no column to widen. Replace “SEO” with “Search engine optimisation” and the text runs into the next column.

A table across pages. Add eight rows to a table near the foot of a page and the extra rows have nowhere to go: nothing moves them to the next page, and there is no header row to repeat there.

All three have the same cause: nothing in the file moves the words. Even where tags name the rows, each word is drawn at a fixed place, and nothing says that the totals come after the table.

Editing the table as a table

Rebuilt as a document, the table has rows, columns and cells again, and the layout is computed from them. In ReflowPDF:

  1. Import the PDF. Import takes a free account and rebuilds the PDF with AI into paragraphs, headings, pictures and tables, one AI page per page of the PDF (10 a month on the free plan). A PDF made in ReflowPDF and downloaded with Keep the PDF editable on comes back without AI.
  2. Type into a cell. The text wraps inside the cell and the row grows; what is under the table moves down.
  3. Add a row: press Tab in the last cell, use the command palette (Ctrl K), or right-click a cell for Add a row below. Rows and columns can also be added on either side, deleted and duplicated, and cells merged.
  4. Let it cross the page. When the table no longer fits, it continues on the next page, between rows, with its header row repeated, and everything after it follows.

Import rebuilds the PDF with AI, so check the table against the original: a table drawn as loose text and lines may need its columns fixed.

Before you send it

Header cells can be marked as headers, so a screen reader announces the column for each value; the PDF you download is tagged by default, and the editor’s accessibility checks point out tables with no header row. To keep the file editable for next time, download it with Keep the PDF editable on: the document travels inside the PDF and reopens without AI.

Questions

Can I add a row to a table in a PDF?
Not in the PDF itself: its table is text and lines at fixed places, with no row to add. Rebuild the PDF as a document in an editor such as ReflowPDF, and the table has real rows; add one and the content under it moves.
Why does text overlap when I edit a PDF table?
Because the editor changes the text where it is and moves nothing else: the next row, the totals and the footer are drawn at their own fixed places.
Can I edit a PDF table on my phone?
Yes, in the browser: cells edit the same way. Adding and rearranging rows and columns is easier on a larger screen.

The editor opens without an account. Type into a document and the pages after it are laid out again; download it as a tagged PDF. Importing a PDF of your own takes a free account.

More from the blog