Skip to content
  • Image CompressorImage Tools · Make photos and graphics smaller by re-encoding them as JPG or WebP, with a quality slider and optional downscaling.
  • Image ResizerImage Tools · Change the width and height of an image in pixels or by percentage, with high-quality downscaling.
  • Image ConverterImage Tools · Change the format of one or many images to JPG, PNG or WebP, with control over quality and transparency.
  • Image CropperImage Tools · Cut out part of an image with a draggable selection, aspect ratio presets and exact pixel inputs.
  • Rotate & Flip ImageImage Tools · Turn a picture by 90° or 180° and mirror it horizontally or vertically, with a live preview.
  • Merge PDFPDF Tools · Combine several PDF files into one document, in the order you choose, with optional page ranges per file.
  • Split PDFPDF Tools · Extract pages into a new PDF or split a document into several files by page, range or fixed page count.
  • Reorder PDF PagesPDF Tools · Change the page order of a PDF with drag and drop, delete unwanted pages and save the result.
  • Rotate PDFPDF Tools · Turn individual pages or the whole document by 90° steps, preview the result and save the corrected PDF.
  • Images to PDFPDF Tools · Combine photos and scans into a single PDF, one image per page, with page size, orientation and margin options.
  • PDF to JPG / PNGPDF Tools · Turn PDF pages into JPG or PNG images at the resolution you need and download them as one image or a ZIP.
  • Sign PDFPDF Tools · Create a signature by drawing, typing or uploading it, place it on the pages of a PDF and save the signed file.

Diff Checker

Compare two versions of a text side by side and see exactly which lines and words changed.

Runs locally in your browser – your data is not uploaded

Loading tool…

About the Diff Checker

Diff Checker compares two versions of a text and shows what changed: lines that were added, lines that were removed, and – inside lines that were edited – the exact words that differ. It is useful for contracts and other documents, configuration files, code snippets, translations and any text that has been revised.

The comparison runs in your browser using the open-source jsdiff library. Your texts are not uploaded, which makes the tool suitable for confidential documents and private code.

How to use it

  1. Paste the earlier version into "Original" and the newer version into "Changed", or use "Open file" under each box to load a text file.
  2. The comparison updates automatically. The summary shows how many lines were added and removed.
  3. Tick "Ignore whitespace" or "Ignore case" if differences in spacing or capitalisation do not matter.
  4. Switch between "Side by side" and "Unified" views. Changed words are highlighted within each line.
  5. Use "Download .diff" or "Copy diff" to save the changes in the standard unified diff format.

Features

  • Line and word level: Lines are matched first; inside edited lines, the changed words are highlighted.
  • Two views: Side by side for wide screens and a compact unified view for phones, with line numbers on both sides.
  • Ignore options: Compare while ignoring differences in spacing and indentation, or in upper and lower case.
  • Unified diff export: Download or copy the changes as a .diff file that works with git apply, patch and code review tools.
  • Stays responsive: Large comparisons run in a background thread, so the page never freezes.

Examples

Checking a revised contract

Paste the version you signed off and the version you received back. The changed clauses stand out, including a single changed number in an otherwise identical sentence.

Comparing configuration files

Open two .env or YAML files with "Open file" and tick "Ignore whitespace" to see only the settings that really differ.

Sharing a change

After comparing two versions of a script, click "Download .diff" and attach the file to a ticket so a colleague can apply it with git apply.

Limitations and notes

  • Each side can hold up to 5 MB of text. Binary files such as Word or PDF documents cannot be compared – copy their text instead.
  • Very different texts can take long to compare; the comparison stops after 5 seconds and asks you to compare smaller parts.
  • The .diff export compares the original texts (with Windows and Unix line endings treated alike); the ignore options only affect what is shown on the page.
  • To keep the page fast, at most 5,000 rows are displayed. The .diff download contains all changes.
  • Only two texts can be compared; three-way merges are not supported.

Frequently asked questions

Are my texts uploaded to a server?

No. Both texts are compared by JavaScript running in your browser. Nothing is sent over the network or stored.

What does "Ignore whitespace" do?

Lines are compared after collapsing runs of spaces and tabs into one space and removing spaces at the start and end. Lines that differ only in indentation or spacing are treated as equal.

What is a .diff file?

A .diff (or .patch) file lists changes in the unified diff format: removed lines start with "-" and added lines with "+". Version control systems such as Git use the same format.

Why is a whole line marked as changed when only one word differs?

The line is shown as changed, and the differing words inside it are highlighted more strongly. For extremely long lines, the word-level highlight is skipped to keep the comparison fast.

More free tools