Sample TXT Files — Plain Text Files for Testing
Download free sample text files from 0 KB (empty) to 10 MB. Includes lorem ipsum, English word lists, and number sequences. Perfect for testing text processing, file uploads, and edge cases.
Generate custom TXT fileCreate up to 1GB locally in your browsersample-1kb.txt
50 lines
File details and verification
- Filename
- sample-1kb.txt
- Exact size
- 1,024 bytes
- Displayed size
- 1 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 2fb0355c02d601b9e549106a0a49d230f58ceb97f980a88b4819992f384a34d0
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 50
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/sample-1kb.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10kb.txt
500 lines
File details and verification
- Filename
- sample-10kb.txt
- Exact size
- 10,240 bytes
- Displayed size
- 10 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 54ab8bb5508b24502445dc5e4180b15c2f506e01775715b13208eb381b486001
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 500
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/sample-10kb.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100kb.txt
5,000 lines
File details and verification
- Filename
- sample-100kb.txt
- Exact size
- 102,400 bytes
- Displayed size
- 100 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- f6688eb1c989f2e953730165d408cce4b29a95681e7df941a31c5d858aec60dc
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 5,000
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/sample-100kb.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1mb.txt
50,000 lines
File details and verification
- Filename
- sample-1mb.txt
- Exact size
- 1,048,576 bytes
- Displayed size
- 1 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 1543ae4dcb6be154633ace1d28147faa9a873f28f411322272087cd738b5496d
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 50,000
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/sample-1mb.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10mb.txt
500,000 lines
File details and verification
- Filename
- sample-10mb.txt
- Exact size
- 10,485,760 bytes
- Displayed size
- 10 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 57ea00ca18b491d67135d53d92d79119c6d66f351ce9ed198d8e866df40289ff
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 500,000
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/sample-10mb.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
lorem-ipsum.txt
100 lines
File details and verification
- Filename
- lorem-ipsum.txt
- Exact size
- 2,949 bytes
- Displayed size
- 2.9 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 9a403ced14686474a1f73b4b02aa88e2da046a72e1789960588877817c8367a5
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 100
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/lorem-ipsum.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
words-list.txt
5,000 lines
File details and verification
- Filename
- words-list.txt
- Exact size
- 40,737 bytes
- Displayed size
- 39.8 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 88a2341e04ba167153f18c4d28941b44522f86ddc62f49935d858008298bba1b
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 5,000
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/words-list.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
numbers.txt
2,000 lines
File details and verification
- Filename
- numbers.txt
- Exact size
- 28,657 bytes
- Displayed size
- 28.0 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- f0eb364947ec6ae73f8ec89b7c5136e5a1140df5063e8682b738d51662d4a13b
- Header signature
- Not applicable (no stable header signature for this format)
- Verified on
- 2026-08-10
- MIME type
- text/plain
- Lines
- 2,000
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/numbers.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
empty.txt
File details and verification
- Filename
- empty.txt
- Exact size
- 0 bytes
- Displayed size
- 0 KB
- Catalog status
- Intentionally empty (zero-byte test)
- SHA-256
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- Header signature
- zero-byte fixture verified
- Verified on
- 2026-08-10
- MIME type
- text/plain
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/txt/empty.txt
See how TrueFileSize generates and measures sample files, or review the editorial policy.
How to use these sample text files
- Testing plain text file upload and processing
- Verifying text encoding handling (UTF-8)
- Testing text editors and viewers with large files
- Stress testing with 10MB text file (500K lines)
- Edge case testing with empty file (0 bytes)
- Placeholder content for development and demos
Technical specifications
| Encoding | UTF-8 |
| Line endings | LF (Unix-style) |
| Content types | Lorem ipsum, word lists, number sequences |
| Size range | 0 KB (empty) to 10 MB |
| Line counts | 0 to ~500,000 lines |
Frequently Asked Questions
Why do you include an empty text file?
What encoding are these text files?
What is in the words-list.txt file?
What does the numbers.txt file contain?
Can I use the 10MB file for performance testing?
Other document formats
Related reading
Audio Upload Validation and Server-Side Transcoding
Validate audio uploads, check real format, and transcode with ffmpeg on the server. Sample MP3, WAV, OGG, and AAC files for every edge case.
How to Handle Large File Uploads — Performance Guide
Complete guide to handling large file uploads (100MB+). Covers chunked upload, resumable transfers, progress tracking, and testing with sample files.
Handling Password-Protected Archives
Testing ZIP, RAR, and 7Z archives with passwords. Libraries, AES encryption, and brute-force protection. Sample encrypted archives included.