How to Inspect Element on iPhone
Three reliable ways to inspect element on a real iPhone - Safari Web Inspector over USB, remote debugging without a Mac, and a faster local workflow.
7 min read - Updated 2026-06-18
There is no "inspect element" button inside mobile Safari, but you can still open real DevTools for a page running on your iPhone. Here are the three approaches that actually work, from the official USB method to faster local alternatives.
Method 1: Safari Web Inspector over USB (the official way)
If you have a Mac, Safari's Web Inspector gives you full DevTools - elements, console, network, and storage - for any page open on a connected iPhone. It uses the real iOS WebKit engine, so what you inspect is exactly what your users see.
On iPhone: Settings > Apps > Safari > Advanced > turn on Web Inspector
On Mac: Safari > Settings > Advanced > Show features for web developers
Connect the iPhone by cable and trust the computer when prompted
Mac Safari > Develop menu > [your iPhone] > pick the open tab to inspect
Method 2: Inspect an iPhone page without a Mac
No Mac? You can still debug real mobile behavior using a remote inspection service or a WebKit-based cloud device. These proxy the page through a desktop DevTools panel so you keep a clickable element tree and live console.
Use a web-based remote inspector that pairs with the device over the network
Use a cloud real-device service that exposes WebKit DevTools in the browser
Reach for these when you need genuine iOS Safari rendering, not emulation
Expect slower iteration than a local setup - good for verification, not authoring
Method 3: The faster local workflow most bugs need
Most layout and CSS bugs are viewport bugs, not engine bugs. For those you do not need a physical phone at all - an accurate iPhone viewport on your machine lets you inspect and fix with a full desktop DevTools panel, then confirm on a real device only for the last mile.
Open your localhost at an accurate iPhone viewport and user agent
Inspect with full desktop DevTools - no squinting at a 6-inch screen
Hot-reload changes and see them instantly at phone width
Confirm true Safari engine quirks on a real device only at the end
Release checklist
Enable Web Inspector on the iPhone before connecting.
Confirm the Develop menu lists your device in desktop Safari.
Reproduce the bug at the exact iPhone viewport, not a rounded width.
Verify WebKit-specific behavior (100vh, sticky, inputs) on real hardware.
Frequently asked questions
Can you inspect element on iPhone without a computer?
Not with on-device Safari alone - iOS has no built-in inspect element gesture. You need either a Mac running Safari Web Inspector over USB, or a remote inspection / cloud-device service that surfaces DevTools in a desktop browser.
Why doesn't my iPhone show up in the Safari Develop menu?
Make sure Web Inspector is enabled on the iPhone (Settings > Apps > Safari > Advanced), the device is unlocked and trusted, and that the Develop menu is enabled in desktop Safari. Reconnecting the cable or restarting Safari usually fixes a missing device.
Do I need a real iPhone to fix mobile CSS bugs?
Usually no. The majority of responsive bugs are viewport and breakpoint issues you can reproduce and fix at an accurate iPhone width with full desktop DevTools. Keep a real device for verifying WebKit-only behavior like 100vh handling and form controls.
Related guides
Benji
Your life OS
The companion app that keeps every area of your world in sync.
Zero to Shipped
Ship products, not side projects
The ultimate Next.js boilerplate for building and launching real products.
DMX
Mindful Twitter/X
The intentional X client for macOS. Reclaim your attention span.
Sotto
Voice-to-text for macOS
Speak naturally. Type instantly. 100% local & private.
Passlock
Password manager with willpower
Lock passwords with time delays, word challenges, or hand the keys to someone you trust.
Glink
Changelogs that slap
Beautiful changelogs and roadmaps for your product.
JoinRepo
GitHub access control
Monetize your GitHub repositories with ease.
Tubely
YouTube Studio for Mac
Manage multiple YouTube channels in one native app.
JustWrite
Distraction-free writing
A minimal writing app that helps you focus on what matters.