Download a sample RTF document of any size

Get a Rich Text Format file with a heading and a paragraph, padded to the exact size you need.

10,485,760 bytes
10 MiB · DOCX · 1,496 B
Exact size

1 MB = 1,000,000 B · 1 MiB = 1,048,576 B

Advanced: test an upload limit

Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 10,485,760 B. Generate and download each file to test your endpoint.

How is the sample RTF file built?

Each file is plain-text RTF: a font table, a 16-point heading and an 11-point line of text. The rest of the size sits inside an ignorable destination group that starts with {\*. RTF readers skip groups they do not recognise when the group is marked this way, so the visible document stays two lines long.

The smallest valid RTF file is 190 bytes; any byte count from there up to 2 GiB can be selected. MIME type: application/rtf.

Which RTF size do you need?

What is inside a 1 MiB RTF file?

In the 1 MiB sample, the visible content and control words take 190 bytes and the ignorable group holds 1,048,386 characters. Because the whole file is 7-bit text, it also compresses extremely well, which matters when you test an upload that is gzipped in transit.

When is a sample RTF file useful?

  • Testing document uploads that list RTF next to DOCX and PDF.
  • Checking that a converter does not render hidden RTF groups as text.
  • Giving a text-extraction pipeline a file whose size and visible text differ greatly.

Questions about RTF test files

What will I see when I open it?

A heading, ByteRivet sample RTF, and one line of text. The padding group is not displayed.

Is RTF still supported?

Yes. Word, WordPad, LibreOffice and macOS TextEdit all open RTF files.

Format reference and related tools

Format reference: Library of Congress, RTF family.

Other formats in this family (Documents): PDF · DOCX · TXT · MD · HTML · ODT.

Related: Office to PDF · Merge PDF · Bytes to MB converter

Noticed an issue with this test file? Report an issue →