Empty file (0 bytes)
A file with a name and no content at all.
Download
- Type
- text/plain
- SHA-256
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855- Direct URL
https://sampletestfiles.com/downloads/samples/empty-file.txt
Why test with this file
Zero-byte uploads are a classic source of divide-by-zero errors, stuck progress bars and misleading success messages.
| Content | None |
|---|---|
| Lines | 0 |
What to check
After your application has processed empty-file.txt, confirm that:
- The upload is refused with a clear message, or accepted on purpose; either way no server error occurs.
- Progress indicators and size displays cope with zero without dividing by it.
- No record is left pointing at a file that has no content.
Preview
There is nothing to preview: the file is empty.
Technical details
| File name | empty-file.txt |
|---|---|
| Format | TXT (Plain text) |
| Extension | .txt |
| MIME type | text/plain |
| Size | 0 bytes (0 B) |
| Kind | Text |
| SHA-256 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| Created | 2026-10-10 |
| Validation | Checked to be exactly zero bytes |
| Preview | Not available for this format; details only |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Documents |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
About TXT
Unformatted text with no structure beyond characters and line breaks. The simplest possible upload.
Where it fits
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- QA testing
A ready-made set of ordinary and awkward files for exploratory testing and test plans.