How Page Weight works
Four ways to weigh a page, all in your browser. "This page" reads the browser's Resource and Navigation Timing to report transferred vs uncompressed bytes, request count, load time, and a by-type breakdown for the current document, plus a live Core Web Vitals lens: LCP, CLS, and INP measured on your device with buffered PerformanceObservers and rated against Google's published thresholds, with the LCP element, the worst layout shift, and the slowest interaction named. "HAR file" parses a .har export from any browser's Network tab, so you can audit any site offline, with a per-request breakdown, cache and compression facts read from the response headers, and the heaviest requests. "Compare" diffs two HAR files to show what a change added, removed, grew, or shrank. "Any site" hands you a bookmarklet that pops the same summary, with LCP and CLS, on whatever page you're viewing. Every report grades the page A to F against a performance budget, splits first-party from third-party weight, draws a Lighthouse-style request waterfall, lists actionable fixes, and exports as Markdown, a shareable link, or a downloadable PNG report card.
Uses the Resource/Navigation Timing APIs, buffered PerformanceObservers for the Core Web Vitals, and client-side HAR parsing; nothing is uploaded. Cross-origin resources without a Timing-Allow-Origin header report zero size, so live totals are flagged as a lower bound.
Questions
- Does my HAR file get uploaded?
- No. The .har is read and parsed entirely in your browser with FileReader. Nothing is sent to a server, the same as the rest of the hub.
- Why is the transferred total sometimes marked a lower bound?
- Cross-origin resources served without a Timing-Allow-Origin header report a size of zero to the Resource Timing API even though real bytes crossed the wire. The tool counts how many it couldn't measure and warns you, rather than silently undercounting. A HAR export doesn't have this limitation.
- How do I get a HAR file?
- Open your browser's DevTools, go to the Network tab, reload the page, then right-click any request and choose "Save all as HAR" (Chrome) or use the download/export button (Firefox/Safari). Drop the file here.
- What's the difference between transferred and uncompressed?
- Transferred is what actually came over the network (usually gzip/brotli-compressed). Uncompressed is the decoded size the browser works with. The gap is what compression saved you.
- How is the grade calculated?
- The page is scored against a default performance budget: total transferred under 1 MB, under 50 requests, image weight under 500 KB, script weight under 350 KB, and third-party code under 40 percent of the weight. Each check is pass/fail and the weighted result maps to an A to F grade. It is a pragmatic rule of thumb, not an official standard.
- How do you tell first-party from third-party?
- By registrable domain: any request whose host is your page's domain or a subdomain of it counts as first-party, everything else is third-party. It is a coarse split (no public-suffix list), but enough to see how much of the page's weight you don't directly control.
- What does the shareable link contain?
- Only the aggregate report: the totals, the by-type breakdown, the first vs third-party split, and the page URL, packed into the link itself (nothing is uploaded). Per-file detail and your HAR are deliberately left out, so a shared link reproduces the summary, not the raw capture.
- What is the Compare tab for?
- Drop two HAR files, a before and an after, and it diffs them: the change in total bytes and request count, the delta per resource type, and the biggest per-file movers (new, gone, grew, shrank). Useful for proving a build change actually made the page lighter.
- What does the waterfall show?
- Each request as a bar on a shared timeline, ordered by when it started. The translucent part of each bar is the wait up to the first byte, the solid part is the download. It reads like the Network panel's waterfall and shows what blocked what. Colors match the resource-type palette.
- What is in the PNG report card?
- A shareable image of the grade, the headline totals, the Core Web Vitals when they were measured, and the by-type weight bar, drawn on a canvas in your browser (no upload). Handy for pasting a page's score into a ticket, a chat, or a slide.
- How are the Core Web Vitals measured?
- With the browser's own PerformanceObserver APIs, on your device: LCP from the largest-contentful-paint entries, CLS from layout-shift entries using Google's session-window rule, and INP from event-timing entries using the same high-percentile estimate as Google's web-vitals library. Ratings use the published thresholds: LCP good at 2.5s or less, CLS at 0.1 or less, INP at 200ms or less. It is a lab reading of your visit, not field (CrUX) data, so real-user numbers can differ.
- Why is INP empty until I do something?
- INP measures how quickly the page responds to interactions, so there is nothing to report until you click, tap, or press a key. Interact with the page a few times and the number appears, updated as slower interactions come in.
- Why do some vitals say not supported in this browser?
- The layout-shift and event-timing observers are Chromium-only, and LCP support varies by engine. The tool detects per-metric support and says n/a instead of showing a misleading zero. For full Core Web Vitals, measure in Chrome or Edge.
More Text & Data tools
- .env InspectorInspect, mask, and convert env files
- JSONPath ExplorerPull a value out of JSON by path
- cURL → fetchConvert curl commands to fetch()
- Markdown PreviewerLive GitHub-flavored markdown
- JSON FormatterValidate and pretty-print
- Base64Encode and decode
- Diff CheckerCompare two text blocks
- Word CountCount, readability, stats
- TimestampUnix, ISO 8601, relative time
- Hash GeneratorSHA-1, SHA-256, SHA-512
- URL EncoderEncode, decode, parse URLs
- Text CaseUPPER, lower, Title, camelCase, more
- Character EntitiesHTML entities, Unicode, ASCII lookup
- JSON to TypeScriptGenerate TypeScript interfaces from JSON
- JWT DecoderInspect JSON Web Tokens
- SQL Viewer & CopyOpen a .sql file, read it, copy it
- SQL Formatter & MinifyBeautify or compact SQL
- SQL SplitterSplit a migration into statements
- SQL Pre-flight CheckCatch RLS gaps & risky SQL
- Base ConverterBinary, octal, decimal, hex, bitwise
- Unicode InspectorCode points, bytes, invisible characters