.HTML

Sample HTML Files

Self-contained HTML pages for testing renderers, sanitizers, scrapers, HTML-to-PDF tools and email clients. Each file works offline with no external requests.

.htmltext/html6 filesFree · No sign-upUnlimited downloads
Custom size by Technology Channel · Free to use for testing and development, including commercial projects.

All HTML sample files

6 files, 3.8 KB – 176 KB. Click a file to download it again any time.

Basic pagePopular

sample.html

Small, valid HTML5 page with headings, a list, links, an inline image and buttons. No scripts.

  • HTML5
  • No JavaScript
  • 4.2 KB

All elements (typography test)

sample-all-elements.html

Every common element on one page: text-level tags, lists, tables, media, forms, details and dialog.

  • 70+ elements
  • RTL + Nepali text
  • 9.9 KB

Form with every input type

sample-form.html

All 15+ input types, select, datalist, textarea and native validation. Safe: submits nowhere.

  • 15 input types
  • Native validation
  • 7.2 KB

Table with 1,000 rows

sample-table.html

Large table with a sticky header and zebra rows. Tests scrolling, printing and HTML-to-PDF.

  • 1,000 rows
  • 7 columns
  • 176 KB

Email template

sample-email-template.html

Table-based, inline-CSS, 600 px email with preheader, button and footer. Safe for email-client tests.

  • 600 px
  • Inline CSS
  • Table layout

Responsive landing page

sample-landing-page.html

One-page responsive layout: sticky header, hero, feature grid, pricing cards and FAQ. HTML + CSS only.

  • Responsive
  • No JavaScript
  • 6.8 KB
Exact-size generator

Need a HTML of a different size?

Create a valid HTML file of any exact size, byte for byte, right in your browser. Nothing is uploaded, and you can generate as many as you like.

  • Perfect for upload limits: 9.99 MB, 10 MB and 10.01 MB in seconds.
  • Up to 20 copies at once, bundled in one ZIP.
  • Unique copies get different checksums, for duplicate-detection tests.

Use cases

What you can test

  • HTML sanitizers and rich-text editors.
  • HTML-to-PDF and screenshot rendering.
  • Web scrapers and content extraction.
  • Email client rendering with the table-based template.
  • Form controls, validation and accessibility.
  • Large DOM performance with the 1,000-row table.
Reference

HTML format facts

Extension.html
MIME typetext/html
File signatureNone (plain text, usually starts with <!doctype html>)
OriginTim Berners-Lee, 1991 · WHATWG Living Standard
Files here6 · 208 KB in total
LicenseFree for any use, no attribution
About the format

What is a HTML file?

HTML (HyperText Markup Language) was created by Tim Berners-Lee in 1991 and is now maintained by WHATWG as a living standard. Every web page is an HTML document.

Email HTML is its own world: many clients ignore modern CSS, so templates still use tables and inline styles. Test both kinds of markup if your product renders user content.

Developers

Preview in a sandbox

Preview in a sandbox
<iframe src="files/html/sample-all-elements.html"
        sandbox width="100%" height="600"
        title="Sample HTML page"></iframe>
Download with cURL
curl -O https://samplefiles.technologychannel.org/files/html/sample.html
FAQ

HTML files: common questions

Do the HTML files load anything from the internet?

No. Styles are inline or embedded and there are no external scripts, fonts or trackers, so the pages render the same offline.

Which file should I use for email testing?

Use the email template. It is built with tables and inline styles, the way production email is written for clients such as Outlook and Gmail.

Can I use these HTML files in commercial projects?

Yes. Every HTML file here is free for any use, including commercial testing, demos and tutorials. No attribution is required.

Can I download the same HTML file more than once?

Yes, as many times as you like. There is no sign-up, no daily limit and no waiting timer. Direct links also work in scripts, CI jobs and automated tests.