Privacy & VPN

How to hide your IP address

You cannot use the internet without an IP address, but you can decide which address websites see. Here are the methods that work, what each one hides and from whom, and how to check that it is working.

In this guide
Short answer

To hide your IP address, route your traffic through another server so websites see its address instead of yours: a VPN (hides it from every site and app, and from your ISP), Tor Browser (strongest anonymity, slower), a proxy (one app, no encryption) or iCloud Private Relay (Safari only, iCloud+). Incognito mode does not hide your IP. Confirm with an IP, DNS and WebRTC leak test afterwards.

Check your current IP first

Before changing anything, note what you are starting from. The homepage shows the public IPv4 and IPv6 address every website currently sees, the provider it belongs to and the city it resolves to. Write it down or keep the tab open: after you turn on a VPN, proxy or Tor, every one of those values should change. If any of them stays the same, that part of your connection is not hidden.

Without a VPN the website sees your home address 203.0.113.42; with a VPN your traffic goes through the VPN server first and the website sees the server's address 198.51.100.7Your device203.0.113.42Website sees203.0.113.42direct connectionYour device203.0.113.42VPN server198.51.100.7Website sees198.51.100.7encrypted tunnelnormal traffic
Hiding your IP means putting another machine between you and the site. The site sees that machine's address; that machine sees yours.

The six methods compared

MethodHides your IP fromWho still sees itCoversCost
VPNWebsites, apps, your ISP, public Wi-Fi operatorsThe VPN providerWhole device (or router)Usually paid; some reputable free tiers
Tor BrowserWebsites and your ISP (no single relay sees both ends)The entry relay sees your IP but not your destinationTor Browser onlyFree
ProxyThe websites you visit through itYour ISP and the proxy operator; traffic is often unencryptedOne app or browserFree to paid
iCloud Private RelayWebsites in Safari and your ISPApple sees your IP; its partner sees the destination; neither sees bothSafari, DNS, unencrypted app trafficIncluded with iCloud+
Mobile data instead of Wi-FiNobody; it only changes the addressEveryone, including your carrierWhole deviceData plan
Public Wi-FiYour home address onlyThe venue's operator and everyone else on that networkWhole deviceFree

The pattern in the table is the whole subject in one sentence: somebody always sees your real address, and the choice is who. A VPN moves that trust to one company; Tor spreads it across volunteers so no single one has the full picture; a proxy moves it to an operator you usually know nothing about.

How to hide your IP with each method

1. VPN (the default answer for most people)

A VPN app encrypts everything leaving your device and sends it to the provider's server; websites see the server's address. Choose a provider with a published no-logs policy that has been independently audited, apps for every device you own, and servers in the countries you need.

  1. Install the provider's app from its website or the app store, sign in, and connect to a server. On Windows 11 the connection also appears under Settings, Network & internet, VPN; on macOS under System Settings, VPN; on iPhone under Settings, General, VPN & Device Management; on Android under Settings, Network & internet, VPN.
  2. Turn on the kill switch (sometimes called network lock) so that nothing leaves your device if the tunnel drops.
  3. Prefer the WireGuard protocol when offered; it is faster and simpler than OpenVPN and IKEv2.
  4. Open the homepage: the address, provider and location must now be the server's.

To cover devices that cannot run an app (smart TVs, consoles), most routers with custom firmware, and many stock ones, can run the VPN for the whole house.

2. Tor Browser (free, strongest, slowest)

Tor routes each connection through three volunteer relays. The first knows your IP but not where you are going; the last knows the destination but not who you are. Download Tor Browser for Windows, macOS, Linux or Android only from the Tor Project's site; on iPhone the Tor Project recommends Onion Browser, since Apple's rules prevent a full Tor Browser there. Use it as installed, do not add extensions or resize the window, and do not sign in to accounts tied to your name. Expect slower pages, more captchas and a few sites that block Tor exits outright.

3. Proxy (one app, quick location change)

A proxy forwards traffic for a single application, most often the browser, and typically does not encrypt it. Browser extensions that promise to hide your IP are proxies. Set one in the extension, or system-wide under Settings, Network & internet, Proxy on Windows and System Settings, Wi-Fi, Details…, Proxies on macOS. Fine for testing how a site looks from another country; not a privacy tool, because the proxy operator sees everything and websites detect most proxy ranges on sight. The proxy server guide covers the types.

4. iCloud Private Relay (Apple devices)

With an iCloud+ subscription, turn it on under Settings, your name, iCloud, Private Relay on iPhone and iPad, or System Settings, your name, iCloud, Private Relay on a Mac. It hides your address from websites in Safari, encrypts your DNS lookups and covers unencrypted app traffic, using two relays so that neither Apple nor its partner sees both who you are and where you go. Under IP Address Location you can choose whether sites see your general area or only your country and time zone. It does nothing for other browsers or for most app traffic, and it is not available in every country.

5. Switch to mobile data

Turning off Wi-Fi puts you on your carrier's network with a completely different address, usually one shared with thousands of other subscribers behind carrier-grade NAT. That is useful when a site has blocked your home address, but it hides nothing: the carrier knows exactly who you are, and the address still resolves to your country.

6. Public Wi-Fi

A café network hides your home address from the sites you visit and replaces it with the venue's. In exchange, the venue's router sees every site you connect to, and so can anyone else on the network who cares to look. If you use public Wi-Fi, use a VPN on top of it; the public Wi-Fi safety guide explains why.

Does incognito mode hide your IP address?

No. Incognito, InPrivate and Private Browsing windows stop the browser from saving history, cookies and form data on your own device after the window closes. Every request still leaves your device from your normal IP address, your ISP still sees every domain you visit, and websites still see the same address they would see in a normal window. Chrome's own incognito screen says as much: your activity may still be visible to the websites you visit, your employer or school, and your internet service provider. Private mode protects you from the next person who uses your computer, not from the network.

Verify it worked: IP, DNS and WebRTC

Turning a VPN on is not the same as being hidden. Three separate paths can expose your real address while the main tunnel looks fine, and each has its own test:

  1. IP address. Reload the homepage. Both the IPv4 and the IPv6 address must belong to the VPN. Many VPNs tunnel IPv4 only; if your IPv6 address is still your ISP's, every IPv6-capable site sees your real network. Fix: enable IPv6 support in the VPN app, or disable IPv6 on the device.
  2. DNS. Run the DNS leak test. If the resolvers answering your lookups belong to your ISP rather than the VPN, your ISP still sees every site name you request. Fix: turn on the VPN's DNS protection or set the VPN's resolvers manually. The DNS leak guide explains the mechanics.
  3. WebRTC. Run the WebRTC leak test. Browsers can reveal your real address to a page through WebRTC even with a VPN active. Fix: a VPN app or extension that blocks the leak, or the browser's WebRTC policy setting.

The VPN test runs all three at once and gives one verdict. Finally, run the proxy and VPN checker to see what detection systems conclude about your new address; being hidden and being obviously on a VPN are different things, and some sites block the latter.

Test it now

Checking
IP websites see216.73.216.52
IPs exposed by WebRTC198.51.100.23
DNS resolvers seen2 resolvers
IPv62001:db8::1

Running against our own test servers. Nothing is stored.

Open the VPN test: is your VPN working?

Hiding your IP address on a phone

Phones have the same options with the same trade-offs, plus one twist: apps bypass browser-only tools. A VPN app covers everything, including the apps; Private Relay covers Safari and unencrypted app traffic only; a proxy configured in Wi-Fi settings covers only apps that honor it, which many do not.

  • iPhone: install a VPN app and allow it to add its configuration when asked (it appears under Settings, General, VPN & Device Management). For Safari alone, Private Relay is the lighter option. Onion Browser provides Tor.
  • Android: install a VPN app, or add a manual connection under Settings, Network & internet, VPN. Turn on Always-on VPN and Block connections without VPN in that screen's settings so that nothing leaks when the app restarts. Tor Browser for Android is an official app.
  • Both: the per-network setting that randomizes your Wi-Fi hardware address (Private Wi-Fi Address on iPhone, randomized MAC on Android) hides your device from the local network, not your IP from websites. It is a different kind of hiding and worth leaving on.

Test on the phone exactly as on a computer: open the homepage and the VPN test in the phone's browser with mobile data off and on, because the two networks behave differently.

Questions

Is hiding your IP address illegal?

In most countries, no. Using a VPN, a proxy, Tor or Private Relay is legal in the United States, the European Union, the United Kingdom and most of the world. A handful of countries, including China, Russia, Iran, Belarus, Turkmenistan and Oman, ban VPNs or allow only state-approved ones. Anything illegal stays illegal with a hidden address, and some services ban VPN use in their terms.

Can the FBI see through a VPN?

Not by looking at the traffic, which is encrypted, but law enforcement can ask the VPN provider for records, seize a server, or correlate connection times with your ISP's logs. A provider that keeps no logs has nothing to hand over; a free or careless one may have plenty. Tor is designed so that no single operator can answer that request, which is why it is the harder target.

Does incognito mode hide your IP address?

No. Incognito and private windows only stop the browser from keeping history, cookies and form entries on your own device. Websites see your usual IP address, your ISP sees the domains you visit, and your employer or school network sees the same traffic it always does. To hide your IP you need a VPN, Tor, a proxy or Private Relay in addition to, not instead of, a private window.

Can I change my IP address location?

Yes. Connect to a VPN server or proxy in the country you want to appear in, and websites will place you there, because they locate the server's address, not yours. The change shows immediately on the homepage. Sites that check for VPN ranges may still block you, and your device's time zone, language and GPS location can contradict the new address if a site asks for them.

Is there a free way to hide my IP address?

Tor Browser is free and genuinely effective, with the cost paid in speed and occasional blocks. Private Relay is included with the cheapest iCloud+ plan. Some reputable VPN providers offer limited free tiers. Treat unknown free VPNs and proxies with suspicion: running servers costs money, and a provider that does not charge you is often paid by selling your traffic data.

Does a VPN hide my IP address completely?

From the websites and apps you use, yes, provided nothing leaks around the tunnel. The three usual leaks are an untunneled IPv6 address, DNS lookups still going to your ISP, and WebRTC in the browser revealing your real address. Run the VPN test after connecting; a clean result on all three means websites see only the VPN server. The provider itself always sees your real address.

Sources and further reading

  1. Apple Support: About iCloud Private Relay
  2. Apple Developer: Prepare your network for iCloud Private Relay
  3. Tor Project: Download Tor Browser
CheckMyIP Team
Network engineers and privacy researchers