1 MB RTF sample

An RTF file of exactly 1,048,576 bytes. It is a valid Rich Text Format file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 1 MB sample, test or dummy RTF file.

Download

sample-rtf-1mb.rtf

1 MB1,048,576 bytes

Download 1 MB RTF

Created in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.

Type
application/rtf
SHA-256
6e54b6dc64ee0129262659aedc83ab89e0869652bdc994130d1414a6cb7f49b1
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

A Rich Text Format document with a title and 2,935 sections of bold headings and body text in Helvetica. An ignorable destination group ({\*\fixturepad}), which word processors skip, brings the file to the exact size.

Sections2,935
Character setANSI, code page 1252
FontsHelvetica
ImagesNone
EncodingUTF-8 (ASCII characters only)

How the file begins

The opening lines of sample-rtf-1mb.rtf, exactly as they appear in the file.

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fswiss Helvetica;}}\f0\fs22
{\b\fs32 Sample RTF document (1 MB)}\par\par
{\b Section 1}\par
Character encoding problems usually appear at the edges, in names, notes and addresses. Upload forms should reject files that are too large before reading them into memory. Progress bars, retry logic and timeouts all deserve a test with a file of known size. Storage quotas are easier to reason about when every test file has a round size.\par\par
{\b Section 2}\par
The file was built to an exact byte count, which makes size limits easy to verify. This copy of the file was created in your web browser rather than downloaded from a server. This sample file exists so that software can be tested with realistic input. Character encoding problems usually appear at the edges, in names, notes and addresses.\par\par
{\b Section 3}\par

Preview

Creates the file in your browser and shows the first 64 KB of it.

Where 1 MB matters

A 1,048,576-byte file: exactly the default upload limit of nginx, Spring Boot and Next.js. These are the default limits a file of this size is useful for testing:

SystemLimitNote
nginx1 MB by default (client_max_body_size)A multipart upload of this file exceeds the limit by the size of the form boundaries.
Spring Boot multipart1 MB per file by default (max-file-size)A file of exactly 1 MB is at the limit.
Next.js API routes and Server Actions1 MB by defaultLarger bodies need the size limit raised in configuration.
Cloud Firestore documents1 MiB (1,048,576 bytes)The same number of bytes as this file.
Apache Kafka messagesAbout 1 MB by defaultBrokers reject larger records unless message.max.bytes is raised.

All 1 MB sample files

Use this file for

  • Finding the first upload limit in a new stack
  • Verifying upload filters that allow or block RTF
  • Testing legacy document import

Testing notes for RTF

  • Two MIME types are in use, application/rtf and text/rtf, and allow-lists should recognise both.
  • RTF readers must skip groups they do not understand; a parser that fails on unknown control words is not conformant.

RTF format reference

Technical details

File namesample-rtf-1mb.rtf
FormatRTF (Rich Text Format)
Extension.rtf
MIME typeapplication/rtf
Size1,048,576 bytes (1 MB)
KindText
Signature7B 5C 72 74 66 31
SHA-2566e54b6dc64ee0129262659aedc83ab89e0869652bdc994130d1414a6cb7f49b1
Created2026-10-21
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-rtf-1mb.rtf     # Linux
shasum -a 256 sample-rtf-1mb.rtf # macOS

On Windows, run Get-FileHash sample-rtf-1mb.rtf -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 1 MB?
Yes. It is 1,048,576 bytes, which is 1 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 1 MB RTF file?
A Rich Text Format document with a title and 2,935 sections of bold headings and body text in Helvetica. An ignorable destination group ({\*\fixturepad}), which word processors skip, brings the file to the exact size.
Do the RTF samples contain embedded objects?
No. They contain only formatted text: bold headings and paragraphs in a single font.