Check my IP

Home / Learn

How to Hide Your IP Address on Any Device: 5 Methods

Published by Ishant Singh · Updated November 2, 2026 · 9 min read

To hide your IP address, send your traffic through another computer so that websites see that computer's address instead of yours. A VPN does this for every app on a device. Tor Browser and iCloud Private Relay do it for browsing, a proxy does it for one app, and another network gives you a different address for as long as you stay on it. Incognito mode, clearing cookies and restarting your router do not hide it.

  • For the whole device, use a VPN you trust, and turn on its kill switch or always-on setting so apps cannot slip out when the tunnel drops.
  • For browsing only, use Tor Browser, or Private Relay in Safari if you pay for iCloud+.
  • For one app or one test, set a proxy in that app.
  • You cannot block or encrypt the address itself. Every packet needs a return address, so hiding yours means borrowing someone else's.

Hiding vs changing your IP address

These are different things. Changing your IP means your provider assigns you a new address, which is still tied to your provider and your region. Hiding your IP means your traffic leaves the internet from someone else's address, so sites never see yours. If you only want a new address from your provider, read how to change your IP address. If you want the opposite, an address that stops changing, you need a static IP from your provider, explained in static vs dynamic IP addresses.

The five methods at a glance

MethodHides IP from sitesEncrypts trafficCovers
VPNYesYesEvery app on the device
Tor BrowserYesYes, in layersTor Browser only
ProxyYesUsually notOne app or browser
iCloud Private RelayYesYesSafari, DNS lookups and some app traffic
Another networkSwaps it for that network’s addressNoThe whole device

Can you block or encrypt your IP address?

No. Your address sits in the source address field of every packet you send. RFC 8200 defines that field for IPv6 as the address of the originator of the packet, and the IPv4 header in RFC 791 has the same field. The server sends its reply to that address. A request with no usable source address gets no answer, so there is nothing on your side to block.

What people call encrypting an IP address is tunnelling. A VPN encrypts your whole original packet, the original addresses included, and puts it inside a new packet that travels from you to the VPN server. The IPsec standard, RFC 4301, describes this tunnel mode as an outer IP header with the tunnel's source and destination, and an inner header with the real source and destination. The website only sees packets leaving the VPN server, with the server's address on them. Your internet provider still sees your real address talking to the VPN server, because the outer packet has to get there.

1. Use a VPN

A virtual private network sends all of your traffic through an encrypted tunnel to a server run by the VPN company. Websites see the server's address, and your internet provider sees your connection to the VPN server but not the sites inside it. For most people this is the most practical option, because it covers every app and works with any browser.

The catch is trust. The US Federal Trade Commission notes that a VPN app gets permission to intercept all of your internet traffic, and that it shifts trust from your network to the VPN provider. Choose carefully:

  • Look for an independent security audit and a clear no-logs policy.
  • Make sure it has a kill switch, which cuts your connection if the tunnel drops, and leak protection for WebRTC, DNS and IPv6.
  • Read the privacy policy, free or paid, to see what the company keeps and who it shares it with.

2. Use the Tor Browser

Tor sends your browser traffic through three relays run by volunteers: a guard, a middle relay and an exit (Tor Project: types of relays). No single relay knows both who you are and where you are going, and the website sees the exit relay's address instead of yours. Tor is free and gives the most anonymity of the five for browsing, but only for traffic inside Tor Browser. It is slow, it is not suited to streaming or large downloads, and some websites block Tor users because they cannot tell them apart from automated traffic. You can see how a Tor address looks to the world with our IP reputation check.

3. Use a proxy

A proxy forwards requests from one app or browser through another server. It is simple and cheap, and useful for specific jobs such as testing how a site looks from another country. But a proxy usually does not encrypt your traffic, it only covers the app you configure, and it is easy to misconfigure. A browser can also go around it with WebRTC and reveal your real address, so run the WebRTC leak test. You are trusting the proxy operator completely. Our guide to proxy anonymity levels explains which proxies pass your real address on to the site anyway.

4. Use iCloud Private Relay (Apple devices)

If you pay for iCloud+, Private Relay sends Safari traffic through two separate relays. Apple runs the first and another company runs the second, so no single party can see both who you are and which sites you visit. The second relay gives you a temporary address, and Apple's overview says these addresses map to your country or region. It covers browsing in Safari, DNS lookups and unencrypted traffic in apps, so encrypted traffic from other apps still uses your real address. It is not available in every country or region.

5. Switch to another network

Connecting through a mobile hotspot or a public Wi-Fi network gives you a different public address for as long as you stay on it. It is free and instant, but it protects nothing else. The network owner can see which sites you connect to, though not the contents of HTTPS pages.

How to hide your IP address in one browser

To hide your address only while browsing, use a browser with a relay built in, or point one browser at a proxy. Everything else on the device keeps using your normal address.

  • Tor Browser, on a computer or on Android, sends its own traffic through Tor and nothing else.
  • Safari on a Mac, iPhone or iPad uses iCloud Private Relay once you turn it on.
  • A browser that has its own proxy setting can use a proxy that the rest of the device ignores. Our guide to checking that a proxy is working shows how to confirm it.

Safari with Private Relay and a browser set to use a proxy share one weak point. WebRTC, the browser feature behind video calls, can find addresses outside the proxy. RFC 8828, which sets WebRTC's address rules, notes that a web page can learn addresses that are not exposed to the internet, and that with some VPN setups it can find your provider's public address as well as the VPN's. After setting up any browser-only method, run the WebRTC leak test, and read how WebRTC leaks work if it shows your real address.

How to hide your IP address on iPhone

An iPhone has two built-in settings that hide your address from some sites, and it works with any VPN app for the rest.

  1. Turn on iCloud Private Relay (iCloud+ only): open Settings, tap your name, then iCloud, then Private Relay.
  2. Check that Limit IP Address Tracking is on: open Settings, then Wi-Fi, and tap the More Info button next to your network. For mobile data it sits under Settings, then Cellular, under your phone number (in iOS 18 or earlier, under Cellular Data Options). Apple describes the same setting on a Mac as hiding your address from known trackers in Mail and Safari, so it is not a full hider. Turning it off also turns off Private Relay on that network.
  3. Install a reputable VPN app, allow it to add a VPN configuration and connect. This covers every app on the phone.
  4. For Tor, the Tor Project recommends Onion Browser on iOS, for browsing only.

How to hide your IP address on Android

  1. Install a VPN app and connect, or add a VPN under Settings, then Network & internet, then VPN (the labels vary by phone maker). Tap the settings icon next to the VPN and turn on Always-on VPN if it is offered. Google notes that a VPN set up through an app may not offer it there, so also look for an always-on or kill switch setting in the app.
  2. Install Tor Browser for Android from Google Play, F-Droid or the Tor Project website. It needs Android 8.0 or newer and hides your address for browsing in that app.
  3. Switch from Wi-Fi to mobile data. You get a different address, though it does not hide it from your carrier.

Android’s Private DNS setting is not an IP hider. Google says it secures only DNS questions and answers and cannot protect anything else, so websites still see your address.

What does not hide your IP address?

  • Private or incognito mode only stops your browser keeping the sites you visited once you close all private windows. Chrome’s help page says the sites you visit and whoever runs your network may still see your activity. Websites still see your IP address.
  • Clearing cookies or switching browsers changes nothing about your IP.
  • Restarting your modem or asking your provider for a new address may change the address but does not hide it. It is still your provider's address in your region.
  • Your router's NAT hides your devices' private IPv4 addresses from the internet, but your public address stays visible. See public vs private IP addresses.

How to check that it worked

  1. Open our IP checker without the method turned on and note your address, location and network.
  2. Turn the method on and reload the page. The address, location and network should all be different, although with Private Relay the location may stay close to yours. For example, if the network line named your home provider and your city before, with a VPN on it should name the VPN company’s hosting network and the city of the server you picked.
  3. Look at the IPv4 and IPv6 lines. If one still shows your real address, that part of your traffic is leaking around the tunnel.
  4. Run the WebRTC leak test.
  5. Use the IP reputation check to see how your new address looks. A VPN address normally shows as a hosting network, and that is expected.

Check IPv4 and IPv6 separately from a terminal

A VPN that only handles IPv4 can send your IPv6 traffic straight past the tunnel. RFC 7359 describes this leak: on a connection with both IPv4 and IPv6, packets for IPv6 destinations go out unencrypted through your normal router. Ask for each address type on its own:

curl -4 https://ipcomet.com/api/ip
curl -6 https://ipcomet.com/api/ip

With the VPN on, both lines should show addresses that belong to the VPN. If the second line shows an address from your own provider, IPv6 is leaking. Turn on the VPN's IPv6 leak protection, or try another provider.

This check is for a VPN, which covers the whole device. Tor Browser, Private Relay and a proxy set in one browser do not carry curl’s traffic, so for those use the IP checker and the WebRTC test inside that browser.

We tested both commands on 2 November 2026 on a Mac (curl 8.7.1) with a wired connection, no VPN and no public IPv6 address. Both returned the same IPv4 address. Adding -v showed why: macOS answered the IPv6 lookup with an IPv4-mapped address starting ::ffff:, so the -6 request still went out over IPv4. On a Mac, an IPv4 address on the second line means the connection has no working IPv6, not that IPv6 is leaking. With real IPv6, the second line shows an address written with colons.

What does hiding your IP not do?

It does not make you anonymous. Sites can still recognize you through logins, cookies and your browser fingerprint, which our browser info page lets you inspect. It also does not protect you from malware or phishing. Laws on VPNs and Tor differ from country to country, and none of these tools makes an illegal act legal, so check the rules where you live.

Which method should you choose?

  • Everyday privacy on all your devices: a VPN that passes the checklist above.
  • Maximum anonymity for browsing: Tor Browser.
  • A quick one-off address change: a mobile hotspot.
  • Apple users who mainly use Safari: iCloud Private Relay.

For the bigger picture of what an address reveals about you, read can someone track you by your IP address?

Frequently asked questions

Does a VPN hide your IP address?

Yes, from the websites and services you visit, which see the VPN server’s address instead. It does not hide your address from the VPN company, which sees your real one, and your internet provider can still see that you are connected to a VPN. To confirm it works on your connection, follow is my VPN working?

Can my internet provider see my IP address when I use a VPN?

Yes. Your provider assigned the address and carries every packet, including the tunnel to the VPN server. With the VPN on, it sees which VPN server you connect to and how much data you send, but not the sites inside the tunnel.

How do I hide my IP address on my phone?

Install a VPN app and turn on its always-on or kill switch setting. On an iPhone you can also use Private Relay with iCloud+ and Limit IP Address Tracking, and on Android Tor Browser hides your address for browsing. The iPhone and Android sections above list the steps.

Will hiding my IP address stop it from changing?

No. Your provider still assigns your real address and can change it whether or not you hide it. For an address that stays the same, ask your provider for a static IP.

Sources and further reading

Try it yourself

See the real numbers for your own connection with our free tools.

Keep reading