How to hide your IP address: 5 legal methods compared

Your IP address is the number that identifies your internet connection to every website you visit. Hiding it is legal in most countries and is a reasonable privacy step: it stops sites from linking your visits to your home connection and rough location. Here are the main ways to do it, what each really hides, and the limits.
What your IP address reveals
An IP address is assigned to your connection by your internet provider (at home) or your mobile carrier (on data). It doesn't reveal your name or street address on its own, but it does reveal:
- Your approximate location, usually your city or region.
- Your internet provider.
- A link between your visits: sites and advertisers can recognise the same connection coming back.
Your internet provider knows which customer had which IP address at which time, and can be required by law to share that in specific circumstances.
Why people hide their IP address
- To make tracking across websites harder.
- To keep their home location private from sites, forums and games.
- To protect themselves on public Wi-Fi, usually with a VPN.
- To reach their usual services normally while travelling.
Hiding your IP address doesn't make illegal activity legal, and it doesn't override a service's terms. Many streaming, banking and gaming services only allow access from certain countries or block VPN connections, so follow their rules.
Method 1: Use a VPN (best for most people)
A VPN routes all your traffic through an encrypted tunnel to a server run by the VPN company. Websites see the VPN server's IP address instead of yours, and your local network and internet provider can't see what you visit.
- Pros: covers every app on your device, not just the browser. It's fast enough for everyday use and streaming, and it encrypts your traffic on public Wi-Fi too.
- Cons: you're trusting the VPN company instead of your internet provider, so pick one with an independently audited no-logs policy. Good ones cost a few dollars a month.
Our top pick is NordVPN. Proton VPN has a genuinely usable free plan.
Method 2: Use the Tor Browser
Tor sends your browser traffic through three volunteer-run relays, each of which only knows the step before and after it. The website sees the IP address of the last relay.
- Pros: free, and designed for strong anonymity. No single company sees both who you are and what you visit.
- Cons: much slower than a VPN, and it only covers the Tor Browser, not your other apps. Many websites block or challenge Tor visitors with CAPTCHAs.
Tor is legal in most countries and widely used by journalists and privacy-conscious people. For everyday browsing and streaming, a VPN is far more practical.
Method 3: Use a proxy
A proxy server forwards your web requests, so sites see the proxy's IP address. Some browser extensions and websites offer free proxies.
- Pros: simple, often free, good for a quick one-off check.
- Cons: usually covers only your browser, often doesn't encrypt your traffic, and free proxies may log or inject ads into what you browse. We don't recommend free proxies for anything private.
Method 4: Built-in privacy relays
Some browsers and platforms now include their own relays. Apple's iCloud Private Relay (part of paid iCloud+) hides your IP address from websites in Safari, and some browsers offer built-in "VPN" or proxy features. These are convenient, but read what they cover: many protect only that browser, not your other apps, and some keep your general region so sites still show local content.
Method 5: Switch networks
Switching from home Wi-Fi to mobile data, or to another Wi-Fi network, gives you a different IP address. It doesn't make you private (the new network's provider sees your traffic instead), but it's a quick way to check whether a problem is tied to your connection. On public networks, use a VPN at the same time.
Comparing the options
| Method | Hides IP from sites | Encrypts traffic | Covers all apps | Speed | Cost |
|---|---|---|---|---|---|
| VPN | Yes | Yes | Yes | Fast | Free to a few $/mo |
| Tor Browser | Yes | Yes, inside Tor | No, browser only | Slow | Free |
| Proxy | Yes | Often not | Usually browser only | Varies | Often free |
| Built-in relay | Yes | Yes | Usually browser only | Fast | Varies |
| Switch network | Changes it | No | Yes | Same | Free |
What hiding your IP doesn't hide
- Logins: if you're signed in to Google, Amazon or Facebook, they know it's you.
- Cookies and fingerprinting: sites can still recognise your browser. Use a privacy-focused browser, clear cookies, or use private windows.
- Your location from other sources: your phone's GPS, location permissions and the details you type into forms.
- Leaks: a misconfigured VPN can leak DNS requests. Use the checks in our setup guide and keep the kill switch on.
How to check your IP address
- With the VPN off, search "what is my IP" or visit a site such as ipleak.net. Note the address and location shown.
- Connect to your VPN and reload the page.
- The IP address and location should now match the VPN server, and your DNS servers shouldn't belong to your internet provider.
Our take: for most people a reputable VPN is the simplest and most complete way to hide your IP address. Not sure you need one? Try our 60-second checklist, or compare VPN prices.
Questions people ask
Is it legal to hide my IP address?
Yes, in most countries. Using a VPN or Tor is legal in the US, UK, EU, Canada and Australia. What you do while connected must still be legal.
What is the easiest way to hide my IP address?
A reputable VPN: install the app, connect, and every app on your device uses the VPN server's IP address.
Can my IP address reveal my home address?
Not on its own. It shows your rough location and internet provider. Your provider knows which customer had the address and can be required by law to share it.
Does incognito mode hide my IP address?
No. Private browsing only stops your browser saving history and cookies on your device. Websites still see your IP address.
Keep reading
What is a VPN?How a VPN works in plain English: the encrypted tunnel, protocols, servers, kill switch and DNS, plus what a VPN can and can't do for you.
Secure your home Wi-FiTen simple router settings that make your home Wi-Fi much harder to break into: passwords, WPA3, firmware updates, WPS, guest networks and more.
Two-factor authenticationTwo-factor authentication explained: SMS codes vs authenticator apps vs security keys and passkeys, which accounts to protect first, and how not to get locked out.