Convert TXT to MAN

Turn TXT files into MAN. A man page in roff with one paragraph per block of lines, keeping every line break and leading indentation.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Plain text as a man page.Each block of lines becomes a paragraph, with line breaks kept.

  1. What you get

    A MAN file written in roff. Each block of lines in the text becomes one paragraph in the page.

    Every line break stays where it was, and so does any indentation at the start of a line.

  2. What changes

    The page has no title and no section. You get the body text only, with no header for a manual page.

    Runs of spaces inside a line become one space. Text that relies on several spaces in a row to line up, such as columns or aligned notes, loses that spacing.

  3. Going the other way

    To turn a man page back into plain text, use MAN to TXT. For other conversions from this format, see every TXT conversion.

TXT and MAN.What each format is.

The formats

From · 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
To · MAN

Man Page

Unix manual pages in troff.

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

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

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

Questions.What people ask about TXT to MAN.

01OF 04

Yes. Every line break is kept, and so is the indentation at the start of each line.

No. The page has no title and no section.

A run of spaces inside a line becomes one space. Spaces at the start of a line are kept as indentation.

Each block of lines becomes one paragraph in the roff output.

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