EN
PortuguêsEnglishEspañolDeutschFrançaisItaliano日本語Русский中文
Home Favorites
Voltar

View Page Source

View the HTML source code of any page, even on your phone, with line numbers, colors, search, a summary of scripts, styles, images and links, and download the file.

How to use

Source code of any page

Available in: PortuguêsEspañolEnglishDeutschFrançaisItaliano日本語Русский中文

Next toolSecurity Headers Check→
Advertisement

View Page Source: what it is for

Enter a page address and see its HTML source code with line numbers and colors, like Ctrl+U on a computer but also working on a phone. Search any snippet in the code, copy all of it or download the .html file. The summary shows the size, the number of lines and elements, and the chart counts the page's scripts, stylesheets, images, links, metas and iframes.

It shows the HTML the server delivers, before JavaScript builds the page.

How to use

  1. Enter the page address.
  2. Tap View code.
  3. Search, copy or download the HTML.

When to use it

  • View a site's code on your phone.
  • Find a page's meta tags and Google Analytics code.
  • Study how a page was built.

Frequently asked questions

How do I view a site's source code on a phone?

Mobile browsers don't have the Ctrl+U of a computer. Paste the address here and the tool fetches the page HTML and shows it with line numbers and colors, ready to read, search and copy.

Is the code the same as what I see in the browser?

It is the HTML the server delivers, the same as Ctrl+U. Sites built with React, Vue and similar build much of the page later with JavaScript, so that content may not appear here.

Can I copy another site's code?

Viewing code is normal and it's how many people learn. Copying texts, images or the entire design, however, may infringe copyright. Use it as a reference and write your own.

Is there a size limit?

The tool fetches up to 2 MB of HTML, more than enough for almost every page.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 are free.

Similar tools

Thank you so much for helping!

Every donation helps keep the site online. The tools were made to help you, but we have server costs. If you can chip in, it helps a lot! Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.