October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Cupertino desk4 min

How to Capture an iPhone Website Screenshot with a Custom User Agent

Use Safari on a Mac to set a custom user agent for an iPhone page in remote Web Inspector, then take the screenshot on the iPhone.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To capture a website on a real iPhone while making it report a custom user-agent string, connect the iPhone to Safari on a Mac and change the user agent in that page’s remote Web Inspector. The page reloads with the override; then take the screenshot on the iPhone. Changing the user agent in the Mac’s own Safari settings does not change the user agent of a remotely inspected iPhone page.

What you need

  • An iPhone running the page you want to capture.
  • A Mac with Safari and Web Inspector enabled.
  • A physical cable that connects the iPhone and Mac, or wireless debugging configured in Xcode.

For remote inspection, enable Web Inspector on both the iPhone and the Mac. Apple’s setup instructions are in Enabling Web Inspector.

As an Amazon Associate I earn from qualifying purchases.

Set a custom user agent for the iPhone page

  1. Enable iPhone Web Inspector. On the iPhone, open Settings > Safari > Advanced and turn on Web Inspector.
  2. Connect the iPhone. Connect it to the Mac with a compatible cable, or configure wireless debugging in Xcode. Once connected, the device should appear in Safari’s Develop menu.
  3. Open the remote page inspector. On the Mac, open Safari and choose Develop > [your iPhone] > [the page]. Select the page listed under the iPhone, not a Mac tab for the same website.
  4. Choose the user agent in the remote inspector. Open its device settings menu. Select a preset, or choose Other… and enter the custom user-agent string you need. WebKit describes this as the User Agent editor in its Safari Web Inspector update.
  5. Wait for the page to reload. Changing the remote page’s user agent reloads it. Check the reloaded page on the iPhone to confirm the content you wanted, then capture the screen using the iPhone’s screenshot controls.

Why the remote inspector matters

Safari on macOS has user-agent controls, but those apply to the Mac browser. WebKit explicitly notes that the general Develop-menu user-agent settings do not affect a remotely inspected iOS target. Use the device settings inside the remote inspector for a page running on the iPhone. See WebKit’s remote inspector documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose a connection and user-agent option

Choice Use it when What to know
Physical cable You want a direct connection between the iPhone and Mac. The cable must be compatible with both devices.
Wireless debugging You prefer not to connect a cable. Configure wireless debugging in Xcode before selecting the iPhone in Safari’s Develop menu.
User-agent preset A built-in choice matches the browser identity you need. It changes the inspected page’s reported user agent.
Other… custom string You need a particular user-agent value. Enter the string in the remote inspector’s device settings menu.

What a user-agent override does—and does not do

A user-agent override changes the browser identity string reported by the inspected page. It is a debugging aid, not complete emulation of another iPhone, browser, operating system, or device. Other capabilities and behavior can still differ.

#1 Best Overall
Apple iPhone 14, 128GB, Midnight - Unlocked (Renewed)
  • This phone is unlocked and compatible with any carrier of choice on GSM and CDMA networks (e.g. AT&T, T-Mobile, Sprint, Verizon, US Cellular, Cricket, Metro, Tracfone, Mint Mobile, etc.).
  • Please check with your carrier to verify compatibility.
  • The device does not come with headphones or a SIM card. It does include a generic (Mfi certified) charging cable.
  • Tested for battery health and guaranteed to have a minimum battery capacity of 80%.

Apple recommends using feature detection to enable or disable site functionality rather than relying on browser name or version in the user-agent string: Apple’s user-agent guidance.

Keep the override active

The remote inspector’s device settings apply to the inspected page and can persist across navigation while the inspector remains open and connected. They reset when the inspection session closes or the device disconnects. If you navigate to another page during the same session, verify that the intended user agent remains selected.

Rank #2
Apple iPhone 16, 128GB, Pink - Unlocked (Renewed)
  • 6.1" Super Retina XDR OLED, HDR10, Dolby Vision, 1000nits (typ), 2000nits (HBM), 2556x1179px at 460ppi, 3561mAh Battery
  • 128GB 8GB RAM, Apple A18 (3nm), Hexa-core (2x4.04 GHz + 4x2.20 GHz), Apple GPU 5-core, 16‑core Neural Engine
  • Rear camera: 48MP, f/1.6, wide + 12MP, f/2.2, ultrawide, Front Camera: 12MP, f/1.9, wide, iOS 18, upgradable to iOS 18.5
  • 4G LTE: 1/2/3/4/5/7/8/12/13/14/17/18/19/20/25/26/28/29/30/32/34/38/39/40/41/42/48/53/66/71, 5G: n1/2/3/5/7/8/12/14/20/25/26/28/29/30/38/40/41/48/53/66/70/71/75/76/77/78/79 - Dual eSIM
  • Unlocked for freedom to choose your carrier. Compatible with both GSM & CDMA networks. The phone is unlocked to work with all GSM Carriers & CDMA Carriers Including AT&T, T-Mobile, Verizon, Sprint., Etc.

Troubleshooting

  • The iPhone does not appear in Safari’s Develop menu: Confirm Web Inspector is enabled on the iPhone and Web Inspector is enabled on the Mac, then check the connection or Xcode wireless-debugging setup.
  • The website still behaves like it is on the Mac: You may have changed the Mac tab’s user agent. Open the page under Develop > [your iPhone] and use that page’s remote-inspector device settings.
  • The old content remains after changing the string: The page should reload when the override changes. Wait for the reload to finish and inspect the page on the iPhone again.
  • The override disappeared: Check that the remote inspector is still open and connected. The setting resets when the session closes or the device disconnects.
  • The page still does not look like another device: A user-agent string alone does not reproduce the other device’s full hardware, browser, or software behavior.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If you need a screenshot generated from a URL rather than a capture of the live physical iPhone display, ScreenshotNeo offers a one-request screenshot API. It does not establish that a capture ran on a physical iPhone; its custom user-agent option sets the browser string used for the capture. See the ScreenshotNeo documentation for available parameters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 1
Apple iPhone 14, 128GB, Midnight - Unlocked (Renewed)
Apple iPhone 14, 128GB, Midnight - Unlocked (Renewed)
Please check with your carrier to verify compatibility.; Tested for battery health and guaranteed to have a minimum battery capacity of 80%.
$300.00
Bestseller No. 3
Apple iPhone 15, 128GB, Black - Unlocked (Renewed)
Apple iPhone 15, 128GB, Black - Unlocked (Renewed)
Dynamic Island. A magical way to interact with iPhone. A16 Bionic chip with 5-core GPU; Emergency SOS via satellite. Crash Detection. Roadside Assistance via satellite
$405.00
Bestseller No. 4
Apple iPhone 13, 128GB, Midnight - Unlocked (Renewed) | Unlocked
Apple iPhone 13, 128GB, Midnight - Unlocked (Renewed) | Unlocked
There will be no visible cosmetic imperfections when held at an arm’s length.; Product may come in generic Box.
$262.00
Best Value
Apple iPhone 16e, 128GB, Black - Unlocked (Renewed)
  • 6.1" Super Retina XDR OLED, HDR10, 800 nits (HBM), 1200 nits (peak), 2532x1170px at 460ppi, 4005mAh Battery
  • 8GB RAM, Apple A18 6-core CPU (2 performance + 4 efficiency cores), Apple GPU 4-core, 16‑core Neural Engine
  • Rear camera: 48MP, f/1.6, wide, Front Camera: 12MP, f/1.9, wide, iOS 18.3.1, upgradable to iOS 18.5
  • Connectivity: Global 4G LTE, Sub-6 GHz 5G, LTE, Wi-Fi 6, Bluetooth 5.3, NFC, USB-C, Wireless Charging (7.5W). (does not have mmWave 5G or MagSafe or physical SIM card) - Dual eSIM Only
  • Unlocked for freedom to choose your carrier. Compatible with both GSM & CDMA networks. The phone is unlocked to work with all GSM Carriers & CDMA Carriers Including AT&T, T-Mobile, Verizon, Straight Talk., Etc.
Rank #4
Apple iPhone 13, 128GB, Midnight - Unlocked (Renewed) | Unlocked
  • This pre-owned product is not Apple certified, but has been professionally inspected, tested and cleaned by Amazon-qualified suppliers.
  • There will be no visible cosmetic imperfections when held at an arm’s length.
  • This product is eligible for a replacement or refund within 90 days of receipt if you are not satisfied.
  • Product may come in generic Box.
Rank #3
Apple iPhone 15, 128GB, Black - Unlocked (Renewed)
  • 6.1inch Super Retina XDR display. Aluminum with color-infused glass back. Ring/Silent switch
  • Dynamic Island. A magical way to interact with iPhone. A16 Bionic chip with 5-core GPU
  • Advanced dual-camera system. 48MP Main | Ultra Wide. Super-high-resolution photos (24MP and 48MP). Next-generation portraits with Focus and Depth Control. 4X optical zoom range
  • Emergency SOS via satellite. Crash Detection. Roadside Assistance via satellite
  • Up to 26 hours video playback. USB C, Supports USB 2. Face ID

cURL:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo can accept consent banners and remove known consent platforms, newsletter popups, and chat widgets before capture; those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. It also has an MCP server for AI agents. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Cupertino desk2 min
    Apple’s iPhone 17e Is Coming Soon, and It Says a Lot About Where Apple Is HeadedApple is reportedly preparing to launch a new iPhone very soon, and it is called the iPhone 17e. If the latest reporting is accurate,…
  2. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  3. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.