Sample HTML File — Download a Standalone HTML5 Test Page

HTML5 web page · .html, .htm · MIME type text/html

1 file4 KB4 KBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample HTML file — a self-contained HTML5 page with a doctype, viewport meta, inline CSS, semantic headings, a data table and a small form. It loads no external scripts, styles or images, so it renders identically offline, in a sandboxed iframe or in an email-style HTML previewer.

HTML uploads are a security topic more than a formatting one: a system that stores and serves user HTML must sanitise it. This file contains no scripts or event handlers and is a useful 'should pass unchanged' control for sanitisers and content-security policies.

Download sample HTML files

FileDetailsSizeDownload
sample-page.html
HTML5 page with table and form
4 KB
3,624 bytes
Download HTML
1 file · direct links · no sign-up · CORS enabled

Need one of every documents format? Download the documents sample pack (110 KB, one small file of every documents format (14 files)).

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/documents/html/sample-page.html

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-page.html

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="html")'

HTML format at a glance

Full nameHTML5 web page
Extensions.html, .htm
MIME typetext/html
StandardHTML Living Standard (WHATWG)
EncodingUTF-8 (declared)
External resourcesNone
ContainsHeadings, paragraphs, table, form (no script)

What people test with sample HTML files

  • HTML sanitiser controls (no script present)
  • HTML → PDF rendering (Puppeteer, wkhtmltopdf)
  • Email-template previewers

Frequently asked questions

Is it safe to open a downloaded HTML file?

This one, yes — it has no JavaScript and no external references. In general, treat downloaded HTML like any executable content: open it in a sandboxed viewer if you did not generate it.

Are these HTML files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample HTML files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.