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