So you can see the source code of a website in Chrome for mobile

chrome view source code of web pages android phone

All major Internet browsers allow you to view the source code of any web page you visit. We could say that it is a basic and standard function that is very useful to understand how a website has been created or to extract the link of a content that is inaccessible from the user interface. Now while on PC, just right-click on an empty space on any website To access this function, things get complicated on mobile phones.

Chrome, for example, which is the most used browser on Android, in its mobile version does not offer an option to view the source code of web pages. But nevertheless, Google’s browser does have this feature, it’s just very hidden. Do you want to know where it is? In the following lines we will explain step by step how to view the HTML source code of a web page in Chrome for mobile. It is very simple!

How to view the source code of a website in Chrome for mobile

view source view source code web page chrome android

To view the source code of a web page from your mobile with Chrome, do the following:

  • Open the browser Chrome on your device.
  • Go to the Web page whose source code you want to see.
  • Enter view-source: before the page address.
    • For example: view-source: https: //androidphoria.com
  • Once you have modified the URL in that way, click on Enter To access.

Ready! Thus, all the source code of the page will appear on the screen of your mobile so that you can analyze it. Even, you can copy the parts of the code that you want. And if you need to perform a detailed analysis of the website, we recommend you see this article on how to inspect an element from Android.

By the way, this trick of using the “view-source” prefix to reveal the source code of a web page from mobile works also in Mozilla Firefox, Microsoft Edge, Opera and in practically any other quality browser for Android.

How to view the source code of a web page online or with an application

How to view source code online and with application

If for some strange reason your mobile browser does not support the “view-source” trick, then we recommend you see the source code of the page you want through the following online tool:

Login | View Page Source

In that web page you simply must paste the URL of the website whose source code you want to know and click on View Source Code. That way, the page will return the code you wanted to see and even allow you to download it in HTML format.

And to finish, if you prefer to have a dedicated application to view the source code of web pages, VT View Source is the app you were looking for. It is not the best for analyzing source codes from the mobile (because of how messy it gets), but at least it meets its objective without much thought.

VT View Source

Anyway, those are all the options to see the source code of the websites from your smartphone … Which one do you prefer?