Sample RTF Files — Download Rich Text Format Test Documents
Rich Text Format · .rtf · MIME type application/rtf
Download a sample RTF file — Microsoft's 1987 interchange format, still the lowest-common-denominator for formatted text between word processors, email clients and clipboard operations. It is plain ASCII with control words, so you can open it in any text editor and see the structure.
RTF matters for testing because it can be surprisingly hostile: it may embed OLE objects and has been a malware vector, so many scanners inspect it closely. Our samples contain only text formatting, a table and lists — a clean control for your filters.
Download sample RTF files
| File | Details | Size | Download |
|---|---|---|---|
sample-document-small.rtf | — | 18 KB | |
sample-document-medium.rtf | — | 23 KB |
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/rtf/sample-document-small.rtf # Verify it (SHA-256 is listed for every file above) shasum -a 256 sample-document-small.rtf # 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=="rtf")'
RTF format at a glance
| Full name | Rich Text Format |
|---|---|
| Extensions | .rtf |
| MIME type | application/rtf |
| Introduced | Microsoft, 1987; spec v1.9.1 (2008) |
| Encoding | 7-bit ASCII with control words |
| Contents | Headings, lists, table |
| Starts with | {\rtf1 |
What people test with sample RTF files
- Clipboard and email-client rich text handling
- RTF → HTML/DOCX conversion
- Scanner false-positive checks (no embedded objects here)
Frequently asked questions
Is RTF still used?
Yes, mostly invisibly: macOS TextEdit defaults to it, many email clients use it for formatted messages, and medical and legal systems exchange documents in RTF because every tool can read it. It is rarely chosen for new documents.
Are these RTF 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 RTF 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