Documents

TXT test files, any size.

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

0 bytes
Exact size

TXT, built to spec.

Each file is a plain UTF-8 text file. The size you ask for is reached with printable ASCII characters, so the result opens in Notepad, TextEdit and VS Code. Most people generate these for the simplest possible upload and transfer test.

Common sizes

Tap a size to set the generator above to it, or type any exact size in MB or GB. On this site 1 KB = 1,024 bytes, 1 MB = 1,048,576 bytes and 1 GB = 1,073,741,824 bytes — the binary convention most upload limits are checked against.

Questions

How small can a TXT file be?

About 1 byte. Below that the format cannot carry its mandatory structure, let alone padding.

Will the file open normally?

Yes — it opens in Notepad, TextEdit and VS Code, because the padding lives in printable ASCII characters.

Can I ask for an unusual size?

Any byte count above the minimum works — for example 3,145,728 bytes (exactly 3 MB) or 27.5 MB. Drag the caliper or type the number.

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