Critical Request Chain Visualizer (HAR and Lighthouse)

Open a DevTools HAR export or Lighthouse report, see which CSS, fonts and scripts wait on each other before first render, and test what preloading would save.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Export your data

    Save a HAR from DevTools Network or a Lighthouse report as JSON.

  2. 2
    Open the file

    Drop it on the box; the sample loads when nothing is open.

  3. 3
    Read the summary

    Check chain latency, depth and the longest path.

  4. 4
    Inspect requests

    Tap rows to see timing, size, priority and the initiator.

  5. 5
    Apply suggestions

    Copy preload, preconnect and defer tags from the suggestions tab.

  6. 6
    Test a preload

    Mark a request as preloaded to estimate the saving, then export CSV.

About this tool

A page cannot paint until its render-critical resources arrive, and many of them are only discovered after another file has downloaded. The HTML links a stylesheet, the stylesheet imports another stylesheet, that one references a web font, and only then can text appear. Each link in such a chain costs at least one round trip, which on a mobile connection can be 150 ms or more before any bytes flow. The fix is usually simple: preload what is found late, preconnect to third-party origins, replace @import with link tags and defer scripts that are not needed for the first paint. The hard part is seeing the chain. This visualizer reads a HAR file exported from browser DevTools or a Lighthouse JSON report, builds the tree of critical requests with their timing, highlights the longest path and the total chain latency, and lists concrete fixes with ready-to-paste tags.

Loading data

In Chrome or Edge, open DevTools, go to the Network panel, reload the page and use Export HAR. Chrome includes initiator, priority and resource-type fields that this tool uses to link each request to the one that triggered it. Firefox and Safari HAR files lack initiators, so every request is attached to the document and a note says so. For Lighthouse, save the report as JSON from DevTools, PageSpeed Insights or the CLI; the critical-request-chains audit gives the tree and the render-blocking-resources audit gives measured savings. The file is read in your browser.

What counts as critical

From a HAR, the main document plus stylesheets, scripts and fonts that were requested at Highest or High priority before DOMContentLoaded are included; images are left out, as in Lighthouse. Redirects other than the document are skipped. From Lighthouse, the audit's own chain is used as is, and times are converted to milliseconds from the first request.

The chart

Each row is a request, indented under its initiator, with a bar coloured by type on a shared time axis. Rows on the longest path are tinted red. Tap a row for the full URL, type, depth, start, duration, size, priority and the initiating request. The summary shows chain latency, depth, number of critical requests, bytes transferred and the length of the longest path. Turn on longest path only to cut the view down to the chain that decides your timing.

Suggestions and what-if

Suggestions are ranked high, medium or low: fonts found two or more levels deep (preload them), stylesheets loaded by @import, scripts at high priority during first render (defer or async), scripts loaded by other scripts (modulepreload or bundling), render-blocking CSS over 50 KB (inline the critical part), and third-party origins (preconnect). Each comes with a tag you can copy, and all of them are collected in one block. Select a request and choose what if I preload this: the chart redraws it starting when the HTML begins to arrive, moves its children with it and shows the new estimated chain latency.

Limits

The what-if is an estimate: it keeps every duration the same and does not model bandwidth contention, server think time or HTTP/2 prioritisation, and it is not a substitute for measuring again. Very large HAR files with thousands of entries may be slow on phones. The tool does not fetch any URL itself.

Worked example

The built-in sample is a shop home page. Seven critical requests transfer 232 KB, the chain is three levels deep and the chain latency is 1,380 ms. The longest path runs from the HTML to the Google Fonts stylesheet to the Inter woff2 file. Suggestions include preloading the font, preconnecting to fonts.googleapis.com and fonts.gstatic.com, linking theme.css directly instead of importing it from main.css, inlining part of the 60 KB main.css and deferring app.js. Marking the font as a what-if preload moves it to start at 440 ms and cuts the estimated chain latency from 1,380 ms to 1,080 ms.

Quick facts

Frequently asked questions

What is a critical request chain?

The set of requests the browser must finish before it can render, linked by which request discovered which. Long chains delay first paint because each level waits for the one before.

How do I export a HAR file?

In Chrome or Edge, open DevTools, select the Network tab, reload the page, then use the download arrow or right-click and choose Save all as HAR. Remove sensitive data before sharing it with others.

Why are all my requests linked to the document?

Your HAR has no initiator information. Firefox and Safari exports leave it out; export from a Chromium browser for real parent links.

Does Lighthouse 12 still have this audit?

Newer versions moved it into the network dependency tree insight. If the audit is missing from your report, the tool still shows the render-blocking list.

How accurate is the what-if estimate?

It is a rough guide that keeps durations fixed. Real savings depend on bandwidth and server timing, so measure again after you add the hint.

Is my HAR file uploaded?

No. It is parsed in your browser. HAR files can contain cookies and tokens, so this is safer than online viewers that upload them.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages