File without an extension
A plain-text file whose name has no extension, so its type can only be learned from its content.
Download
sample-file-without-extension
61 B61 bytes
Download TXT sampleDirect download. No sign-up and no waiting.
- Type
- text/plain
- SHA-256
82e499ff879b2164b85b28a87ac8522b6b089f7ce8ec4b7dd0159c2d9fabaf84- Direct URL
https://sampletestfiles.com/downloads/samples/sample-file-without-extension
Why test with this file
Tests type detection that relies on the file name, and servers that fall back to application/octet-stream.
| Extension | None |
|---|---|
| Content | ASCII text |
| Likely served as | application/octet-stream |
What to check
After your application has processed sample-file-without-extension, confirm that:
- Type detection works from content, or the file is refused with an explanation.
- The stored file is served with a sensible Content-Type and with nosniff.
- The interface shows a usable icon or label for a file of unknown type.
How the file begins
The opening lines of sample-file-without-extension, exactly as they appear in the file.
This file has no extension. Its content is plain ASCII text.
Preview
Shows the file contents.
Technical details
| File name | sample-file-without-extension |
|---|---|
| Format | TXT (Plain text) |
| Extension | None |
| MIME type | text/plain |
| Size | 61 bytes (61 B) |
| Kind | Text |
| SHA-256 | 82e499ff879b2164b85b28a87ac8522b6b089f7ce8ec4b7dd0159c2d9fabaf84 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| 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
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-file-without-extension 'https://sampletestfiles.com/downloads/samples/sample-file-without-extension'
sha256sum sample-file-without-extension # Linux
shasum -a 256 sample-file-without-extension # macOSOn Windows, run Get-FileHash sample-file-without-extension -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
About TXT
Unformatted text with no structure beyond characters and line breaks. The simplest possible upload.
Where it fits
- MIME type testing
Files with correct, documented signatures for testing type detection and upload allow-lists.
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.