
If you often ask “what is my IP address?”, this guide explains how to find your public IP and local IP quickly.
Your public IP address identifies your internet connection online. Your local IP address identifies your device inside your private network.
This article covers online IP tools, browser extensions, router checks, Windows settings, mobile settings, and programming methods with Python and Java.
- Your public IP is assigned by your internet service provider and is visible to websites.
- Your local IP is used inside your home or office network.
- Online tools and browser extensions can display your public IP quickly.
- Device settings and terminal commands can show your local IP address.
- Proxies and VPNs can help mask your public IP for improved privacy.
Introduction
Finding your IP address is easier than it may seem. You can use online tools, browser extensions, router settings, operating system settings, or simple code snippets.
Knowing your IP address is useful for troubleshooting, privacy checks, proxy configuration, remote access, and network security.
This guide explains the difference between public and local IP addresses and shows practical ways to find both.
Primary takeaways:
- Your public IP is assigned by your ISP.
- Simple online tools and code can fetch your public IP.
- Knowing your IP helps with troubleshooting, privacy, and network security.
Understanding IP Addresses
An IP address works like a digital address. It tells networks where data should be sent and which device or connection should receive the response.
There are two main address categories: public IP addresses and private IP addresses. Your public IP is visible to websites and online services. Your private IP is used inside your local network.
There are also two major address formats. IPv4 uses four groups of numbers, while IPv6 uses longer hexadecimal groups to support a much larger address space.
Key features:
- IP addresses identify devices and network connections.
- Public IPs are visible online.
- Private IPs stay inside local networks.
- IPv4 and IPv6 provide different address formats and capacity.
Types of IP Addresses
A public IP address is assigned by your internet service provider and is used when your device connects to websites, apps, and online services.
A private IP address is assigned by your router to devices inside your local network. This keeps local devices separated from direct public internet exposure.
IPv4 addresses are common and look like 192.168.1.1. IPv6 addresses are longer and provide a much larger pool of unique addresses.
A static IP address stays the same over time, while a dynamic IP address can change after reconnecting or after a provider-side update.
Main advantages:
- Public IPs enable global internet communication.
- Private IPs support secure local network connections.
- IPv4 is common and easy to read.
- IPv6 supports modern address demand.
- Static IPs are useful for servers and fixed remote access.
Finding My IP Address
The fastest way to find your public IP is to use an online IP address checker or search “what is my IP” in Google.
A browser extension can also show your public IP directly in the toolbar, which is useful if you check it often.
For local IP information, use your device network settings. Windows users can use Command Prompt. Mac users can use System Settings or Terminal. Android and iPhone users can check Wi-Fi settings.
IP lookup tool
You can also use the ProxyTitan IP address information tool to check your visible IP and browser data.
Primary takeaways:
- Online tools quickly show your public IP.
- Device settings show your local IP address.
- Command-line tools like ipconfig work well on Windows.
- Browser extensions are convenient for frequent IP checks.
On Windows: Finding Your IP Address
Windows provides several built-in ways to find your IP address. The quickest method is usually Command Prompt.
You can also find your IP address through the Windows Settings menu under your active Wi-Fi or Ethernet connection.
Steps:
- Open Command Prompt by typing cmd in the Windows search bar.
- Type ipconfig and press Enter.
- Look for the IPv4 Address or IPv6 Address line.
- Alternatively, open Settings.
- Go to Network & Internet.
- Choose Wi-Fi or Ethernet depending on your connection.
- Open Properties and find the IPv4 or IPv6 address section.
Get IP via Chrome Extension
A Chrome extension is one of the fastest ways to check your public IP address while browsing.
The ProxyTitan IP Address Info extension can display your public IP in real time without requiring you to open a separate lookup website.
This is useful for users who frequently switch proxies, test VPN connections, or need to confirm whether their visible IP address has changed.
Key advantages:
- Displays your public IP in real time.
- Easy installation through the Chrome Web Store.
- Convenient for proxy and VPN testing.
- Useful for quick checks during browsing sessions.
Changing Your IP Address
Changing your IP address can improve privacy, help with troubleshooting, or allow you to test how websites behave from another route.
A dynamic IP address may change automatically after reconnecting to your network or restarting your router.
A proxy server can also mask your public IP by routing traffic through another server. A VPN works similarly but usually encrypts more of your connection.
Proxy option
To mask your public IP, compare rotating datacenter proxies for proxy-based IP routing.
Core features:
- Dynamic IP addresses can change after reconnecting.
- VPNs mask public IP addresses and encrypt traffic.
- Proxy servers can route browser or app traffic through another IP.
- Router resets may cause your ISP to assign a new public IP.
IP Address Security and Privacy
Your public IP address is visible to websites you visit. This means it can be used for rough location detection, tracking, access control, and security checks.
Your local IP address stays inside your private network and is not normally visible to public websites.
A VPN or proxy can help mask your public IP address. This can improve privacy, reduce direct tracking, and separate your visible internet identity from your original connection.
Key points:
- Public IPs can be exposed to tracking and attacks.
- Local IPs remain inside private networks.
- VPNs improve privacy through encryption.
- Proxies can mask your public IP for selected traffic.
Programming Methods: Python vs. Java
If you have programming knowledge, you can fetch your public IP address with code.
In Python, the requests library can send a simple HTTP request to an IP lookup endpoint such as https://api.ipify.org.
In Java, HttpURLConnection can make a GET request to the same endpoint. Java requires more setup, but it gives strong control over network behavior and error handling.
Comparison Table: Fetching Public IP Address
Python and Java can both retrieve your public IP through an HTTP request. Python is usually shorter and easier for quick scripts, while Java is more verbose but structured.
Main advantages:
- Python offers a quick and short code snippet.
- Java provides robust error handling and control.
- Both methods can reliably return your public IP address.
| Language | Method or Library | Example URL | Ease of Use |
|---|---|---|---|
| Python | requests library | https://api.ipify.org | Simple and concise |
| Java | HttpURLConnection class | https://api.ipify.org | More verbose |
Conclusion
Understanding and managing your IP address is useful for troubleshooting, proxy setup, privacy checks, and network security.
This guide explained public IP addresses, local IP addresses, IPv4, IPv6, Windows lookup methods, Chrome extensions, proxy masking, VPN usage, and programming methods.
Whether you want to check your network status, secure your connection, or confirm that a proxy is working, these methods give you practical ways to manage your IP information.
What Is My IP FAQ
Want to check your IP and browser information?
Use ProxyTitan tools to inspect your visible IP address, test proxy routing, and understand the browser details websites can see.
