The rapid growth of digital documents has increased the demand for storage capacity and efficient data distribution. Consequently, robust data compression techniques have become essential to mitigate storage constraints by reducing file sizes without compromising data integrity. This condition highlights the importance of data compression techniques capable of reducing file size without losing information. This study aims to develop a desktop-based application for digital document compression and decompression using the Huffman and Lempel–Ziv–Welch (LZW) algorithms while evaluating their performance based on compression ratio, space saving, and processing time. The application was developed using the Waterfall model with the Python programming language and the PyQt6 framework. System testing consisted of Black Box Testing to verify application functionality and White Box Testing using the Basis Path Testing technique to evaluate the program logic. Performance evaluation was conducted on five document formats, namely .txt, .pdf, .docx, .xlsx, and .pptx. The results indicate that the application successfully performs document compression and decompression across all tested document formats. Functional testing confirmed that all application features operated as expected, while the performance evaluation showed that the Huffman algorithm provided more stable compression performance across different document types. The performance evaluation demonstrated that the Huffman algorithm yielded a stable, albeit moderate, compression performance across different document types. In contrast, the Lempel–Ziv–Welch (LZW) algorithm achieved better compression results for text documents containing repetitive character patterns. These findings indicate that the effectiveness of a compression algorithm is strongly influenced by the characteristics of the processed data; therefore, selecting an appropriate algorithm should consider the document type.