Original - 0 B · 0 lines
Modified - 0 B · 0 lines

Diff & Compare

Side-by-side or unified diff of two plain text inputs with line-level and word-level change highlighting.

Diff & Compare Use Cases

  • Compare code versions before committing
  • Review document changes and edits
  • Analyze configuration file modifications
  • Track changes in logs or data exports

Diff & Compare FAQ

What diff algorithms are supported?

We support Myers, Patience, and Histogram algorithms. Myers is the default and works well for most cases. Patience is better for structured changes, and Histogram is faster for large files.

Can I ignore whitespace or case differences?

Yes, you can configure the diff to ignore whitespace changes, case differences, and empty lines using the options panel.

What output formats are available?

You can view diffs in side-by-side mode, unified format, or inline with Monaco editor. The unified diff can be downloaded as a .diff file.