Convert MAN to TXT

Turn MAN files into TXT. Plain text opening with the title and date, with each section heading and paragraph on its own line, tagged paragraphs indented below their tag, and examples and tables kept; font changes are dropped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MAN files on the dialor turn it to pick what to do

A manual page as plain text.The title and date come first, then the sections in order.

  1. What you get

    One TXT file. It opens with the title and the date of the page. Each section heading and each paragraph sits on its own line.

    Tagged paragraphs keep their shape: the text is indented below its tag. Examples and tables are kept.

  2. What it leaves behind

    Font changes are dropped. Bold and italic text come out as plain text, because TXT has no formatting at all.

    Pages written in the BSD mdoc macros keep only their running text. The rest of what those macros set up is not carried over.

MAN and TXT.What each format is.

The formats

From · MAN

Man Page

Unix manual pages in troff.

Extensions
.man
MIME type
text/troff
Kind
Text and data
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

In your code.The same MAN to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert report.man report.txt
$ cv convert report.man report.txt

Questions.What people ask about MAN to TXT.

01OF 04

Yes. Examples and tables from the man page are kept in the text.

Yes. The file opens with the title and the date, followed by the sections.

It becomes plain text. Font changes are dropped.

Only in part. Pages written in the BSD mdoc macros keep only their running text.

More conversions.Other ways in and out of MAN and TXT.