Diff Checker

Find what changed between two versions of a config file, script or document. Lines are compared in order and differences are marked with + and −, like in Git.

Open original file
Open changed file
Differences

Runs entirely in your browser. Your input and files are not uploaded to any server.

How to use

  1. Paste the original on the left (top on mobile) and the new version on the right, or open files.
  2. Choose whether to ignore whitespace and case.
  3. Press Compare and review the highlighted lines. Copy the unified diff if you need to share it.

Examples

Config change

Compare two .env or nginx.conf files to see which lines differ.

Privacy

Runs entirely in your browser. Your input and files are not uploaded to any server. See the privacy policy for what is stored in your browser (favorites and history only). Privacy policy

Check it yourself: open your browser’s developer tools, select the Network tab and use the tool. Your file never appears in an upload request. Once this page is saved for offline use, you can also disconnect from the internet and keep working. Ads and anonymous visit statistics, when enabled, make their own requests, but they never receive your files or text.

Frequently asked questions

How large can the inputs be?

Up to about 5,000 lines per side compare instantly. Larger inputs are refused to keep the page responsive.

Is the unified diff compatible with patch?

The output follows the unified diff format with @@ hunk headers, which most tools can read. Always review before applying it as a patch.

Text CompareCompare two versions of a text and highlight added and removed words.
Regex TesterTest JavaScript regular expressions with live match highlighting, capture groups, named groups and a replace preview.
CSV CleanerClean CSV files in your browser: trim cells, remove empty and duplicate rows, change the delimiter and preview the table before downloading.
SVG Preview & OptimizerPreview SVG files safely and shrink them by removing comments, editor metadata and whitespace, with optional number rounding.
Color Picker & ConverterPick a colour, convert between HEX, RGB and HSL, sample colours from an image or your screen, and check contrast against white and black text.

Search tools