TXT sample file
txt_sample_file_1MB.txt
1.0 MB
text/plain
SHA256 verified
File details
Filename
txt_sample_file_1MB.txtSize1.0 MB (1048668 bytes)
MIME type
text/plainExtension
.txtSHA256
4c3dbbfce56a0c0d1fd7fd51895678c1a23b60f94436f7bf2147e2792b1953e3Download commands
Use in scripts and tests
curl -L -o txt_sample_file_1MB.txt \
https://samplefile.com/samples/download/document/txt/txt_sample_file_1MB.txt/
wget -O txt_sample_file_1MB.txt \
https://samplefile.com/samples/download/document/txt/txt_sample_file_1MB.txt/
import requests
url = "https://samplefile.com/samples/download/document/txt/txt_sample_file_1MB.txt/"
resp = requests.get(url)
with open("txt_sample_file_1MB.txt", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/txt/txt_sample_file_1MB.txt/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("txt_sample_file_1MB.txt", buf);
# Download and verify SHA256
curl -L -o txt_sample_file_1MB.txt https://samplefile.com/samples/download/document/txt/txt_sample_file_1MB.txt/
echo "4c3dbbfce56a0c0d1fd7fd51895678c1a23b60f94436f7bf2147e2792b1953e3 txt_sample_file_1MB.txt" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/txt/txt_sample_file_1MB.txt/").content
assert hashlib.sha256(data).hexdigest() == "4c3dbbfce56a0c0d1fd7fd51895678c1a23b60f94436f7bf2147e2792b1953e3"
More TXT files
Other TXT Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
txt_crlf_log_sample.txt |
134 B | 6b3897085441c0b1… |
Download |
txt_long_lines_sample.txt |
9.0 KB | fcd0acaba316c108… |
Download |
txt_minimal_readme_sample.txt |
100 B | 1988d57016b2c950… |
Download |
txt_mixed_whitespace_sample.txt |
116 B | bdb022932ca71666… |
Download |
txt_sample_file_200KB.txt |
200.0 KB | ff801cfacfca5636… |
Download |
txt_sample_file_2MB.txt |
2.0 MB | 7d665e23dae5b0a5… |
Download |
Learn more