# Diff Checker

> Compare two texts line by line. Runs entirely in your browser — nothing you paste is sent anywhere.

Source: https://toffeekit.com/tools/diff-checker

**Category:** [Developer](https://toffeekit.com/category/developer) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/diff-checker

**Also useful for:** diff, compare, changes, difference

## How it works

1. Paste the first version into Original and the second into Changed.
2. Turn on Ignore whitespace or Ignore case if small differences should not count.
3. Read the Differences panel: green lines were added, red lines were removed, with line numbers on both sides.
4. Check the +added and removed counts above the panel for a quick summary.

## FAQ

### How do I compare two texts online?

Paste one text in each box. The diff appears right away, with unchanged lines in plain colour, additions in green and removals in red.

### Does it compare word by word or line by line?

Line by line. If one word changes, the old line is shown as removed and the new line as added.

### How do I ignore whitespace differences?

Turn on Ignore whitespace. Leading and trailing spaces are trimmed and runs of spaces are treated as one before lines are compared.

### Can I compare code files with this?

Yes. Paste the contents of both files. Because the comparison is plain text, it works for any language, config file or log.

### Why does it say the texts are too large?

The line-by-line comparison needs memory that grows with both inputs multiplied together. Above roughly 2,000 lines on each side, it stops and asks you to compare smaller pieces.

### Is Diff Checker free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Diff Checker runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [JSON Formatter](https://toffeekit.com/tools/json-formatter) — Format, minify and validate JSON with clear errors.
- [Base64 Encode / Decode](https://toffeekit.com/tools/base64-encoder) — Encode text to Base64 or decode it back, UTF-8 safe.
- [URL Encode / Decode](https://toffeekit.com/tools/url-encoder) — Percent-encode query values or whole URLs.
- [HTML Entities](https://toffeekit.com/tools/html-entity-encoder) — Escape < > & and quotes, or decode entities.
- [JWT Decoder](https://toffeekit.com/tools/jwt-decoder) — Read a token's header, claims and expiry.
- [Hash Generator](https://toffeekit.com/tools/hash-generator) — MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once.

