
Share this tool

Share this tool
Compare two text blocks side-by-side. Line or word level, ignore whitespace or case.
Compare two text blocks instantly with our free online diff tool. Paste or drop a file into either box — added content highlights green, removed content red, and changed lines show word-level differences inline. Choose line, word, or character granularity, switch between split and unified views, and toggle “ignore case” or “ignore whitespace” to focus on meaningful changes. Share your comparison with a single link or export a standard .diff patch for GitHub or GitLab. Everything runs in your browser — your text never leaves your device.
.txt / .md / .json / .csv file into the Original box..diff.