Document Tools
RTF To Markdown
Convert any RTF document to clean Markdown in your browser. rtf.js renders the document to HTML and Turndown.js formats it as Markdown. Your file never leaves your device.
📃
Drop your .rtf file here or click to browse
Supports Rich Text Format files (.rtf) from any application
Uses # ## ### prefix syntax
Character used for unordered list items
Delimiter used for fenced code blocks
Upload a .rtf file to begin conversion. Drag and drop is supported.Idle
Upload a .rtf file and click Convert to Markdown to see the output here.
How to use the RTF to Markdown Converter
Click Browse File or drag and drop a .rtf file onto the upload area to load it. Only .rtf format is supported
The conversion uses a two-step chain. rtf.js first parses and renders the RTF document into DOM elements, which are then serialized to HTML. Turndown.js then converts that HTML into standard Markdown
rtf.js, Turndown.js, and the GFM plugin are loaded from a CDN on first use and cached for subsequent conversions in the same browser session
WMFJS and EMFJS are also loaded as companion bundles required by rtf.js to handle Windows Metafile and Enhanced Metafile graphics inside RTF documents
Choose a Heading Style. ATX uses hash prefix syntax which is the most widely supported format. Setext underlines H1 and H2 only
Choose a Bullet Character for unordered list items in the Markdown output. Dash is the most common but asterisk and plus are also valid
Choose a Code Fence delimiter. Backticks are the GitHub Flavored Markdown default. Tildes work in environments where backticks cause issues
Click Convert to Markdown to run the conversion. The first conversion loads the libraries which takes a moment. Subsequent conversions in the same session are significantly faster
Bold, italic, underline, headings, bullet lists, numbered lists, hyperlinks, and code blocks from the RTF document are all mapped to the correct Markdown equivalents
The GFM plugin extends Turndown with GitHub Flavored Markdown support, enabling proper pipe table formatting when tables are present in the RTF document
The HTML Intermediate tab shows the raw HTML that rtf.js produced before Turndown.js processed it, which is useful for debugging any formatting issues
The Document Info tab shows the word count, heading count, link count, and any RTF metadata such as author, title, and subject embedded in the file
Click Copy to Clipboard to copy the complete Markdown output or click Download .md File to save it with the same base name as the original RTF file
Your .rtf file is read entirely in the browser using the File API. It is never uploaded to any server at any point during the conversion process



