What is Ndiff?
Ndiff is made by Nmap Project. A command-line utility to compare two Nmap XML scan outputs and report differences in host and port states, service versions, and OS detection.
What Ndiff does
A command-line utility to compare two Nmap XML scan outputs and report differences in host and port states, service versions, and OS detection.
- Compare two Nmap XML output files
- Detect hosts that have come up or gone down
- Identify ports that have opened, closed, or filtered
- Highlight changes in service version detection
- Report differences in OS detection fingerprints
- Support human-readable text diff output
- Generate machine-readable XML diff output
- Verbose mode to display unchanged hosts and ports
Category: Penetration Testing Tools. Ndiff is open source and free to use.
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does Ndiff do?
A command-line utility to compare two Nmap XML scan outputs and report differences in host and port states, service versions, and OS detection.
How common is Ndiff in large enterprises?
Samplify finds Ndiff in about 1 in 10 of the large enterprise software estates it has analysed.
Is Ndiff free?
Ndiff is open source and free to use.
What can replace Ndiff?
Other tools in the same category include Nmap, Npcap, Advanced Port Scanner, Burp Suite.
Do we already own something that does what Ndiff does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Nmap Project.