Chrome DevTools: Where Are Size & Content?
In this article
In Chrome DevTools, the size and content of a web page are primarily found in the Network panel (for transferred bytes and resource breakdown) and the Elements panel (for the HTML/DOM content). The Network panel shows the total page size, per-resource size, and load times; the Elements panel shows the live HTML structure. For a quick summary of page weight, open DevTools (F12 or Ctrl+Shift+I on Windows/Linux, Cmd+Option+I on Mac), click the Network tab, and reload the page — the bottom status bar displays total transferred size and number of requests.
What the Network Panel Tells You
The Network panel is the go-to place for size data. When you open it and reload, you see a table of every request the page makes — HTML, CSS, JavaScript, images, fonts, and API calls. Each row shows the resource name, status, type, and size. The bottom bar (or the summary at the top in newer versions) shows:
- Transferred — the actual bytes sent over the network, after compression (like gzip or Brotli).
- Resources — the number of requests made.
- Finish — total load time.
For a per-resource breakdown, click any item to open the Headers, Preview, and Response tabs. The Size column shows both the transferred size and the decoded size (e.g., "14.2 KB transferred, 28.1 KB resource").
How to See the Full Page Size (Not Just Transferred)
If you want the uncompressed, full page weight, you need to look at the resource size column. In the Network table, right-click the column headers and enable Size (it’s usually already visible). The number in parentheses (if shown) is the decoded size — the actual bytes after decompression. To get a total, you can sum the decoded sizes manually or use the Coverage tab (see below). Alternatively, open the Performance panel and record a reload; the summary at the top shows the total transferred size and resources.
Where to Find the Content (HTML/DOM)
For the actual content of the page — the HTML structure — use the Elements panel. It shows the DOM tree, which is the parsed version of the HTML. You can expand nodes, edit attributes, and see the CSS applied. To see the raw HTML source, right-click the page and select View Page Source (or press Ctrl+U). But note that the source is the original HTML, while the Elements panel shows the live DOM after JavaScript has modified it.
For a text-only view of the content, you can use the Search feature in the Elements panel (Ctrl+F) to find specific text. For the full text content of the page, you can use the Console to run document.body.innerText — this returns the visible text without HTML tags.
Using the Coverage Panel for Unused Bytes
If you want to know how much of the CSS and JavaScript is actually used, the Coverage panel is invaluable. To open it, press Ctrl+Shift+P (Cmd+Shift+P on Mac) and type "Coverage", then select Show Coverage. Click the reload button in the panel, and it will show you the total bytes of CSS/JS loaded, the used bytes, and the unused percentage. This helps you identify bloated code that you might want to remove or lazy-load.
Common Problems and Misconceptions
One common confusion: the Network panel's "Transferred" size is not the same as the page's actual weight. Transferred includes compression and network overhead, so it's often smaller than the raw resource size. For example, a 100 KB JavaScript file might transfer as 30 KB with gzip. The decoded size (in parentheses) is the true size on disk.
Another issue: the Network panel only shows resources loaded after you open it. If you open DevTools after the page has loaded, you won't see the initial requests. Always reload the page with the Network panel open to get the full list.
Also, some resources (like images loaded via CSS or JavaScript) may not appear if they have a data: URI or are inlined. In that case, the size is embedded in the HTML/CSS itself.
Comparing with Other Browsers' Tools
Firefox's DevTools has a similar Network panel, but the size column is labeled differently — it shows "Transferred" and "Size" separately. Safari's Web Inspector also has a Network tab, but it's less detailed and doesn't show decoded sizes by default. Edge, being Chromium-based, has the same DevTools as Chrome, so the instructions here apply identically.
For a quick page-weight check without DevTools, you can use online services like Pingdom or WebPageTest, but they give you a third-party perspective and may not reflect your local cache or network conditions.
Practical Steps to Find Size and Content
- Open DevTools: Right-click anywhere on the page and select Inspect (or press F12).
- Go to the Network tab. If it's empty, press Ctrl+Shift+R (Cmd+Shift+R) to do a hard reload, which clears cache and reloads all resources.
- Wait for the page to finish loading. The bottom status bar shows total transferred size and request count.
- For a per-resource breakdown, click on any request to see its size in the Headers tab under Response Headers (look for
Content-Length) or in the Size column. - To view the HTML content, switch to the Elements panel. You can also press Ctrl+U to view the source in a new tab.
Frequently Asked Questions
How do I see the total page size in Chrome DevTools?
Open the Network panel, reload the page, and look at the bottom status bar. It shows the total transferred size (e.g., "1.2 MB transferred") and the number of requests. For the uncompressed size, you'll need to sum the decoded sizes from the Size column (right-click the column header and ensure "Size" is checked).
Why does the Network panel show a small size compared to the actual page?
Because the panel shows the transferred size, which is compressed. The decoded size (in parentheses) is the actual resource size. Also, some resources may be cached and not reloaded — use a hard reload (Ctrl+Shift+R) to force all resources to load.
How can I view the full HTML source of a page?
Right-click the page and select View Page Source (or press Ctrl+U). This opens a new tab with the raw HTML as sent by the server. Note that this is not the live DOM — use the Elements panel to see the current state after JavaScript runs.
What does the "Size" column in the Network panel mean?
It shows two numbers: the transferred size (compressed) and the resource size (uncompressed). For example, "12.3 KB transferred, 45.6 KB resource" means the server sent 12.3 KB of compressed data, but the actual file is 45.6 KB when decompressed.
Can I see the size of a specific image or script?
Yes, in the Network panel, click on the request for that image or script. In the Headers tab, look for Content-Length in the response headers — that's the size in bytes. Alternatively, the Size column shows it directly.
How do I find the content of a page that is dynamically loaded?
Dynamically loaded content appears in the Network panel as XHR/fetch requests. Click on such a request and go to the Preview or Response tab to see the JSON or HTML returned. For the final DOM, use the Elements panel after the content has loaded.