RTF Viewer & Rich Text Viewer (RTF Preview, Dark Mode)

RTF Viewer & Rich Text Viewer (RTF Preview, Dark Mode), a VS Code extension by Zovo

Open .rtf files in VS Code as a read-only page: fonts, colors, tables, pictures, headers and footers, with search, an outline, zoom and dark mode. Free, no sign-in, works offline. It sends nothing anywhere.

Install in VS CodeOpen the Marketplace page

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

A clinical RTF table open in RTF Viewer in VS Code, dark theme, with the page header and the toolbar

Questions people ask

Is RTF Viewer & Rich Text Viewer (RTF Preview, Dark Mode) free?

Yes. RTF Viewer & Rich Text Viewer (RTF Preview, Dark Mode) is free and MIT licensed.

How do I install RTF Viewer & Rich Text Viewer (RTF Preview, Dark Mode)?

Click "Install in VS Code" above, or search for zovo.zovo-rtf-viewer in the Extensions view.

Why this one

Features

Reading:

Finding things:

Working with the file:

Search hits in a Word-style report, Page view, dark theme
Light theme: a TextEdit table, the outline and the page view

Large files

The file is read in a background thread, so VS Code stays responsive. The first part of the document shows while the rest is still being read, with a progress line. In our test, a 52 MB RTF with 100 pictures showed its first page in about a second, and a 400-page document opened in under 2 seconds (see CHANGELOG for the measured numbers). Files over 200 MB ask first (rtfViewer.maxFileSizeMB). Pictures over 20 MB become a labelled box (rtfViewer.maxImageSizeMB).

Settings

SettingDefaultWhat it does
rtfViewer.themeautoPage colors: auto, light, dark, invert
rtfViewer.viewpagepage or flow
rtfViewer.zoom10.3 to 4
rtfViewer.maxFileSizeMB200Larger files ask before they open
rtfViewer.maxImageSizeMB20Larger pictures become a box
rtfViewer.liveReloadtrueReload when the file changes on disk
rtfViewer.askForRatingtrueOne rating question after real use, at most twice, never after an error
rtfViewer.showSupportLinkstrueThe small Sponsor and More free viewers links

Known limits

Privacy

The viewer has no network access: the webview's content security policy blocks every request, and the extension makes none. Settings and the rating state stay in VS Code.

License

MIT. Third-party code is listed in THIRD-PARTY-NOTICES.md.

Guides

Install RTF Viewer & Rich Text Viewer (RTF Preview, Dark Mode)

Click the button to open VS Code and install it, or press Ctrl+P (Cmd+P on macOS) in VS Code and run ext install zovo.zovo-rtf-viewer.

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

Source code and issues are on GitHub.

All our VS Code extensions

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.