30 MB TXT sample
A TXT file of exactly 31,457,280 bytes. It is a valid Plain text file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 30 MB sample, test or dummy TXT file.
Download
sample-txt-30mb.txt
30 MB31,457,280 bytes
Download 30 MB TXTCreated in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.
- Type
- text/plain
- SHA-256
99a6001fbb0b85fa16ad667e381b9b738df24649cf80f3c4b965e57989d26646- Delivery
- Created in your browser from static generator assets (how it works).
What is in this file
309,539 numbered lines of plain English text, each prefixed with its line number and starting byte offset so truncation is easy to spot. A closing rule of "=" characters brings the file to the exact size.
| Numbered lines | 309,539 |
|---|---|
| Encoding | UTF-8 (ASCII characters only) |
| Line endings | LF (Unix) |
How the file begins
The opening lines of sample-txt-30mb.txt, exactly as they appear in the file.
00000000 53 61 6d 70 6c 65 54 65 73 74 46 69 6c 65 73 20 |SampleTestFiles |
00000010 73 61 6d 70 6c 65 20 74 65 78 74 20 66 69 6c 65 |sample text file|
00000020 20 28 33 30 20 4d 42 29 0a 45 6e 63 6f 64 69 6e | (30 MB).Encodin|
00000030 67 3a 20 41 53 43 49 49 2c 20 77 68 69 63 68 20 |g: ASCII, which |Preview
Creates the file in your browser and shows its first 64 KB.
Where 30 MB matters
A 31,457,280-byte file, 30 MB in the binary units that operating systems and upload limits use. It is useful wherever a form, an API gateway, a storage quota or a mail server is configured with a limit of about this size.
Use this file for
- Testing email attachment limits
- Baseline upload and download tests
- Checking encoding handling
Testing notes for TXT
- Plain text compresses very well, so a 10 MB text file may travel as a fraction of that when gzip or Brotli is enabled. Use the BIN samples when you need incompressible bytes.
- Line endings change the byte count: converting LF to CRLF adds one byte per line, which breaks checksum comparisons.
Technical details
| File name | sample-txt-30mb.txt |
|---|---|
| Format | TXT (Plain text) |
| Extension | .txt |
| MIME type | text/plain |
| Size | 31,457,280 bytes (30 MB) |
| Kind | Text |
| SHA-256 | 99a6001fbb0b85fa16ad667e381b9b738df24649cf80f3c4b965e57989d26646 |
| Created | 2026-10-23 |
| Validation | See the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility. |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Documents |
Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.
sha256sum sample-txt-30mb.txt # Linux
shasum -a 256 sample-txt-30mb.txt # macOSOn Windows, run Get-FileHash sample-txt-30mb.txt -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
Related files
Questions about this file
- Is this file exactly 30 MB?
- Yes. It is 31,457,280 bytes, which is 30 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 30 MB TXT file?
- 309,539 numbered lines of plain English text, each prefixed with its line number and starting byte offset so truncation is easy to spot. A closing rule of "=" characters brings the file to the exact size.
- Why does each line start with numbers?
- Each line carries its line number and the byte offset where it begins. If a transfer is truncated or corrupted you can see exactly where.