Document · 8 files

Sample TXT Files

Plain UTF-8 text files at exact byte sizes from 1 KB to 100 MB, for testing uploads, streaming and text processing.

All 8 TXT files

Download all with curl
Download 8 files (166 MB)Shell
# 8 files, 166 MB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/document/txt/sample-1kb.txt
https://files.samplefiles.com/document/txt/sample-10kb.txt
https://files.samplefiles.com/document/txt/sample-100kb.txt
https://files.samplefiles.com/document/txt/sample-1mb.txt
https://files.samplefiles.com/document/txt/sample-5mb.txt
https://files.samplefiles.com/document/txt/sample-10mb.txt
https://files.samplefiles.com/document/txt/sample-50mb.txt
https://files.samplefiles.com/document/txt/sample-100mb.txt
EOF
FileSizeDetailsDownload
1 KB text filesample-1kb.txt1 KBDownload
10 KB text filesample-10kb.txt10 KBDownload
100 KB text filesample-100kb.txt100 KBDownload
1 MB text filesample-1mb.txt1 MBDownload
5 MB text filesample-5mb.txt5 MBDownload
10 MB text filesample-10mb.txt10 MBDownload
50 MB text filesample-50mb.txt50 MBDownload
100 MB text filesample-100mb.txt100 MBDownload

FAQ

Are the sizes exact?

Yes, byte-exact in binary units: 1 KB is 1,024 bytes and 1 MB is 1,048,576 bytes.