Put your iPhone anywhere on Earth

PinLoc runs on your Mac and tells your plugged-in iPhone where it is. Drop a pin, or walk, drive or take the bus along a real route, red lights included.

pinloc.py · 72 KB · free Needs a Mac and an iPhone on iOS 17 or newer. Fakes GPS, not your IP, so it isn’t a VPN.
Louvre48.8606, 2.3376 Eiffel Tower48.8584, 2.2945 Driving · 4 min left

Watch the setup guide

Every step, from installing the helper to your first trip, in about four minutes

The video guide is on its way. The steps below cover the same ground.

Download the video MP4 · 4:20

What it does

A map window on your Mac that decides where your plugged-in iPhone thinks it is

Pin

Search a place or click the map, then Teleport. Maps and your location-sharing apps all see the new spot.

Route

Walk, drive or take the bus between two places. It slows for corners, waits at red lights and stops at bus stops.

Back to real

Close the tab or press Ctrl+C and your real location returns within seconds. Nothing on the phone stays changed.

PinLoc isn’t a VPN. It fakes the iPhone’s GPS, which is what location apps use. Your IP address stays the same, so websites that guess your country from it still see your real one. For those, use a VPN set to the same place as your pin.

Set it up

Steps 1 to 6 happen once. After that, step 7 is all you need

  1. Check Python

    Open Terminal (Cmd + Space, type Terminal, press Return) and run this. If your Mac offers to install command line tools, click Install and give it about 5 minutes.

    python3 --version
  2. Install the helper

    It lets your Mac talk to your iPhone.

    pip3 install pymobiledevice3
  3. Download PinLoc

    Download pinloc.py. It lands in your Downloads folder.

  4. Plug in your iPhone

    Use its cable. Unlock the iPhone, tap Trust, then type your passcode.

  5. Reveal the Developer Mode switch

    This makes the switch appear on your iPhone.

    python3 -m pymobiledevice3 amfi reveal-developer-mode
  6. Turn on Developer Mode

    On the iPhone, open Settings › Privacy & Security › Developer Mode. Turn it on and tap Restart. After the restart, tap Turn On and type your passcode.

  7. Start PinLoc

    The first run prepares the phone for about a minute, then the map opens in your browser.

    cd ~/Downloads && python3 pinloc.py
A Mac An iPhone on iOS 17 or newer Its USB cable Internet, for the map

Questions

What people ask before they try it

Is PinLoc a VPN?

No. PinLoc is a location faker for apps that use GPS. It changes where your iPhone’s GPS says you are, not your IP address.

Websites that work out your country from your IP, like streaming sites, shops and region locks, still see your real location. To match those too, use a VPN on the iPhone set to the same country or city as your pin.

Which apps see the fake location?

Any app that asks the iPhone where it is, including Maps and location-sharing apps. PinLoc changes the location the whole phone reports, not just one app.

Does it keep working if I unplug the phone?

No. The fake location comes from your Mac, so the iPhone needs to stay plugged in and the Mac needs to stay awake. Unplug it and the phone goes back to its real location.

Can apps tell it’s fake?

Some can. Only GPS is faked, so the phone’s motion sensors still know it’s sitting still. Some games check for this and can ban your account.

Is it safe for my phone?

No app gets installed on the iPhone. PinLoc briefly loads Apple’s own developer tools onto it, and they’re gone after a restart. Developer Mode is an official Apple setting, and you can turn it off again in Settings › Privacy & Security whenever you like.

Will people I share my location with see it?

Yes, they’ll see the fake spot. Use it for fun and testing, not to mislead anyone who relies on knowing where you are.

Does PinLoc collect any data?

No. It runs on your Mac with no account and no tracking. It only contacts the map, search and route services it needs, plus TomTom if you add your own live-traffic key. This site has no analytics either.

It says “Couldn’t reach the iPhone”

Unlock the iPhone, check the cable, and tap Trust if it asks again. No Developer Mode switch? Run the step 5 command again. On an iPhone older than iOS 17, update it first in Settings › General › Software Update.