ALL DEVELOPER TOOLS56
Text Diff
Text Diff — Compare Two Texts Online
Paste two texts and see every difference in one pane, by word or by line.
About Text Diff
Need to find the differences between two text blocks? Whether you are comparing two versions of a configuration file, reviewing changes to a document, checking what was modified in a code snippet, or verifying that a migration script preserved content correctly, this tool makes differences immediately visible. Paste two texts into the left and right panels and the tool highlights additions in green, deletions in red and struck through, and unchanged text in the default color. Choose the granularity to suit the material: word by word for prose, or line by line for code and config. The result is one combined pane with additions and deletions interleaved, the way git diff shows them, and a Swap button flips which text counts as the original. The diffing algorithm uses the jsdiff library, which produces clean, minimal diffs that accurately represent the smallest set of changes between the two inputs. This is useful for developers comparing code versions, technical writers reviewing document edits, translators verifying changes between drafts, and anyone who needs to spot differences that are hard to catch by eye.
Questions
Is my data sent to a server?
No. All processing happens locally in your browser. No data leaves your device.
What diff algorithm is used?
The tool uses a standard line-by-line diff algorithm that highlights additions, deletions, and modifications — similar to what git diff produces.
Can I compare code files?
Yes. The diff tool works with any plain text including source code, configuration files, JSON, XML, or prose. Line-by-line comparison makes it easy to spot changes.
What do the colors mean?
Green highlights indicate added lines (present only in the second text), red highlights indicate removed lines (present only in the first text), and unchanged lines are shown without highlighting.
Is my file uploaded to a server?
No. Transmute processes everything locally in your browser using JavaScript and WebAssembly. Your files never leave your device — there is no server, no upload, no cloud processing.