Documents

HTML test files, any size.

Set a size and generate a structurally valid HTML immediately. Nothing is uploaded and nothing is stored.

0bytes
Exact size

HTML, built to spec.

Each file is a complete HTML5 document that renders in a browser. The size you ask for is reached with an HTML comment, so the result opens in Chrome, Firefox, Safari and Edge. Most people generate these for testing page-weight budgets and HTML upload handling.

Questions.

How small can an HTML file be?

About 189 bytes. Below that the format cannot carry its mandatory structure, let alone padding.

Will the file open normally?

Yes — it opens in Chrome, Firefox, Safari and Edge, because the padding lives in an HTML comment.

Can I ask for an unusual size?

Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.

Noticed an issue with this test file? Report an issue →