As long as there is search, there will be SEO.
Ye Olde Blog of SEO
Sep 11
view HTML source code android

How to view website HTML/CSS source code on Android

This is one of those things that has always bothered me, but I never got around to doing and that is being able to view the source code of a website on Android.

For the most part I don’t do any actual coding on my phone, but there are many circumstances where I have to view the source code of a website while on my Android phone.

As an SEO, being able to view HTML source code on the fly is very important for me. I am always analyzing new websites, doing proposals and helping people with issues. As an SEO there are many times when I can’t get to a desktop and need to view the HTML or CSS source code on my Android phone.

View HTML source code on Android Without an app

While there is a way to view the HTML source code of a website on an Android via chrome natively (without a plugin or an app) there really isn’t much flexibility. To do so, all you need to do do is go to Chrome and within the URL / location bar enter:


Once you do that Chrome will display the source code right within the browser:

no app native android view HTML source code howto

So if you are viewing a website and want to view the source code, just replace the “http” with “view-source” and it’ll pop right up for ya.

View HTML source code on Android with an app (my preferred method)

While in general I am not a huge fan of using apps for things a device can do natively, in this case I do prefer using the VT view source app to view HTML or CSS source code on my Android device.

This is the best app that I’ve found so far, and has done me well over the last few months.

The app is called VT View Source. The VT I believe stands for Vagharshak Tozalakyan who is the developer of this app.

I normally keep this app on my secondary home screen, alongside my other apps so I can launch it easily:

1 view HTML source android desktop

This is the first screen that you’ll see when you launch the app. Enter a URL and you are good to go:

2 view website HTML and CSS source code android open URL

Bam: you can view the source code on an Android phone. It does a great job of showing lien numbers, and highlighting HTML syntax. Links are clickable (if you choose) and will take you to the source code of the link you click, not the actual website.

3 view source android source code

There are a number of settings on this app.

4 view source android menu

You can easily highlight code and copy / paste it into another program.

5 view source for websit HTML on android copy selection

One feature that I like is the ability to validate the HTML via

6 view source HTML and CSS on website android validate

With one click you can view some cool page info, such as how many lines of code it is and the total number of characters.

7 view CSS HTML source android basic info

Landscape view is also quite nice, and in my opinion the preferred way to view the code.

8 view website source android landscape

You can bookmark websites, and manage your bookmarks.

10 view source android bookmark organization

Another view of the settings. You can change the background color, text color, zooming, font size (%), syntax highlighting and a number of other options.

11 settings view source android

In addition to HTML and CSS, this app can also view source code for other languages such as JavaScript. I did not test any other languages:

android view source javascript

About The Author

Patrick is an SEO blogger and the founder of Elite Strategies, an SEO and internet marketing agency located in Delray Beach, FL.