Automagical Text Formatter

Suppose you have a load of text that is wrapped all wrong and you need to work with it but the formatting's gone to hell. (This often happens with mails, after the fourth indented reply or so) Drop it in this text box and hit the "AutoFormat" button, and we'll see what we can do, shall we? No promises, mind.

(This is just a CGI wrapper around Damian Conway's magical Text::Autoformat - click that link to see the full details of the wonderful things it does.)

Justify:
Case conversion:
Left margin: Right margin: