Data

Sample TXT 1MB File

Plain text — lorem ipsum, log lines, or chat transcripts

Click below for an instant download — no signup, no redirect.

Download 1MB TXT1 MB

TestFile-txt-1mb.txt

File details

FormatTXT
Extension.txt
MIME typetext/plain
Size1 MB
Exact bytes1,048,576
FilenameTestFile-txt-1mb.txt
Format versionPlain text (UTF-8)
Contents~8,700 timestamped log lines (INFO/WARN/ERROR); simulated module names and messages; ~120 bytes per line
EncodingUTF-8 (no BOM); Unix LF line endings

What is a 1MB TXT file useful for?

A 1 MB TXT file with ~8,700 log lines is the standard benchmark for log ingestion pipelines. Use it to test Elasticsearch bulk indexing throughput, to verify that your log parser correctly categorises ERROR vs INFO vs WARN entries, to test grep and full-text search performance, and to verify that your log storage API handles text/plain uploads with correct encoding detection. It is also the right size for testing text editor performance on large plain-text files.

What's inside this file?

Generated by data.py. Approximately 8,700 timestamped log lines in the same INFO/WARN/ERROR format as the 100 KB variant. Each line is approximately 120 bytes: 26-byte ISO 8601 timestamp, 5-byte log level, 10–20 byte module name, and 70–80 byte message. Error entries include a simulated stack trace suffix. Unix LF line endings, UTF-8, no BOM.

Download via curl

curl -L "http://localhost:8000/files/txt/TestFile-txt-1mb.txt" \
  -o TestFile-txt-1mb.txt

Need different parameters?

Generate a custom TXT file with exact settings.

⚙ Generate custom TXT

Related formats

Other TXT sizes

Frequently asked questions