Difflin: a browser-only text and JSON diff tool that keeps your data local
Difflin is a free, MIT-licensed diff tool that compares text and JSON entirely inside the user's browser, with no backend server. Its creator built it to avoid pasting internal logs and API responses into third-party diff websites. The engine uses a longest common subsequence algorithm, first diffing by line and then by character within changed lines to highlight exactly which words changed. In JSON mode, both inputs are normalised with sorted keys so that reordered objects compare as equal. The developer notes the tool works offline once loaded and invites bug reports and pull requests, with optional tips to support hosting.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in