User Agents

Web browsers and everyday web tech, explained

Capture All Network Requests & Responses in Chrome

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to capture every network request and response in Chrome using the built-in DevTools. You'll be able to see URLs, headers, payloads, status codes, timing, and full response bodies for any page load or interaction. No extensions or extra software are needed—everything is built into the browser.

What You'll Need

  • Google Chrome (any recent version, desktop)
  • A page or web app you want to inspect
  • Basic familiarity with right-clicking and browser menus

Step-by-Step

  1. Open DevTools. On the page you want to inspect, right-click anywhere and select Inspect, or press F12 (Windows/Linux) or Cmd+Option+I (Mac).
  2. Go to the Network tab. In the DevTools panel that opens, click the Network tab at the top. If you don't see it, click the >> arrow to reveal more tabs.
  3. Enable recording. The Network tab has a round record button (red when active). If it's gray, click it to start capturing. It's usually on by default.
  4. Clear existing logs (optional). Click the Clear icon (a circle with a slash) to remove any previous requests so you start fresh.
  5. Reload the page. Press Ctrl+R (Windows/Linux) or Cmd+R (Mac). This captures all requests made during the page load. You'll see a list of entries appear in the table.
  6. Interact with the page (if needed). If you want to capture requests triggered by clicks, form submissions, or AJAX calls, simply perform those actions while recording. Each new request will appear in real time.
  7. Filter the list. Use the filter bar at the top (e.g., Fetch/XHR, JS, CSS, Img) to narrow down the types of requests. You can also type in the filter box to search by URL or domain.
  8. Inspect a request. Click on any request in the list. A side panel opens with tabs: Headers, Payload (or Request), Preview, Response, Initiator, and Timing.
  9. View request headers. In the Headers tab, scroll down to see Request Headers and Response Headers. You'll see details like content type, cookies, user-agent, and status.
  10. View request payload. If the request sent data (e.g., a POST), the Payload tab shows the form data or JSON body.
  11. View response body. Click the Response tab to see the raw response text (HTML, JSON, etc.). The Preview tab shows a parsed, human-readable version for JSON or images.
  12. Copy request as cURL (optional). Right-click a request and choose Copy > Copy as cURL to get a command-line version for testing.
  13. Save all captured data. Right-click anywhere in the request list and select Save all as HAR with content. This exports a .har file containing every request/response, which you can share or analyze later.

Common Mistakes

  • Forgetting to clear the log. If you don't clear, you'll capture requests from previous actions, making it hard to isolate the ones you care about.
  • Not enabling recording. If the record button is off, new requests won't appear. Always check the red dot.
  • Using the wrong filter. If you click Fetch/XHR but the request is a CSS file, it won't show. Use All to see everything.
  • Looking at the wrong tab. The response body is in Response, not Headers. Many users miss it.
  • Closing DevTools before saving. If you close the panel, the captured data is lost unless you saved a HAR file.

Tips

  • Use the search box. Press Ctrl+F (or Cmd+F) in the Network tab to search for specific URLs, headers, or response text.
  • Preserve log across reloads. Check the Preserve log checkbox to keep requests when you navigate or reload—useful for SPAs.
  • Disable cache for accurate testing. Check Disable cache in the Network tab (or DevTools settings) to see fresh requests without cached responses.
  • Use the Timeline view. Click the Timeline icon (a small chart) to see a waterfall of requests, helpful for spotting slow resources.
  • Export HAR for sharing. The HAR file contains all data and can be imported into other tools like Postman or online viewers.

Troubleshooting

  • No requests appear after reload. Make sure recording is on (red button). Also, check that you're not on a page with no network activity (e.g., a blank tab).
  • Some requests are missing. Some requests (like service workers or certain browser extensions) may not show. Also, if you have a filter active, clear it. For cross-origin requests, they should still appear, but if they're blocked by CORS, they may show as failed.
  • Response body is empty. Some responses are compressed (gzip) but DevTools usually decompresses them. If you see binary data, it may be an image or font. For JSON, check the Preview tab.
  • Can't find the Network tab. If DevTools is in a separate window, click the Network tab at the top. If it's not there, click the >> overflow menu to locate it.
  • HAR file is huge. That's normal for pages with many requests. You can filter before saving by selecting specific requests (click the first, shift-click the last) and then right-click > Save as HAR with content.

Frequently Asked Questions

Can I capture network traffic from other devices (like a phone)?

Yes, but not directly in Chrome on your computer. You'd need to use Chrome's remote debugging or a proxy tool. This guide covers only the built-in DevTools for the current browser.

Does this work for HTTPS requests?

Yes, DevTools can see encrypted HTTPS traffic because it runs inside the browser before encryption is applied. You'll see the plaintext headers and bodies.

Can I save the captured data to a file?

Yes, right-click in the request list and choose Save all as HAR with content. The file can be opened in many tools.

How do I see the request payload (body) for a POST request?

Click the request, then go to the Payload tab. It shows form data or JSON. If it's empty, the request may have no body.

Why do some requests show a red status like 404 or 500?

That's the HTTP status code. It means the server returned an error. You can inspect the response body to see the error details.

Can I filter by a specific domain or URL?

Yes, type the domain or part of the URL in the filter box at the top of the Network tab. You can also use the Domain column to sort.