44

I want to test the mobile version of a website using Google Chrome for Desktop.

Usually I'm able to load mobile sites by prefixing m. before the URL, but trying to load m.superuser.com or m.github.com just results in a "Site cannot be reached" error.

How can I test the mobile version of a website in Chrome for Desktop?

3
  • 2
    Clicking the "mobile" link at the bottom of any page works fine for me.
    – DavidPostill
    May 31, 2017 at 21:57
  • 1
    It's already been asked and answered ;p
    – DavidPostill
    May 31, 2017 at 22:31
  • 7
    @DavidPostill You're linking to a meta question which asks about how to run Stack Exchange in mobile version on desktop browser. I am pretty much sure that OP is asking how to run any website in that way. That are pretty much two completely different cases.
    – trejder
    Oct 2, 2018 at 7:19

1 Answer 1

60

You can use Google Chrome's developer tools to request the mobile version of a website:


  1. Open Chrome's developer tools with F12.
  2. Click the 'Toggle device toolbar' button to turn Device Mode on or off. (Icon is blue when Device Mode is on).

    Enabling device mode

  3. (Optional) Select which mobile device you want to simulate with the 'Viewport controls'.

    Viewport controls

  4. Refresh the webpage with device mode enabled to allow the mobile version to load.

    Viewing mobile site for Super User

Sources

3
  • @steven-m-vascellaro for some reason the responsive dropdown is not visible in my chrome...any idea? Feb 14, 2019 at 8:34
  • 2
    @vardin - you need to click the button indicated by the giant red arrow in the first screenshot to get the responsive dropdown to appear. Jun 21, 2019 at 13:41
  • This only seems like a partial solution. Some components like select multiple are rendered differently on desktop vs mobile even if you enable responsiveness or any of the other options there. Is there a way to emulate it fully?
    – Aequitas
    Jun 1, 2022 at 5:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .