Nmap Command Builder

Build practical Nmap commands for authorised host discovery, port checks, service detection and reporting. Choose your target, scan style, ports and output format, then copy the generated command.

Use only on systems you own or are authorised to test. This builder intentionally focuses on normal discovery and admin troubleshooting options, not evasion, spoofing, brute force or exploit scripts.

Build your command

Generated command

nmap example.com
Tip: start with a small target and a basic scan. Add service detection or wider port ranges only when needed.

What the options mean

  • -sn checks which hosts appear up without scanning ports.
  • -p limits the scan to specific ports.
  • -sV attempts to detect service versions.
  • -sU performs a UDP scan, which can be slower.
  • -oN, -oX and -oA save output.

Common examples

Basic scan

nmap example.com

Check common web ports

nmap -p 80,443 example.com

Service detection

nmap -sV -p 22,80,443 example.com

Find live hosts

nmap -sn 192.168.1.0/24

Related tools and guides

Nmap Cheat Sheet Grep Command Builder Find Command Builder Search Logs for Errors Linux Cheat Sheets