HTML sample file
html_sample_file_1MB.html
1.0 MB
text/html
SHA256 verified
File details
Filename
html_sample_file_1MB.htmlSize1.0 MB (1048629 bytes)
MIME type
text/htmlExtension
.htmlSHA256
dd0a4a9c012f661f747bd5d2aea1687ff65fcb66a25caa5640d40d3ddbb31ebbDownload commands
Use in scripts and tests
curl -L -o html_sample_file_1MB.html \
https://samplefile.com/samples/download/code/html/html_sample_file_1MB.html/
wget -O html_sample_file_1MB.html \
https://samplefile.com/samples/download/code/html/html_sample_file_1MB.html/
import requests
url = "https://samplefile.com/samples/download/code/html/html_sample_file_1MB.html/"
resp = requests.get(url)
with open("html_sample_file_1MB.html", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/html/html_sample_file_1MB.html/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("html_sample_file_1MB.html", buf);
# Download and verify SHA256
curl -L -o html_sample_file_1MB.html https://samplefile.com/samples/download/code/html/html_sample_file_1MB.html/
echo "dd0a4a9c012f661f747bd5d2aea1687ff65fcb66a25caa5640d40d3ddbb31ebb html_sample_file_1MB.html" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/html/html_sample_file_1MB.html/").content
assert hashlib.sha256(data).hexdigest() == "dd0a4a9c012f661f747bd5d2aea1687ff65fcb66a25caa5640d40d3ddbb31ebb"
More HTML files
Other HTML Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
html_sample_file_200KB.html |
200.0 KB | 70af58d82a06da06… |
Download |
html_sample_file_500KB.html |
500.0 KB | ce3defc976be3725… |
Download |
html_sample_file_50KB.html |
50.0 KB | b90cbcd2df67bd46… |
Download |
Learn more