Footprinting, Penetration Testing, Reconnaissance

IPGeoLocation 1.5 released

A tool to retrieve IP Geolocation information from


Python 3.x


  • Retrieve Geolocation of IP or Domain.
  • Run program with no arguments to get your IP Geolocation.
  • Retrieve Geolocation of multiple IPs or Domains loaded from file. Each target in new line.
  • Define your own custom User Agent string.
  • Proxy support.
  • Pick a random User-Agent string from file. Each User Agent string in new line.
  • Open IP geolocation in Google Maps using the default browser.
  • Export results to csv, xml and txt format.

Geolocation Information

  • ASN
  • City
  • Country
  • Country Code
  • ISP
  • Latitude
  • Longtitude
  • Organization
  • Region Code
  • Region Name
  • Timezone
  • Zip Code



Retrieve your IP Geolocation


Retrieve IP Geolocation

./ -t x.x.x.x

Retrieve Domain Geolocation

./ -t

Custom User Agent string

./ -t x.x.x.x -u "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko"

Using Proxy

./ -t x.x.x.x -x

Pick User Agent string randomly

./ -t x.x.x.x -U /path/to/user/agent/strings/filename.txt -r

Retrieve IP geolocation and open location in Google maps with default browser

./ -t x.x.x.x -g

Export results to CSV file

./ -t x.x.x.x --csv /path/to/results.csv

Export results to XML file

./ -t x.x.x.x --xml /path/to/results.xml

Export results to TXT file

./ -t x.x.x.x -e /path/to/results.txt

Retrieve IP Geolocation of multiple targets

./ -T /path/to/targets/targets.txt

Retrieve IP Geolocation of multiple targets and export to xml

./ -T /path/to/targets/targets.txt --xml /path/to/results.xml

Download here