nmap-formatter is a command-line tool that converts nmap XML scan results into HTML, CSV, JSON, Markdown, SQLite, Excel, Graphviz and D2 formats.