How to Find the IP Address of a Website

July 6, 2026

How to Find the IP Address of a Website

When you type a web address like google.com into your browser, you are using a Domain Name. However, computers don't understand domain names; they understand IP addresses. The Domain Name System (DNS) translates these human-readable names into the numerical IP addresses needed to locate the server. If you ever need to find out what IP address a website is using, it's actually quite simple.

Using the Command Line (Windows, Mac, Linux)

The easiest way to find a website's IP address is by using built-in network tools on your computer. You don't need to install any extra software.

On Windows:

  1. Press the Windows Key, type cmd, and press Enter to open the Command Prompt.
  2. Type ping example.com (replace example.com with the website you want to check) and press Enter.
  3. The output will show a line that says something like: Pinging example.com [192.0.2.1]. The numbers inside the brackets are the website's IP address.

On Mac and Linux:

  1. Open the Terminal application.
  2. Type ping -c 4 example.com and press Enter.
  3. The terminal will print out the ping statistics, and the IP address will be clearly visible next to the domain name.

Why Would You Want to Do This?

There are a few reasons why finding a website's IP is useful: