50 MB TXT sample

A TXT file of exactly 52,428,800 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 50 MB sample, test or dummy TXT file.

Download

sample-txt-50mb.txt

50 MB52,428,800 bytes

Download 50 MB TXT

Created in your browser and, in browsers that can stream to disk, sent straight to your downloads list; this can take a minute. No sign-up.

Type
text/plain
SHA-256
47c7ab00d7957bac93ab60a7748fdce8ecd8dcee0ed4dae01a3f8ca7d3c686a1
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

505,944 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 lines505,944
EncodingUTF-8 (ASCII characters only)
Line endingsLF (Unix)

How the file begins

The opening lines of sample-txt-50mb.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 35 30 20 4d 42 29  0a 45 6e 63 6f 64 69 6e | (50 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 50 MB matters

A 52,428,800-byte file: exactly the size at which Git hosting on GitHub starts warning about large files, and about the limit for a zipped AWS Lambda package uploaded directly.

All 50 MB sample files

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.

TXT format reference

Technical details

File namesample-txt-50mb.txt
FormatTXT (Plain text)
Extension.txt
MIME typetext/plain
Size52,428,800 bytes (50 MB)
KindText
SHA-25647c7ab00d7957bac93ab60a7748fdce8ecd8dcee0ed4dae01a3f8ca7d3c686a1
Created2026-10-23
ValidationSee 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.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryDocuments

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-50mb.txt     # Linux
shasum -a 256 sample-txt-50mb.txt # macOS

On Windows, run Get-FileHash sample-txt-50mb.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 50 MB?
Yes. It is 52,428,800 bytes, which is 50 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 50 MB TXT file?
505,944 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.