Man Page to HTML Converter - Unix Documentation Tool
Convert Unix man pages to HTML with groff formatting, sections, and code examples. Perfect for DevOps docs, system administration, CLI tool documentation.
Note: First conversion initializes Pandoc WebAssembly (~55MB). Subsequent conversions are instant.
Drop man page file here or click to browse
Accepts .man, .1-.8, .txt filesEnter man page source to see preview
Common Man Page Macros
| Macro | Description | Example |
|---|---|---|
.TH | Title header (name, section, date, version, manual) | .TH GREP 1 "2025-01-01" "GNU Grep 3.0" |
.SH | Section heading (NAME, SYNOPSIS, DESCRIPTION, etc.) | .SH NAME |
.SS | Subsection heading | .SS Advanced Options |
.B | Bold text | .B \-\-verbose |
.I | Italic text | .I filename |
.TP | Tagged paragraph (option + description) | .TP followed by option and description |
.IP | Indented paragraph | .IP "•" 4 |
.BR | Bold then roman (alternating) | .BR ls (1) |
.nf/.fi | No-fill mode (literal text) / fill mode | .nf for code blocks, .fi to resume |
.RS/.RE | Relative start/end (indent) | .RS 4 (indent 4 spaces) |
Copied to clipboard