Skip to content
>_ TrueFileSize.com

1MB TXT File Download — Stress Test

Download a free 1MB plain text file with 50,000 lines. Stress test text editors, file upload size limits, line-by-line processing throughput, and text search performance on larger files.

sample-1mb.txt

1 MB

50,000 lines

Verified file details
Filename
sample-1mb.txt
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
text/plain
Lines
50,000
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/sample-1mb.txt

Other TXT files

sample-1kb.txt

1 KB

50 lines

Verified file details
Filename
sample-1kb.txt
Exact size
1,024 bytes
Displayed size
1 KB
MIME type
text/plain
Lines
50
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/sample-1kb.txt

sample-10kb.txt

10 KB

500 lines

Verified file details
Filename
sample-10kb.txt
Exact size
10,240 bytes
Displayed size
10 KB
MIME type
text/plain
Lines
500
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/sample-10kb.txt

sample-100kb.txt

100 KB

5,000 lines

Verified file details
Filename
sample-100kb.txt
Exact size
102,400 bytes
Displayed size
100 KB
MIME type
text/plain
Lines
5,000
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/sample-100kb.txt

sample-10mb.txt

10 MB

500,000 lines

Verified file details
Filename
sample-10mb.txt
Exact size
10,485,760 bytes
Displayed size
10 MB
MIME type
text/plain
Lines
500,000
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/sample-10mb.txt

lorem-ipsum.txt

2.6 KB

100 lines

Verified file details
Filename
lorem-ipsum.txt
Exact size
2,708 bytes
Displayed size
2.6 KB
MIME type
text/plain
Lines
100
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/lorem-ipsum.txt

words-list.txt

40.0 KB

5,000 lines

Verified file details
Filename
words-list.txt
Exact size
40,959 bytes
Displayed size
40.0 KB
MIME type
text/plain
Lines
5,000
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/txt/words-list.txt

Frequently Asked Questions

Will text editors handle a 1MB file?
All modern editors (VS Code, Sublime Text, Vim, Notepad++) handle 1MB files instantly. This file is useful for testing that your own text display component handles large content without lag or truncation.
How long does reading 50,000 lines take?
In-memory read: ~5ms on modern hardware. Line-by-line streaming: ~20–50ms. If your implementation takes longer, check for unnecessary string copying or synchronous I/O blocking.

Other document formats

Similar files in other formats

test-1mb.bin

1 MB
Verified file details
Filename
test-1mb.bin
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
application/octet-stream
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/test/test-1mb.bin

sample-1mb.webm

1 MB

854×480 · 480p · VP9

Verified file details
Filename
sample-1mb.webm
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
video/webm
Dimensions
854 x 480 px
Resolution
480p
Codec
VP9
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/webm/sample-1mb.webm

sample-1mb.aac

1 MB

60s · 128kbps · 44100Hz · stereo

Verified file details
Filename
sample-1mb.aac
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
application/octet-stream
Duration
1m
Bitrate
128 kbps
Sample rate
44,100 Hz
Channels
stereo
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/aac/sample-1mb.aac
avif previewAVIF

sample-1mb.avif

1 MB

1920×1080 · 10-bit · sRGB

Verified file details
Filename
sample-1mb.avif
Exact size
1,048,576 bytes
Displayed size
1 MB
MIME type
application/octet-stream
Dimensions
1,920 x 1,080 px
Bit depth
10-bit
Color space
sRGB
License
CC0 / Public Domain
Download URL
https://truefilesize.com/files/avif/sample-1mb.avif