Original
Modified

Loading editor...

Monaco Editor
🎨Syntax Highlight
🔄Real-time Diff
🔒100% Local

Frequently Asked Questions

What is text diff?

Text diff compares two pieces of text and highlights the differences between them — additions, deletions, and unchanged lines. It is commonly used for code review, proofreading, and document versioning.

What diff algorithm is used?

We use the Myers diff algorithm (the same as Git), which finds the minimal set of changes needed to transform one text into another.

Can I compare code files?

Yes! The diff editor supports syntax highlighting for JavaScript, TypeScript, Python, HTML, CSS, JSON, and many other programming languages.