Works on this device
Email Text Cleaner
Paste the text of an email or a whole thread to take out what replies add: > quote marks, "On … wrote:" lines, signatures and lines broken in the middle of a sentence. Each step says how many lines it changed. You can also split a thread into its messages, or write an email address in a form that address collectors do not read. All of it happens in your browser.
Your email text
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Paste some text, or choose Try an example.
Result
How it was worked out
How to use the cleaner
- Paste the text in the box, or open a text file from your device. The result shows as you type.
- Tick the steps you want, or choose one job in the One job only menu.
- Read the counts: they say what each step changed. If a step took too much, turn it off.
- Choose Copy text or Download file.
What each step does
- Quoted lines: a line that starts with
>is a line of an older message. You can take off the marks and keep the words, or remove those lines. - Signature: a signature starts at a line that holds only two hyphens and a space (
--). That is the mark that mail programs use. Everything from that line to the next reply header, or to the end, is removed. - Reply and forward headers: lines such as
On Mon, Jan 5, 2026 at 10:02 AM Jo Example wrote:,-----Original Message-----,Begin forwarded message:, a long line of underscores, and a block of lines that starts withFrom:and goes on withSent:,To:orSubject:. - "Sent from" lines: short lines such as
Sent from my phoneorGet Outlook for Android. - Disclaimer: type the words that start it, for example
Confidentiality notice. Everything from the first line with these words to the end is removed. Capital and small letters count as the same. - Join broken lines: old mail programs break lines at about 72 characters. A line is joined to the next when it is long (60 characters or more, or the number you set) or ends with a space. A short line, an empty line, a list item, a quoted line and a header keep their line break.
- Tidy: spaces at the end of a line are removed, several spaces inside a line become one, and several empty lines become one.
Worked example
The example on this page is a reply of 20 lines: four lines of new text, a signature under a -- line, a Sent from my phone line, an On … wrote: line and six quoted lines.
With the starting choices the result has 11 lines. The quote marks are taken off 6 lines. The signature step removes 7 lines: the mark, the three signature lines, the "Sent from" line and the empty lines between them, because they stand before the next header. The header step removes 1 line. Tidying trims 1 line and removes 1 empty line.
As a thread, the same text gives 2 messages. The second one is named: from Jo Example <jo@example.com>, date Mon, Jan 5, 2026 at 10:02 AM.
Hide an email address on a web page
An address in the source of a web page is easy to collect for spam. The third choice in the menu writes your address in three forms: an HTML link in which each character is a number (a character reference), the address in words such as hello [at] example [dot] com, and a small script that puts the link together in the browser.
This lowers the amount of spam, but it is not strong protection. A collector that reads the page as a browser does still finds the address. A contact form protects it better.
Limits you should know
- The cleaner works on plain text. It does not read a raw email file with its technical headers and encoded parts, and it does not read HTML. For HTML, use the Email Plain Text Converter first.
- Reply headers are found in English forms only. A header in another language stays.
- A signature is found only by its
--line. A name and a phone number with no such line look like any other text, so they stay. - A line of your own text can look like a header or a quote, for example a line that starts with
>. Read the result before you use it. - Joining lines is a guess from the length of a line. A poem, an address or a table can lose line breaks: leave the step off for those.
- The thread view splits at headers. Older messages that are marked only with
>and have no header stay in one message. - Links are not changed. This page does not remove tracking parts from links.