Corrupted & Malformed Excel Files

In production, applications must handle files that were interrupted during download, maliciously malformed, or saved with the wrong extension. Your parser must catch these exceptions cleanly without hanging or crashing the server.

This suite of files tests your parser's absolute resilience. It includes completely empty 0-byte files, severed ZIP streams, renamed archives, and structurally invalid XML documents designed to trigger exceptions like ZipException: Unexpected EOF.

zero byte

spytm_zero_byte.xlsx0 Bytes

An entirely empty 0-byte file. Tests if your parser throws a clean error or crashes with a NullPointer.

renamed from zip

spytm_renamed_from_zip.xlsx130 Bytes

A plain `.zip` text archive simply renamed to `.xlsx`.

truncated

spytm_truncated.xlsx2.4 KB

A binary stream severed at 50%, mimicking a broken network upload.

missing workbook xml

spytm_missing_workbook_xml.xlsx4.4 KB

Missing the primary `xl/workbook.xml` root relationship file.

missing content types

spytm_missing_content_types.xlsx4.4 KB

Missing the mandatory `[Content_Types].xml` manifest.

invalid xml

spytm_invalid_xml.xlsx4.5 KB

Contains malformed HTML tags inside an XML structure to break strict DOM parsers.

empty valid workbook

spytm_empty_valid_workbook.xlsx4.7 KB

A structurally perfect XLSX file containing exactly zero data rows.

corrupted zip

spytm_corrupted_zip.xlsx4.8 KB

A file where a block of internal bytes has been randomized, destroying the ZIP integrity.

wrong extension

spytm_wrong_extension.xls4.8 KB

A valid `.xlsx` file saved with a legacy `.xls` extension.

wrong extension

spytm_wrong_extension.csv4.8 KB

A valid `.xlsx` saved as `.csv`.

wrong extension

spytm_wrong_extension.zip4.8 KB

A valid `.xlsx` saved as `.zip`.

Frequently Asked Questions

Use Cases

  • Testing parser resilience to ensure malformed files trigger handled exceptions rather than segmentation faults.
  • Validating magic-byte (MIME type) detection logic to ensure a `.csv` renamed to `.xlsx` is processed (or rejected) correctly.
  • Ensuring network interruption handling correctly identifies truncated payloads.

Related Test Files

S
SPYTM

Experience the pinnacle of digital communication. The ultimate ultra-premium platform designed for those who demand excellence.

© 2026 SPYTM. All rights reserved.