File Diff Tool is a reusable OutSystems component designed to compare text or file content and visually highlight differences in a clear and structured format. It enables developers and business users to quickly identify added, removed, and modified content through an intuitive side-by-side or line-by-line comparison view.
The component supports file uploads or direct text input, converts content into a comparable format, and uses an efficient diff algorithm to detect changes accurately—even when lines are inserted or removed in the middle of the content. Results are presented in a user-friendly interface with color-coded highlights, making it easy to analyze differences at a glance.
Key features include dynamic comparison of large text inputs, side-by-side visualization, line-level change detection, and extensibility for advanced capabilities such as word-level highlighting, export to CSV/PDF reports, and configurable comparison options (e.g., ignoring whitespace or case sensitivity).
This component is ideal for use cases such as document comparison, code review, audit validation, data verification, and fraud detection scenarios where identifying subtle differences is critical.
Designed for seamless integration, the File Diff Tool can be easily reused across applications, reducing development effort while improving accuracy and user experience.