Open files in VS Code and Cursor / Docs and diagrams

Read an RTF file in VS Code

VS Code opens an .rtf file as its source, full of control words such as \par and \cell. Install the free RTF Viewer and click the file again. It opens as a read-only page with fonts, colors, tables, pictures, headers and footers, plus search, an outline, zoom and dark mode. No Word or LibreOffice is needed, and nothing leaves your computer.

Install in VS CodeMarketplace pageOpen VSX (Cursor, Windsurf, VSCodium)JetBrains IDEs

Free, MIT license. Extension ID zovo.zovo-rtf-viewer, version 0.2.1. Needs VS Code 1.90.0 or newer.

Also free from Zovo: DOCX Viewer & ODT Viewer, VS Code Marketplace · Open VSX (Cursor, Windsurf).

A clinical adverse events table from an RTF file in RTF Viewer, dark theme, with merged column headers, the page header and the toolbar with Outline, Find, zoom, Page view, Copy text, Export HTML and Open as Text
A clinical adverse events table from an RTF file in RTF Viewer, dark theme, with merged column headers, the page header and the toolbar with Outline, Find, zoom, Page view, Copy text, Export HTML and Open as Text.

Steps in VS Code

  1. Install RTF Viewer from the Marketplace, or press Ctrl+P (Cmd+P on macOS) and run ext install zovo.zovo-rtf-viewer.
  2. Click any .rtf file in the Explorer. It opens in RTF Viewer.
  3. Press Ctrl+F (Cmd+F on macOS) to search. Enter and Shift+Enter move between matches.
  4. Click Outline to jump to a heading. Switch between Page view (the paper width of the document) and Flow view (the editor width).
  5. Pick Auto, Light, Dark or Invert page colors. Click "Open as Text" to see the RTF source.

Steps in Cursor, Windsurf or VSCodium

  1. Open the Extensions view with Ctrl+Shift+X (Cmd+Shift+X on macOS).
  2. Search for zovo.zovo-rtf-viewer and click Install. Cursor, Windsurf and VSCodium install from Open VSX, where it is published as zovo/zovo-rtf-viewer.
  3. If your editor has no gallery, download the .vsix from the Open VSX page and run "Extensions: Install from VSIX...".
  4. Then use it the same way as in VS Code.

What RTF Viewer handles

What it does not do

In JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, CLion and others)

Other options

Install counts and Open VSX status were checked on 9 November 2026. Descriptions in quotes are the extensions' own.

Questions

Can I edit an RTF file with this?

No. RTF Viewer is read-only. Edit the text in Word, LibreOffice Writer or TextEdit, or edit the RTF source as text in VS Code.

Will my R or SAS tables look like they do in Word?

Merged cells, borders, shading, spanning headers and repeated page headers are drawn, and the view reloads when your program writes the file again. Floating text boxes and drawing shapes are the main gap.

Does it send the file anywhere?

No. The viewer page blocks every network request, and the extension makes none. It has no telemetry.

More about RTF Viewer

Read the RTF Viewer page for every feature and setting, or the source code on GitHub.

Support this work

If this extension saves you time, you can support the work on GitHub Sponsors. Monthly tiers start at $5, and one-time tiers start at $15. Sponsorship is optional, and the tool works the same without it.

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.