RTF File Signature & Magic Bytes (.rtf — {\rtf)
Rich Text Format (RTF) is a 7-bit ASCII control-word document markup introduced by Microsoft in 1987 for cross-application styled text exchange. Every valid RTF document opens at offset 0 with 7B 5C 72 74 66 ({\rtf, almost always {\rtf1).
Signature & identification summary
| Detected format name | RTF document |
|---|---|
| Hexadecimal magic bytes | 7B 5C 72 74 66 |
| ASCII / marker preview | {\rtf |
| Byte offset | 0 |
| MIME type | application/rtf |
| Common extensions & aliases | .rtf |
Check whether your file really is RTF.
Drop any file into File Sniff’s free local browser checker to verify its 7B 5C 72 74 66 signature and spot misleading extensions—without uploading a single byte.
Container & byte-layout notes
Because RTF uses plain brace-delimited groups (\fonttbl, \colortbl, \pict) without macros, macOS TextEdit uses .rtf (and .rtfd bundles) as its default rich-text format.
Extension mismatches & common pitfalls
Some legacy exporters write RTF bytes ({\rtf1…) directly into a file named .doc because Microsoft Word silently opens RTF disguised as .doc, whereas strict .doc parsers expecting OLE2 fail.
Which apps open RTF files?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | TextEdit, Pages, Microsoft Word, LibreOffice, Finder Quick Look |
| iPhone & iPad | Files Quick Look, Pages, Word |
| Windows | WordPad (Windows 10), Microsoft Word, LibreOffice |
Free local tools & related guides
- Check whether a file really is RTF
- Inspect raw bytes in the Hex Viewer
- Guide: What does a file extension mismatch mean?
- Guide: File Signatures & Magic Bytes Guide
Inspect files & folders natively
on Mac, iPhone & iPad.
The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.