.RTF

RTF File

Rich Text Format Document
Ask a question
QUICK ANSWER

An RTF file is a Rich Text Format document -- a portable text file with basic formatting (bold, italic, fonts, colors, simple tables) that almost every word processor can open. Use Microsoft Word, LibreOffice Writer, or Google Docs to open it. On Windows 11, WordPad is gone, so LibreOffice or Word are the practical choices.

Developer: Microsoft Category: Text Files Open standard MIME: application/rtf
OPENS ON Windows macOS Linux Android iOS Web
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

19k+ extensions indexed
Last reviewed Jul 3, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RTF file format?

.rtf is a file extension used with text files. It was created by Microsoft in 1987 as a cross-platform document-sharing standard, now recognized by most text editors and word processors.

A document saved in .rtf format supports several formatting options, including underline, italic and bold type, different font colors and font styles. Each .rtf file can also hold embedded images or drawings. Because many word processors handle .rtf without altering the original formatting, files can be exchanged between different operating systems - such as Windows, macOS and Linux - without compatibility problems.

.rtf uses plain-text markup: every file opens with the literal ASCII characters {\rtf1, making it human-readable in a plain text editor and distinguishing it from binary formats such as .DOC or .DOCX. Formatting instructions are expressed as control words - backslash-prefixed keywords like \b for bold or \fs24 for a 24-point font size - enclosed in nested brace groups.

.rtf documents support ANSI, PC-8, Macintosh, IBM PC and Unicode character sets (Unicode support was added in version 1.6). Microsoft stopped developing .rtf in 2008 with specification version 1.9.1, but the format remains widely supported across platforms. On Windows, the default filename when creating a new file is New Rich Text Document.rtf.

Security & safety

RISK: LOW

A plain RTF carries no macros, so unlike .doc/.docm it cannot run embedded VBA - that makes it relatively safe and is one reason it's used for interchange. The real, documented risk is at the PARSER level: maliciously crafted RTF files have historically been used to exploit vulnerabilities in Microsoft Word's RTF reader (e.g. embedded OLE objects, remote-template/'objupdate' tricks, and memory-corruption bugs), making RTF a recurring email-attachment attack vector. So treat an unexpected .rtf attachment with the same caution as any document: don't open it from untrusted senders, keep Office patched, and consider opening unknown ones in Google Docs/LibreOffice where Word's RTF engine isn't involved.

Format details

in a nutshell
FULL NAMERich Text Format Document
DEVELOPERMicrosoftsince 1987 (RTF 1.0, Microsoft); last specification version 1.9.1 in 2008
CATEGORYText Files
MIME TYPEapplication/rtf
TYPEPlain-text markup document with formatting control words (text)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405
HEX
7B5C72746631
ASCII
{\rtf1
RTF is a TEXT format: every file begins with the ASCII characters {\rtf1 (open brace, backslash, "rtf", version digit 1). Because it is human-readable markup, you can open an .rtf in a plain text editor and see the control words. There is no binary signature beyond this literal opening string.

Programs that open RTF files

Windows4 apps
WordPad Built-in Built-in on Windows 10 and earlier (it was the default RTF editor). NOTE: removed from Windows 11 24H2 (2024) - not available on current Windows.
Microsoft Word Paid Double-click to open and edit; File > Save As to keep RTF or export to DOCX/PDF. Highest-fidelity option.
LibreOffice Writer Open-source Free, full word processor; open the .rtf to read/edit and Save As RTF, DOCX or PDF. The best free desktop choice.
WPS Office Writer Freemium Free Word-like editor; opens and edits .rtf with a familiar ribbon UI.
macOS3 apps
TextEdit Built-in Built into macOS and uses RTF as a native format; double-click the .rtf to view and edit.
Apple Pages Free Free on Mac; File > Open imports the .rtf, and you can export to PDF or Word.
LibreOffice Writer Open-source Free alternative; open and edit the .rtf, save back as RTF/DOCX/PDF.
Linux1 app
LibreOffice Writer Open-source Pre-installed on most distros; double-click to open and edit .rtf, export to PDF/DOCX.
Android2 apps
OfficeSuite Freemium Opens and edits .rtf on Android (the old 'OfficeSuite Viewer/Professional' is now just OfficeSuite).
WPS Office Freemium Free Android office app; opens .rtf to view and edit.
iOS1 app
Apple Pages Free Free on iPhone/iPad; opens .rtf and can export to PDF or Word.
Web1 app
Google Docs Free Upload the .rtf to Google Drive and open with Google Docs to view/edit; download as DOCX or PDF afterwards.

Technical details

deep spec
MIME typeapplication/rtf
File signature`{\rtf1` at byte offset 0 - a literal ASCII string, not a binary magic number
Format typePlain-text markup; control words are ASCII keywords prefixed with a backslash (e.g., `\b` for bold, `\fs24` for 24 pt font size)
Group delimitersNested groups enclosed in `{` `}` braces; the entire document is wrapped in one top-level group
Character set supportANSI, PC-8, Macintosh and IBM PC code pages; Unicode via `\u` control word, added in version 1.6
Font handlingFonts declared in a `\fonttbl` group and referenced by numeric index throughout the document
Color modelRGB values listed in a `\colortbl` group; text and background colors referenced by table index
Image embeddingImages stored as hex-encoded data in `\pict` groups; supported formats include WMF, EMF, BMP, JPEG and PNG
Table supportTables defined row-by-row using `\trowd`, `\cellx` (column widths) and `\cell` control words
MetadataDocument information stored in an `\info` group: title, author, subject, keywords, creation and revision dates
OLE object embeddingSupports embedded OLE objects via the `\object` group - a documented historic attack surface exploited by malware
Paragraph formattingIndents, alignment, line spacing and tab stops set by `\pard` and related control words; `\pard` resets all paragraph properties to default
Binary data encodingBinary content such as images is represented as a sequence of hexadecimal digit pairs within `\pict` groups, keeping the file entirely human-readable
CompressionNone natively; hex-encoding of binary data makes `.rtf` files considerably larger than equivalent [.DOCX](/format/docx) files
Released1987 (RTF 1.0, Microsoft); last specification version 1.9.1 in 2008
Open standardYes · royalty-free
Specificationlearn.microsoft.com

RTF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RTF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RTF files.

Frequently asked questions

How do I open an RTF file?
Almost any word processor opens it: Microsoft Word, the free LibreOffice Writer, Apple TextEdit/Pages, WPS Office, or Google Docs in a browser. On older Windows, WordPad opened RTF by default.
How do I open RTF on Windows 11 now that WordPad is gone?
Microsoft removed WordPad in Windows 11 24H2 (2024). Use Microsoft Word, the free LibreOffice Writer or WPS Office, or upload the file to Google Docs - all open and edit .rtf.
How do I convert an RTF to PDF or Word (DOCX)?
Open the .rtf in Word, LibreOffice Writer or Google Docs and choose Save As / Export / Download - pick PDF for a fixed copy or DOCX to keep editing in Word.
What is the difference between RTF and DOCX?
RTF is older, plain-text markup that any program can read but with limited features and no macros; DOCX is Word's modern ZIP/XML format with full features. RTF wins on universality and safety; DOCX on capability.
Why does my RTF show codes like \rtf1 and \b?
You opened it in a plain text editor (like Notepad), which shows the raw RTF markup. Open it in a word processor (Word, LibreOffice, TextEdit) instead to see the formatted document.
Is an RTF file safe to open?
A normal RTF has no macros and is generally safe, but crafted RTF files have been used to attack Word's RTF reader. Don't open .rtf attachments from unknown senders, keep Office updated, or open suspicious ones in Google Docs/LibreOffice.

References

1Microsoft - Rich Text Format (RTF) Specificationlearn.microsoft.com
2Microsoft Support - WordPad is being removed from Windowssupport.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.BINCD/DVD Disc Image (BIN/CUE)
4.DATProgram Data File (generic)
5.PARTPartial Download File
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.TXTPlain Text File
10.MDMarkdown Document

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.DOCXMicrosoft Word Open XML Document
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z