See exactly what changed between two versions of your LaTeX paper, word by word, side by side.

See an example diff ↓

On Overleaf: Menu → Download → Source gives you the .zip.

Options
  1. Get earlier version
  2. Compile earlier version
  3. Get revised version
  4. Compile revised version
  5. Compare and build the diff
Your diff is readyDownload PDF
  1. Give us both versionsA .zip of the project, a single .tex file, or two refs of a GitHub repo.
  2. We compile themWith latexmk, then compare the words and figures in the PDFs.
  3. Read the changesRed on the left, green on the right, with a summary per section.

What it catches

redlatex compares what a reader sees, the compiled pages, not the LaTeX source. These are real crops from its output.

Every changed word, in place

Removed words are highlighted in red on the earlier page and added words in green on the revised page, with a bar in the margin beside each changed line.

A paragraph before and after: 'little attention' and 'is hard to train' in red, their replacements in green

Changed figures, pixel by pixel

Plots, diagrams and images are compared as rendered pixels. A figure that changed gets a dashed frame on both sides, even when it has no text.

A training-curve plot whose curve changed, framed in red before and green after

Moved text is not an edit

When LaTeX moves a table or figure, or you move a paragraph, only what actually changed is marked. Here, just the new numbers.

A results table before and after: only the changed numbers are highlighted

A summary per section

The first page counts removed and added words for every section, with links to the right page, and the PDF has a bookmark per section.

Cover page listing sections with removed and added word counts
Any inputA .zip of the project, a single .tex file, two refs of a public GitHub repo, or an Overleaf source zip.
On every pull requestThe GitHub Action comments a diff PDF on PRs that touch your paper.
FastHundreds of pages are compared in seconds; documents up to 300 pages.
Private and open sourceFiles are deleted right after your diff is made. MIT licensed; run it yourself with docker run.

A real example

A short paper, from submitted draft to camera-ready version: edited sentences, a plot with a new curve, updated table numbers, and a diagram that did not change and is left alone.

A diff spread: an unchanged diagram left alone, a changed plot framed, changed table numbers and sentences highlighted