↑ ↓ Navigate OpenEsc Close

Text Diff — Compare Text and Code Online

Compare two texts side by side or in a unified view, with line and character differences and Chinese support.

Processed locally in your browser. Nothing is uploaded.

How to use

  1. Paste or import two texts.
  2. Select comparison options and layout.
  3. Copy a summary or download the diff.

Example and rules

Example: compare “version 1” with “version 2” to inspect the changed number.

  • Up to 1 MiB and 10,000 lines per side, UTF-8.
  • Line endings are normalized; case and whitespace matter by default.
  • Changed lines over 2,000 characters use line-level differences only.

Frequently asked questions

What happens for identical content?

The result says there are no differences.

Can I compare empty text?

Yes, empty text is valid.

Is HTML executed?

No. Inputs and outputs are displayed as plain text.

Related tools