RTF to HTML
Nothing you choose here leaves your browser, and nothing is downloaded to make it work. An RTF is plain text with control words in it, so there is nothing to unzip and no library to fetch.
A complete web page out of a format from 1987.
Headings, emphasis, code, links, tables and both kinds of list come across. The interesting part is where that information lives: a heading in an RTF is not a style, it is a paragraph carrying \outlinelevel0; code is not marked at all except by being in a font the font table describes as monospaced; and a link is a field with its address in one group and its words in another.
What RTF is, and why it needs no library
Rich Text Format is text with control words in it:
\b starts bold, \par ends a paragraph, and
braces group things so that formatting inside a group stays inside it.
Microsoft published it in 1987 and stopped developing it in 2008, and it
is still what a great deal of software exports when it wants formatted
text that everything can open. Open one in a text editor and you can read
it.
What makes it harder than it looks is that a lot of the
file is not content — the font table, the colour table, the list
definitions — and a group beginning {\*\ means
“ignore this entirely if you do not understand it”. A reader
that does not honour that marker prints list templates into the middle of
your document. The font table, though, has to be read even though it is
not content: it is the only place that says which font number is
monospaced, and that is the only way code is marked in an RTF.
How it is checked, in both directions
Against pandoc, which reads RTF and writes it. So the reader here is measured against pandoc's reading of a file pandoc wrote, and the writer is measured by handing its output to pandoc and asking what pandoc reads back. That second half found two real faults that no round trip against itself could have: a Unicode escape written in a form that is legal and that pandoc misreads, and a numbered list that no reader can tell is numbered unless the file also carries a list table.
What it will not do
It will not give you back a quotation as a quotation. That is the format, not the tool: an RTF stores a quotation as a paragraph with a bigger left indent, and stores an indented paragraph as a paragraph with a bigger left indent. Nothing in the file tells them apart, and pandoc reads them the same way.
It does not open .doc, which is a different thing entirely
— a compound binary document rather than text — and it says so
rather than producing nonsense. It does not carry tracked changes,
comments or footnotes. And there is no RTF to PDF here,
for the same reason there is none anywhere on this site: that is
typesetting, not conversion, and something would have to choose your page
size, your margins and where every break falls.
Where to go next
- RTF to TXT — another way through RTF
- RTF to Markdown — another way through RTF
- HTML to RTF — the other way round