---
title: 'Stop scrolling the Network panel: filter it'
description: >-
  The Network panel's filter box takes keys such as status-code, method and domain. Combine them to
  cut four hundred requests down to the three you need.
url: https://expiredqueues.com/filter-chrome-devtools-network-requests/
markdown: https://expiredqueues.com/filter-chrome-devtools-network-requests/index.md
date: '2023-08-15T09:00:00.000Z'
image: https://expiredqueues.com/images/og/filter-chrome-devtools-network-requests-07e09eba.jpg
---

Developer Tools posts tips-tricks

# Stop scrolling the Network panel: filter it

15 August 2023 By Adrian Noel 2 min read

On this page

1. [Video](#video)
2. [Open the Network panel from the keyboard](#open-the-network-panel-from-the-keyboard)
3. [Filter by status code](#filter-by-status-code)
4. [Combine filters](#combine-filters)
5. [Invert a filter](#invert-a-filter)
6. [Keys to know](#keys-to-know)

A page makes four hundred requests. One of them returned 404. Don't scroll the Network panel to find it. Filter it.

The filter box above the request list takes keys, and you can combine them.

## Video

[Filtering the Chrome DevTools Network panel by status code and method](https://www.youtube-nocookie.com/embed/mAmihs5G3kE)

## Open the Network panel from the keyboard

1. Open DevTools.
2. Press `Cmd` + `Shift` + `P` on macOS, or `Ctrl` + `Shift` + `P` everywhere else. This opens the Command Menu.
3. Type `network` and select the Network panel.

This works from any DevTools panel.

## Filter by status code

1. Click the filter box.
2. Type `status-code:`. DevTools lists the status codes it has seen on this page.
3. Press `Tab` to accept one.

```text
status-code:404
```

The list now shows only the failed requests.

## Combine filters

Separate filters with a space. DevTools joins them with AND. It doesn't support OR.

This shows every POST that returned 201:

```text
method:POST status-code:201
```

On a page you're debugging, those are usually the writes that succeeded.

## Invert a filter

Prefix a key with `-` to exclude what it matches. This hides PNG and JPEG images:

```text
-mime-type:image/png -mime-type:image/jpeg
```

The **Invert** checkbox next to the filter box inverts the whole filter.

## Keys to know

| Key                    | Matches                                                  |
| ---------------------- | -------------------------------------------------------- |
| `status-code:`         | The HTTP status, such as `404`, `201` or `304`           |
| `method:`              | `GET`, `POST`, `OPTIONS`                                 |
| `domain:`              | The host. Wildcards work, as in `domain:*.stripe.com`    |
| `mime-type:`           | `application/json`, `text/css`                           |
| `larger-than:`         | A size in bytes or with a suffix, as in `larger-than:1M` |
| `has-response-header:` | Requests whose response carries a given header           |
| `set-cookie-name:`     | Responses that set a named cookie                        |
| `is:`                  | `running`, `from-cache`, `service-worker-intercepted`    |
| `resource-type:`       | `document`, `fetch`, `websocket`, `image`                |

Chrome documents 21 keys in the [Network features reference](https://developer.chrome.com/docs/devtools/network/reference).

Text that isn't a key matches against the URL as a substring.

Two filters are worth memorizing:

- `larger-than:500k` finds the heavy requests on a slow page.
- `is:from-cache` shows which requests the cache served, so you can check your cache headers.

**Expired Queues is on YouTube.** Short videos on the same topics as this blog.

[Watch on YouTube](https://www.youtube.com/@expiredqueues)

[Previously Flutter vs. React Native: What You Need to Know Before Choosing Your Mobile App Framework](https://expiredqueues.com/flutter-vs-react-native-what-you-need-to-know/index.md) [Next A better ls on macOS: use eza, but not as an alias](https://expiredqueues.com/better-ls-macos-eza/index.md)

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "Stop scrolling the Network panel: filter it",
  "description": "The Network panel's filter box takes keys such as status-code, method and domain. Combine them to cut four hundred requests down to the three you need.",
  "datePublished": "2023-08-15T09:00:00.000Z",
  "dateModified": "2023-08-15T09:00:00.000Z",
  "author": {
    "@type": "Person",
    "name": "Adrian Noel",
    "url": "https://expiredqueues.com/about/"
  },
  "publisher": {
    "@type": "Person",
    "name": "Adrian Noel"
  },
  "mainEntityOfPage": "https://expiredqueues.com/filter-chrome-devtools-network-requests/",
  "keywords": "posts, tips-tricks, tools, chrome, debugging, micro-tuts",
  "articleSection": "Developer Tools"
}
```
