Code Diff Viewer
Compare two texts side by side
Loading tool…
About the Code Diff Viewer
Compare two blocks of text or code and see additions and deletions highlighted inline. The diff viewer offers line-level mode for code reviews and word-level mode for prose edits, with green/red highlighting and change counters — a quick visual alternative to git diff for snippets, configs, and documents.
How to use
- 1Paste the original text on the left and the changed version on the right.
- 2Switch between Lines and Words granularity.
- 3Read the inline diff — green added, red removed.
Related Text & Code tools
Code Diff Viewer is part of DevKit — 100 free, privacy-first tools for developers, students, and everyone, built by Minhazul Ashim. Everything runs in your browser; your data never leaves your machine.