Sample RTF file
A Rich Text Format file written by hand in plain RTF 1 control words: a heading, three paragraphs, bold, italic and underlined text, a second colour and a second font. Free, no sign-up. Updated 19 November 2026.
What these files are
A Rich Text Format file written by hand in plain RTF 1 control words: a heading, three paragraphs, bold, italic and underlined text, a second colour and a second font. Any word processor opens it, and so does a text editor, which shows the markup.
Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.
About the format
Rich Text Format is a plain-text markup for formatted documents, published by Microsoft from 1987; the last version, 1.9.1, came out in 2008. Formatting is written as control words that start with a backslash, such as \b for bold, and groups are wrapped in braces, so every opening brace needs a matching closing one.
These files open in Word, LibreOffice Writer and macOS TextEdit. A web server should send them with the header Content-Type: application/rtf.
1 file to download
| File | Size | What it is |
|---|---|---|
| sample.rtf | 952 B | heading, 3 paragraphs, bold/italic/underline, a colour and two fonts balanced braces: yes |
MIME type: application/rtf. Total 952 B.
Good for testing
- Text extraction from older document formats
- Checking that styling survives a conversion
- Upload filters that list RTF
Check a file
head -c 200 sample.rtf # starts with {\rtf1Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):
| File | SHA-256 |
|---|---|
| sample.rtf | c9bcfad649185bc938f79832f7f6589c4ec3d284e69215fb05864c31b6aef468 |