Browser-based document converter · RTF to DOCX

RTF to Word Converter

Reads Rich Text Format control words directly and writes a .docx that keeps bold, italic, colours, sizes, lists and tables.

Input

Rich Text files (.rtf), up to 25MB

Drop your RTF file here or click to choose

.rtf

Files are read and converted on your device. Nothing is uploaded, and the result is yours to download or open in the Word editor.

Result

DOCX file, ready to download or edit

Choose a file to see the DOCX result here.

RTF to Word Converter

Operator: Abdulla Al Fahad. How tools are built and checked

Rich Text Format is the plain-text document format Microsoft published in 1987, and it is still what TextEdit on the Mac, WordPad on older Windows PCs and many databases, legal systems and mail clients produce. Word opens RTF, but the people you send files to increasingly do not, and online portals often reject anything that is not .docx. The RTF to Word Converter reads the RTF control words directly and writes a modern Word file with the same bold, italic, colours, sizes, lists and tables.

Two kinds of RTF arrive here. Files saved by Word carry heading styles, outline levels and list definitions, and those convert one-to-one. Files from TextEdit, WordPad and record-management systems carry none of that: a title is simply a short bold paragraph in a larger size. For those files the converter infers headings from size and weight, so the Word document still gets a navigable structure, and the preview lets you check its guesses before you download.

Key features

  • Group-scoped parsing of bold, italic, underline variants, strikethrough, text colour, highlight and half-point font sizes.
  • Word outline levels and heading styles become Word headings; files without them get headings inferred from bold, larger paragraphs.
  • Bulleted and numbered lists with nesting from \listtext, \pntext, \ls and \ilvl, and tables from \trowd, \cell and \row.
  • HYPERLINK fields become clickable links; \u escapes and \'hh bytes are decoded with the declared code page, including Chinese, Japanese, Korean and Cyrillic pages.
  • Counts skipped pictures and drawings so you know what to add back.

What the RTF reader understands

An RTF file is a tree of groups in braces containing control words such as \b for bold, \fs24 for a 12-point size (sizes are in half-points), \par for a paragraph break and \ul for underline. The parser walks that tree keeping a formatting state per group, so a bold run that ends with a closing brace ends exactly where Word would end it. It understands \pard, \ql, \qc, \qr and \qj for alignment, \li for indents, \cf and \highlight for colours looked up in the colour table, \line for a line break and \tab, \emdash, \endash, \lquote, \rquote, \ldblquote, \rdblquote and \bullet for special characters.

Headings are taken from Word's \outlinelevel codes and from the stylesheet, where style names such as heading 1, Title and Subtitle are mapped to Word heading levels. When a file has neither, a paragraph of up to 120 characters that is entirely bold and at least 15% larger than the body size becomes a heading, with the level chosen from how much larger it is. Lists are recognised from the \listtext or \pntext groups and the \ls and \ilvl codes; numbered markers such as 1. or a) give numbered lists, anything else gives bullets. Tables come from \trowd, \cell and \row, with nested tables flattened into their parent cell. HYPERLINK fields become Word hyperlinks.

Non-ASCII text is handled through \u Unicode escapes, including surrogate pairs and the \uc fallback rule, and through \'hh byte escapes decoded with the document's code page (\ansicpg), including the double-byte pages used for Chinese, Japanese and Korean. Font tables are not applied, so every run uses the output default font and a monospace font in the source does not survive. Pictures, drawing shapes, embedded objects, headers, footers, footnotes, comments and hidden text are skipped; pictures and shapes are counted into a warning.

How it works

The file is read as text and tokenised into groups, control words and literal characters. Destinations that do not contribute text, such as the font table, picture data, headers and footers, are skipped, while the colour table and stylesheet are read because later text refers to them. Each group pushes a copy of the current character and paragraph state, so formatting ends with the group that set it.

Text accumulates into formatted runs until a paragraph, cell or row control word closes the block. Paragraphs become headings, list items or ordinary paragraphs based on their state, table cells become table blocks, and when the file has no heading styles a final pass promotes short bold paragraphs that are clearly larger than the body text.

Common use cases

  • A Mac user who writes in TextEdit needs to send a document to a colleague who insists on .docx.
  • A legal or medical records system exports letters as RTF and they have to be filed as Word documents.
  • An author recovers manuscripts written in WordPad or an old word processor that only saved Rich Text.
  • A customer support team receives RTF attachments from a CRM and standardises them as Word files.
  • A localisation team gets RTF exports from a translation tool and needs them in Word for review.

How to use this tool

  1. Drop an .rtf file on the upload area.
  2. If the file came from TextEdit or WordPad, scan the preview for headings that were inferred and note any bold sentence that should stay body text.
  3. Read the warning about skipped pictures or drawings, if there is one.
  4. Download the .docx, or choose Edit in Word editor to fix fonts and heading guesses first.

Example

RTF source (abridged)

{\rtf1\ansi\ansicpg1252
{\stylesheet{\s1\outlinelevel0 heading 1;}}
\pard\s1\outlinelevel0\b\fs32 Project overview\par
\pard\plain\fs22 This is \b bold\b0  and \i italic\i0
 text with caf\'e9.\par
{\listtext\'b7\tab}\ls1 First point\par
{\field{\*\fldinst HYPERLINK "https://example.com"}
{\fldrslt Visit the site}}\par}

Word document structure

Heading 1: Project overview (16pt, bold)
Paragraph: This is [bold]bold[/bold] and [italic]italic[/italic] text with café.
Bullet: First point
Paragraph: [link https://example.com]Visit the site[/link]

Tips for best results

  • If the file came from Word, headings and list numbering convert directly. If it came from TextEdit or WordPad, check the preview: headings are inferred from size and bold, so a bold body sentence set in a larger font can be picked up as a heading.
  • Fonts are not carried over. Set the font in Word afterwards if the document must use a specific typeface.
  • RTF from databases is often one long paragraph per record. The Word editor is a convenient place to add headings and breaks after converting.
  • Cyrillic, Greek and East Asian text converts correctly when the file declares its code page, which Word, WordPad and TextEdit always do.

Edge cases to watch

Pictures, shapes and embedded objects are not converted. The parser skips the \pict and \shp groups, counts them, and the text flows as if they were absent.

Headers, footers, footnotes and comments are left out, because the converted document has a single text flow without page regions.

Font names are ignored, so code set in Courier New arrives in the default font, and symbol fonts such as Wingdings show their character codes rather than the symbols.

Superscript and subscript are flattened to normal text, which matters for footnote marks and chemical formulas.

Old-style numbered lists that do not use the modern list table are read as a single level; deeper levels are lost.

A file that does not start with {\rtf is rejected, so a .rtf that is really plain text, or an .rtfd package folder from the Mac, cannot be read. Open it in TextEdit and save it again as Rich Text.

Frequently asked questions

Why do the fonts look different in the Word file?

The RTF font table is not applied, so all text uses the Word default font unless the RTF set an explicit size. Sizes, colours and emphasis are kept; typefaces are not.

Why did a bold sentence become a heading?

Files without Word's heading codes, typically from TextEdit or WordPad, have headings inferred from short, bold, larger paragraphs. Change the style back to Normal text in the Word editor if the guess was wrong.

Can it read .rtfd files from TextEdit?

No. An .rtfd is a folder containing an RTF file and its images. Open it in TextEdit and use Save As with the Rich Text Format (.rtf) option, then convert that file.