Convert MAN to HTML

Turn MAN files into HTML. A standalone page titled from the TH line, with the sections as headings, tagged paragraphs as definition lists, bold and italic fonts, examples as code and tables kept; the section number and the header and footer fields are not shown.

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 a web page.The sections become headings, and the page gets its title from the TH line.

  1. What you get

    One standalone HTML page. Its title comes from the TH line, and each section of the manual page becomes a heading.

    Tagged paragraphs, such as option lists, become definition lists. Bold and italic fonts stay bold and italic. Examples are set as code, and tables are kept.

  2. What it leaves behind

    The section number and the header and footer fields from the TH line are not shown on the page.

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

  3. Going the other way

    To turn a web page back into a manual page, use HTML to MAN. For other formats, see every MAN conversion.

MAN and HTML.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 · HTML

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
Kind
Text and data

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

terminal
$ cv convert report.man report.html
$ cv convert report.man report.html

Questions.What people ask about MAN to HTML.

01OF 04

It comes from the TH line of the manual page.

No. The section number and the header and footer fields are not shown.

Tagged paragraphs become definition lists, so each tag stays paired with its text.

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 HTML.