Skip to content

Chrome DevTools Device Mode vs a Mobile Simulator Extension

By Pritesh Ranoliya · Updated

Use Chrome DevTools device mode when you need to emulate a device’s user agent, pixel ratio, touch input or a slow network while you inspect CSS. Use a mobile simulator extension when you want to look at a page the way a phone user sees it, switch between devices quickly and keep DevTools free for debugging. Both are free, and they work well together.

What device mode does

Device mode is built into Chrome and Edge DevTools (Chrome docs). Pick a preset or type a size and it:

  • resizes the viewport to the device’s CSS size,
  • sets the device pixel ratio and user agent,
  • turns mouse input into touch events,
  • can throttle the network and CPU, and fake a location or orientation.

The page shares the window with the DevTools panels, so on a laptop screen the preview is often small. Comparing two devices means switching presets back and forth.

What the iHateBugs Mobile Simulator does

The Mobile Simulator is a free extension. It opens your page on the same tab inside a phone, tablet or laptop frame, at the preset’s CSS viewport:

  • one click from the toolbar, and the page keeps its real URL in the address bar,
  • a dock of device presets grouped as laptops, tablets, iPhones and Android, so switching size is one more click,
  • optional status and browser bars, so the page gets the height it has in a real phone browser,
  • works on localhost, with no account.

It does not change the pixel ratio or user agent today, and it has no network throttling. For those, use device mode.

Side by side

DevTools device mode iHateBugs Mobile Simulator
CSS viewport size Yes Yes
Device frame and browser bars No Yes
Pixel ratio and user agent emulation Yes Not yet
Touch emulation Yes No
Network and CPU throttling Yes No
Leaves DevTools free for inspecting No Yes
Works on localhost Yes Yes
Price Free Free

A workflow that uses both

  1. Open the page in the simulator and walk through it at a small phone, a large phone and a tablet size from the screen size lists.
  2. When something looks wrong, open DevTools on the same tab to inspect the element and fix the CSS.
  3. Before you ship, use device mode for checks that depend on the user agent or touch, then test on one real phone.

The guide to testing a website on mobile screen sizes has a checklist of bugs to look for at each step.