Sample TXT Files — Download Plain Text Test Files (1 KB to 1 MB)

Plain text (UTF-8) · .txt · MIME type text/plain

4 files1 KB1.0 MBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample TXT file at exactly the size class you need — 1 KB, 10 KB, 100 KB or 1 MB — made of real English paragraphs rather than repeated characters, with Unix line endings, UTF-8 encoding, accented characters (café, Zürich) and typographic quotes, so encoding bugs show up immediately.

Plain text is the simplest upload there is, and still worth testing: size limits, encoding detection, line-ending normalisation and the difference between text/plain and application/octet-stream in your MIME detection all hinge on it.

Download sample TXT files

FileDetailsSizeDownload
sample-text-1kb.txt
~1KB • UTF-8 • 4 paragraphs
1 KB
1,244 bytes
Download TXT
sample-text-10kb.txt
~10KB • UTF-8 • 37 paragraphs
10 KB
10,281 bytes
Download TXT
sample-text-100kb.txt
~100KB • UTF-8 • 363 paragraphs
100 KB
100,212 bytes
Download TXT
sample-text-1mb.txt
~1MB • UTF-8 • 3614 paragraphs
1.0 MB
1,000,118 bytes
Download TXT
4 files · direct links · no sign-up · CORS enabled

Need one of every documents format? Download the documents sample pack (110 KB, one small file of every documents format (14 files)).

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/documents/txt/sample-text-1kb.txt

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-text-1kb.txt

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="txt")'

TXT format at a glance

Full namePlain text (UTF-8)
Extensions.txt
MIME typetext/plain
EncodingUTF-8, no BOM
Line endingsLF (Unix)
ContentNumbered English paragraphs with Unicode punctuation
Sizes~1 KB, ~10 KB, ~100 KB, ~1 MB (exact bytes listed)

What people test with sample TXT files

  • Upload size limits at round numbers
  • Encoding detection (UTF-8 with non-ASCII characters)
  • Text-processing performance on 1 MB of prose
  • Log and transcript ingestion

Frequently asked questions

Are the sizes exact?

They are within one paragraph of the label — the generator appends whole paragraphs until the target is passed. The exact byte count is shown next to each file. If you need a byte-exact file, use the binary samples in the Data category.

Are these TXT files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample TXT files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.