RTF to TXT Converter

Paste RTF source and your browser strips out the formatting codes, leaving clean plain text.

Document Tools● Free No upload Instant

Loading RTF to TXT Converter…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

The RTF to Text Converter takes pasted RTF source and removes the control words, brace groups and braces, turning paragraph breaks into new lines and leaving the plain text. It is a quick regex stripper, not a full RTF parser, so it handles simple RTF well and may leave stray characters on complex files. It discards all formatting by design and runs entirely in your browser.

What the RTF to TXT Converter does

It pulls the readable words out of an RTF file's raw source, the markup that begins with a backslash-rtf header and is full of backslash commands and braces. You paste that source and get just the text.

It is built for when you only want the words. All fonts, colours, sizes and layout are dropped; the result is plain text.

How it works

RTF marks formatting with backslash control words and brace-delimited groups, while everything else is plain text. The tool turns the paragraph control word into a line break, then strips the control words, simple groups and leftover braces.

It works on the raw RTF you paste, in your browser, without uploading anything or loading a library.

Data source & conversion logic

  1. Paste the RTF source. Paste the raw RTF: the text that starts with the backslash-rtf header, not a rendered document.
  2. Convert paragraph breaks. It turns the RTF paragraph control word into a real line break.
  3. Strip control words and groups. It removes simple brace groups and the backslash control words that carry the formatting.
  4. Clean up. It deletes any leftover braces and collapses long runs of blank lines, leaving trimmed plain text.

What it strips

\par → becomes a line break \word → control words removed { ... } → simple control groups removed { } → leftover braces removed
Worked example
'\b bold\b0 and \i italic\i0' → 'bold and italic'

It strips the backslash codes and keeps the text between them; all formatting is discarded by design.

Privacy

Your browser converts the RTF to text. The tool does not upload, store or log anything you paste.

There is no account or history; closing the tab clears your text.

Technical details

MethodRegex strips control words, groups and braces
Paragraph breaksThe RTF paragraph control word becomes a line break
FormattingAll dropped (plain text out)
Real RTF parser?No, it is a quick stripper
Best forSimple RTF source
Processing100% in-browser

Standards & references

  • Rich Text Format (RTF): a Microsoft document format (developed 1987-2008, final spec 1.9.1). It is 7-bit ASCII text in which backslash control words and brace groups carry the formatting and everything else is plain text.
  • Control words and groups: a control word begins with a backslash; brace-delimited groups define scope. Readers are expected to ignore control words they do not recognise, which is in effect what this stripper does.

Accuracy and limits

It is a naive regex stripper, not a full RTF parser. It removes backslash control words, simple brace groups and braces, and turns paragraph breaks into new lines.

It works well on simple, mostly-ASCII RTF. Complex files can leave artifacts: nested destination groups, font, colour and stylesheet tables, embedded images or objects, and unicode escape sequences may leave stray characters or drop text.

It discards all formatting on purpose, so bold, italics, fonts, colours and layout are gone. The output is plain text only.

Paste the RTF source itself (the text beginning with the backslash-rtf header). A rendered document copied from a word processor is not RTF markup and will pass through largely unchanged.

Where people use it

Salvaging text from RTF

Pull the words out of an RTF snippet when you do not have an app that opens it.

Cleaning copied RTF

Strip the markup from RTF copied out of an old application or email.

Quick RTF to plain text

Get plain text fast without launching a word processor.

Prepping text for re-use

Drop formatting before pasting the words into a plain-text field or code.

When it fits, and when it doesn't

Good for

  • Simple RTF source to plain text
  • Quick text salvage from RTF markup
  • Dropping all formatting
  • A fast check without a word processor

Not the best choice for

  • Complex RTF with tables, images or many groups
  • Preserving any formatting
  • Non-Latin text stored as unicode escapes
  • A .rtf file you have not opened as raw text

For a real document, open the .rtf in a word processor and Save As plain text; for a Word .docx file, use the Word to Text Extractor.

Frequently asked questions

What does the RTF to text converter do?
It removes the RTF control words, brace groups and braces from pasted RTF source, turns paragraph breaks into new lines, and returns the plain text.
Is it a full RTF parser?
No. It is a quick regex stripper. It handles simple RTF well but can leave stray characters on complex files with tables, images or deep nesting.
What do I paste in?
The raw RTF source: the text that starts with the backslash-rtf header and is full of backslash commands and braces, not a rendered document.
Does it keep any formatting?
No. All formatting is discarded by design. The output is plain text only.
Why is there leftover gibberish in my result?
Complex RTF, with font or colour tables, embedded objects, nested groups or unicode escapes, is more than a simple stripper can handle, so some markup can slip through.
How are paragraphs handled?
The RTF paragraph control word is converted to a line break, so paragraph breaks are preserved as new lines.
Does it handle non-English text?
ASCII text comes through fine. Characters stored as RTF unicode escape sequences may not be decoded and can be lost or garbled.
Can it convert a .rtf file directly?
It works on pasted source. Open the .rtf in a plain-text editor, copy the raw markup, and paste it in.
Is my text uploaded?
No. The conversion runs in your browser and sends nothing to a server.
What is RTF anyway?
Rich Text Format is a Microsoft document format from 1987 to 2008. It stores formatting as backslash control words and brace groups, with everything else as plain text.
What is the best way to convert a complex RTF document?
Open it in a word processor and use Save As to export plain text, which uses a full parser rather than a stripper.
Is it free?
Yes. The RTF to TXT Converter has no sign-up and no usage cap.

References

Checked against this tool's own code: it uses regular expressions to turn the paragraph control word into a line break and to remove control words, simple groups and braces. That makes it a stripper for simple RTF, not a full parser.

Popular

CSV to JSON Converter

CSV rows become a JSON array, keyed by the header row.

DocumentOpen
Popular

JSON to CSV Converter

Flatten a JSON array of objects into CSV columns.

DocumentOpen
Trending

Markdown to HTML

Turn everyday Markdown into clean HTML in your browser.

DocumentOpen

CSV to Excel Converter

Pasted CSV becomes a real .xlsx, with leading zeros kept.

DocumentOpen

Excel to CSV Converter

Pull the first sheet of a workbook out as plain CSV.

DocumentOpen

Excel to JSON Converter

Each spreadsheet row becomes a JSON object keyed by the header.

DocumentOpen

Back to the RTF to TXT Converter

The file never leaves your computer, and you don't need an account.