Skip to content

3 Effective Methods to Get Someone’s IP Address

How to get someone’s IP Address

There could be a number of reasons you want someone’s IP address. You might be trying to create a secure connection between two devices, or allow a certain device to join your company’s network. You might want to blacklist a device while remaining anonymous.

Whatever your reasons, there are a few ways you can get someone’s IP address. Whether you’re starting with an IP address and want to know the info associated with it or you want the IP address of a website, this guide explains how to do it.

What is an IP address?     

An IP address is a unique string of characters that identifies each device connecting to a network using the Internet Protocol (IP). Any time you use the internet, you need an IP address. Internet service providers (ISPs) are generally responsible for assigning these addresses for both homes and businesses.

Why do you need a unique identifier when you go online? The internet needs to know where to send your data when you request it. When you send a request to visit amazon.com, for example, the internet needs to know your IP address so it can send amazon.com’s information to your computer. Otherwise, nothing would show up on your screen!

IP addresses usually have other information associated with them, such as an ISP, hostname, country, region, or city. Sometimes, you might be able to find a street address or the IP address owner name with it, but that’s usually only for companies and organizations. Finding the name of a private individual based on their IP address involves some shady practices and could be a legal gray area.

The three ways we’ve explained below are legitimate methods to search and get information.

3 ways to find someone else’s IP address

Now that you know why they’re important, you can search for one. There are plenty of legitimate reasons why you might want to find one. You might want to blacklist a device that keeps connecting to your Wi-Fi network without your permission, for example.

There are three ways you can find an IP address and get the info that’s associated with it: using an IP lookup tool, checking the header of an email, or using the command prompt and ping.

1. IP lookup

One of the easiest methods for obtaining information about an IP address is by using an IP lookup tool. These tools are usually free and the only info you need to use one is the IP address itself. An IP lookup tool pulls information from Internet Service Providers’ (ISPs) databases, public IP blacklists, and proprietary databases.

With the IP lookup tool from WhatIsMyIPAddress.com, you can check any IPv4 or IPv6 address and get:

  • The name of the ISP
  • The IP’s hostname
  • Country, region, and city
  • Latitude and longitude
  • Known services running on that IP

You can rely on our IP lookup tool because we use info from IP2Location and IPBlock when fetching search results.

2. Email headers

An IP lookup tool works best when you already have an IP address and you want more information about it. If you already have a name but no address, then you’ll need another method. One way to find someone’s IP is by looking at the header of an email sent from them.

Checking the email header isn’t the most reliable way to find an IP address — usually only marketing emails contain an IP. Personal emails from friends or family almost never have one. Since marketing emails typically come from domains that have many email addresses, they have to implement a sender policy framework (SPF). The SPF is what helps you find the IP address.

Here’s how to use SPF to check for an IP address on a marketing email (we’ll use Gmail as an example):

  1.  Open the email and hover over the three dots in the top right corner. You’ll see the word more.
  2. Click or tap the three dots and then select Show original. A new page should open with the email header, containing rows for SPF, DKIM, and DMARC.
  3. If you see a string of numbers in the SPF field that’s formatted like this: 12.130.137.78, it’s the IP address for the email server that company uses to send you emails.
  4. Copy the IP address from the SPF field and paste it into an IP lookup tool to get more info about it.

3. Command prompt

You can use the command prompt on Windows (known as the Terminal for Mac) to find the IP address of a domain name. The below instructions are for Windows.

  1. Type command prompt or just cmd into the search box on the taskbar.
  2. Type ipconfig into the command prompt.
  3. You’ll see several lines showing you your IPv6 address, IPv4 address, Subnet Mask, Default Gateway, and other things.
  4. After you see these results, you can run the ping command for a domain name to find its IP address.
  5. Type ping followed by the name of the domain (for example, “google.com”) into the command prompt.
  6. In the results that come up, you’ll see an IP address in parentheses next to the domain name. This IP belongs to that domain name’s server (or one of its servers, if it has many).

These three methods are the simplest, most legitimate ways to find someone’s IP address. You may not end up finding a name or street address with these methods, and they will probably be more effective for companies or organizations than private individuals. 

FAQs

Is it illegal to find someone’s IP address?

It’s not illegal to search for someone’s IP address. It’s public information that is used on the internet, so there are no laws or regulations preventing you from looking for one. If, however, you are tracking them for the purposes of harassment or cyber crimes, then it’s illegal.

Can you find someone’s IP address on social media?

Yes, you can get someone’s IP address from social media, but you might need another tool to help you depending on which social media platform it is. You can use Facebook messenger/chat to find someone’s IP if you have a connection with them and they’re online.

Simply pull up your command prompt, type in “netstat-an” and press enter. Make sure your connection with the other user is active and that you’ve closed other windows or browser sessions on your computer. You don’t want to get addresses from those other windows or sessions in your results.

What does an IP grabber do?

An IP grabber is a third-party tool that generates a link for someone to click on so you can “grab” their IP address. As you can imagine, IP grabber tools such as Grabify have a pretty big privacy and security risk. The goal of these tools is to grab the address without them knowing about it, which is shady.

While using an IP grabber isn’t technically illegal, you could be breaking privacy laws if you take someone’s personal information without their consent. That’s why we don’t really recommend using an IP grabber to search. You should use one of the three methods discussed above (IP lookup; email headers; command prompt and ping) instead.

Get someone’s IP address — safely

Remember that if you can find information about someone else’s IP address, they can find yours too. Maintain some privacy online by using a virtual private network (VPN). That way, if someone does manage to track down the IP you’re using, it won’t be associated with you or any of your personal information at all.

You can check out our list and reviews of VPNs to find the best one for you. Using any one of them will help keep your information safer and more private. And you can read more about how people can spy on your IP address here (just in case you’re not convinced you need to hide it).

Related Articles

All
  • All
  • Easy Prey Podcast
  • General Topics
  • Home Computing
  • IP Addresses
  • Networking Basics: Learn How Networks Work
  • Online Privacy
  • Online Safety
Amitabh Sinha talks about how to protect against ransomware in your company.

Protect Against Ransomware by Planning for Ransomware

Ransomware is a huge cybersecurity threat, and it’s only growing. It’s especially a risk for businesses, but…

[Read More]
Private Internet Access

PIA: Private Internet ACCESS

The Private Internet ACCESS VPN will deliver the security, performance, and online access most users want. Behind...

[Read More]
What is spyware? It may be watching you right now...

Everything You Need to Know about Spyware, the Malware that Stalks Your Online Activity

Spyware may sound like something James Bond or another secret agent might use in the latest spy…

[Read More]
Carey Parker talks about how to protect your privacy online and why you should care in the first place.

Easy, Non-Technical Ways to Protect Your Privacy Online (And Why You Need To)

We all use technology at some point in our lives. Sometimes that technology is as simple as…

[Read More]
ExpressVPN

ExpressVPN

ExpressVPN has long had the reputation of being one of the best, fastest, and most secure VPNs…

[Read More]
Gmail Confidential Mode is a step towards email privacy, but it's not a perfect solution.

Gmail Confidential Mode: Useful but Imperfect for Email Privacy

Email is a tool that most of us use every day – sometimes all day. And while…

[Read More]