Ping any URL with http-ping

Ping any URL or web site with our free command-line utility, http-ping

Easily find out if your web site is responding and how it is performing

http-ping is a small, free, easy-to-use Windows command line utility that probes a given URL and displays relevant statistics. It is similar to the popular ping utility, but works over HTTP/S instead of ICMP, and with a URL instead of a computer name/IP address. http-ping supports IPv6 addresses.

(http-ping at work - click to enlarge)

For each request, http-ping displays:

  • The HTTP return code (and its brief textual description)
  • The number of bytes returned by the server (excluding headers)
  • The time taken to complete the request (i.e. round-trip time)
A summary of all the requests is presented upon completion.

Command-Line Options

http-ping offers a rich set of command line options which can be seen by running "http-ping.exe /?" from a DOS prompt:

http-ping [-t] [-n count] [-i interval] [-f file-name] [-s] [-v]
          [-q] [-c] [-r] [-w timeout] [-p] [-d] [-o data | -of file-name]
          [-ua user-agent] [-h header-line] [-e] [-ipv4 | -ipv6] URL

    URL            The URL you wish to check. For example,,
         , or http://www.yourhost:8080.
                   Be sure to surround an IPv6 address with square brackets. For
                   example, http://[2a00:1450:4007:800::1014].

    -t             Ping the specified URL until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -n count       Send 'count' requests. Supercedes -t.
    -i interval    Wait 'interval' seconds between each request. There is a
                   1-second wait if this option is not specified.
    -f file-name   Save responses to file 'file-name'. Please specify the full
                   path, and use quotes around file names with spaces.
    -s             Silent. Print no output.
    -v             Verbose. Print detailed output. Supercedes -s.
    -q             Quick. Perform HTTP HEAD requests instead of GETs. This will
                   retrieve headers only, and bytes reported will be 0.
    -c             Perform a full connection on each request; ignore keep-alive.
    -r             Follow HTTP redirects.
    -w timeout     Wait 'timeout' seconds for a response before timing out.
                   Specify 0 to avoid timing out.
                   If not specified, the default timeout is 30 seconds.
    -p             Use the proxy defined in the Windows Internet settings.
    -d             Print the date and time of each ping attempt.
    -o data        Perform HTTP POSTs sending the given data. Please enclose
                   the data in quotes if it contains spaces.
    -of file-name  Perform HTTP POSTs sending the contents of file 'file-name'.
                   Please specify the full path, and use quotes if the file name
                   contains spaces.
    -ua user-agent Set the User-Agent value to 'user-agent'. Please use quotes
                   if the value contains spaces.
    -h header-line Pass the given header line as-is in each ping request. For
                   example, add a host header like this:
                   -h \"Host:\"
                   Be sure to surround the header-line with quotes. You can
                   specify multiple instances of this option.
    -e             Instead of returning the percentage of requests that
                   succeeded, return the HTTP status code of the last request,
                   or 0 if the last request failed.
    -ipv4          Force IPv4 resolution for dual-stacked sites.
    -ipv6          Force IPv6 resolution for dual-stacked sites.

Upon completion, the exit code is the percentage of requests that succeeded, or with the -e flag, the HTTP status code of the last request (or 0 if the last request failed). In a DOS batch file, you can access that exit code via the ERRORLEVEL variable (as seen here in this sample batch file used with our run as a Windows Service product, AlwaysUp).


Download http-ping Version 8.0 New!

664 KB EXE
  • Ready-to-run - no installation
  • Windows 8.1/8/7/Vista/XP and Windows Server 2012/2008 R2/2008/2003 supported

Our customers include...