HTML sample file
html_sample_file_2MB.html
2.0 MB
text/html
SHA256 verified
File details
Filename
html_sample_file_2MB.htmlSize2.0 MB (2097152 bytes)
MIME type
text/htmlExtension
.htmlSHA256
c36e91f20d1ce98a5914ebfe3563f384825f0ca85a0f5fdbc68e206d48236879Download commands
Use in scripts and tests
curl -L -o html_sample_file_2MB.html \
https://samplefile.com/samples/download/document/html/html_sample_file_2MB.html/
wget -O html_sample_file_2MB.html \
https://samplefile.com/samples/download/document/html/html_sample_file_2MB.html/
import requests
url = "https://samplefile.com/samples/download/document/html/html_sample_file_2MB.html/"
resp = requests.get(url)
with open("html_sample_file_2MB.html", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/html/html_sample_file_2MB.html/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("html_sample_file_2MB.html", buf);
# Download and verify SHA256
curl -L -o html_sample_file_2MB.html https://samplefile.com/samples/download/document/html/html_sample_file_2MB.html/
echo "c36e91f20d1ce98a5914ebfe3563f384825f0ca85a0f5fdbc68e206d48236879 html_sample_file_2MB.html" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/html/html_sample_file_2MB.html/").content
assert hashlib.sha256(data).hexdigest() == "c36e91f20d1ce98a5914ebfe3563f384825f0ca85a0f5fdbc68e206d48236879"
More HTML files
Other HTML Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
html_sample_file_1MB.html |
1.0 MB | b0effd627db2ff78… |
Download |
html_sample_file_200KB.html |
200.1 KB | 001171c3b0cc283d… |
Download |
html_sample_file_500KB.html |
500.1 KB | 193f585c72b4b361… |
Download |
html_sample_file_50KB.html |
50.0 KB | 4f7bd37b2bb478f3… |
Download |
html_sample_file_5MB.html |
5.0 MB | b77a5f1da40c4e92… |
Download |
Learn more