A simple, fast, and privacy-focused text comparison tool powered by Monaco Editor.
- Overview
- Screenshots
- Features
- Usage
- Demo
- Download
- Support platform
- Motivation
- Development
- Technology Stack
- LICENSE
Text Diff View is a straightforward diff viewer designed to instantly compare content entered into two text boxes. It operates entirely offline to ensure privacy and reliability, and supports Unified Diff (patch format) generation for seamless developer workflows.
| Main | Unified Diff |
|---|---|
![]() |
![]() |
| Light | Dark |
|---|---|
![]() |
![]() |
- Side-by-Side Diff: Compare text with Monaco Editor's powerful diff visualization
- Unified Diff Export: Generate standard unified diff patches with syntax highlighting
- Offline First: Works completely offline - no server required, your data stays local
- Theme Support: Light and dark themes with synchronized editor and UI
- Cross-Platform: Available for Windows, macOS, and Linux
- Monaco Editor: Powered by the same editor engine used in VS Code
Simply type or paste text into the left and right text boxes. The differences will be highlighted automatically.
To test with a real-world example:
- Copy the contents of
example_texts/freebsd_sbin_route/left_82641e1.txtfrom this repository to your clipboard and paste it into the left text box. - Copy the contents of
example_texts/freebsd_sbin_route/right_158f319.txtfrom this repository to your clipboard and paste it into the right text box.
Click the "Show Unified Diff" button in the toolbar to:
- View the differences in standard unified diff format (patch format)
- Copy the patch to clipboard for use with
git apply,patch, or other tools - See syntax-highlighted diff output with proper
---/+++headers and@@hunk markers
https://sandbox.saino.me/text-diff-view/
If you don't want to download the Electron app, try the web version.
Also available as a Docker image.
- Windows (x64, arm64)
- Linux (x64, arm64, AppImage, deb, rpm)
- macOS (Intel, Apple Silicon)
- Simple tool to compare left and right text
- Works offline (no server required)
- Multi-platform support (Windows, macOS, Linux)
- Generate unified diff patches for version control workflows
The difference calculation is done using Monaco Editor (microsoft/monaco-editor). This project provides the Electron app wrapper and UI layout.
$ yarn$ yarn dev# For Windows
$ yarn build:win
# For macOS
$ yarn build:mac
# For Linux
$ yarn build:linux- Framework: Electron
- UI: React + TypeScript
- Editor: Monaco Editor
- Styling: Tailwind CSS
- Build: electron-vite
MIT
Made by kaishuu0123 ✨


