WebGPU Inspector
Inspect . Capture . Record . Shader Debugger . Shader Flame Graph
Introduction
Inspection, profiling, and graphics debugging browser extension for WebGPU.
WebGPU Inspector is designed to inspect what's happening with WebGPU on the page, independent of the engine.
WebGPU Inspector includes three tools:
- Inspect — a live view of every GPU object on the page. Inspect their details, plot frame times (with CPU submit and GPU time), detect dropped frames and whether the frame is CPU- or GPU-bound, plot object allocations over time, inspect textures, and edit shaders live on the page.
- Capture — records the GPU commands used to render a frame, with render pass output images, textures, buffer data, and render state, letting you inspect details about each command, including the storage and uniform buffers used for draw and dispatch calls. Includes the ability to interactively debug shaders.
- Record — records all GPU commands and data used to render a set of frames, generating a self-contained HTML or binary file that can play back the render or be used for bug reports.
Developer Tools Window
Select More Tools / Developer Tools, or press F12 or Shift+CTRL+J (Option + ⌘ + J on MacOS). You can also right-click on the page and select Inspect. When the WebGPU Inspector extension is enabled in the extension manager, there will be a WebGPU Inspector tab.

Extension Problem Solving
WebGPU Inspector panel missing from Developer Tools
If the WebGPU Inspector tab is not present on the Developer Tools panel, try closing the Developer Tools window and opening it again. Sometimes the browser doesn't load the extension.
Inspect Start, Capture, or Record does not work
Sometimes the browser extension script does not get injected into the page properly. Refresh the page and WebGPU Inspector should start working.
Inspect is running but Capture does not work
Some pages will not update if they do not have focus. If Capture is not recording anything, try selecting the page to make sure it has focus.
Installation
Chrome Web Store
Install WebGPU Inspector from the Chrome Web Store.
Firefox Add-Ons Store
Install WebGPU Inspector from the Firefox Add-Ons Store.
Manual Injection
If the WebGPU Inspector's automatic injection isn't working to inspect the page (workers inside of iframes cause trouble), you can include webgpu_inspector.js directly in a page.
Add the script tag to your page before any code that uses WebGPU, so the inspector can patch the WebGPU API before it's used:
<script src="https://cdn.jsdelivr.net/gh/brendan-duncan/webgpu_inspector@main/extensions/chrome/webgpu_inspector.js"></script>
To pin to a specific release instead of tracking main, replace @main with a version tag (e.g. @1.2.0).
When loaded this way, the script wraps the page's WebGPU API and exposes the inspector instance as webgpuInspector on the global (window.webgpuInspector in a page, self.webgpuInspector in a worker).
Once the inspector is loaded, you have two ways to view what it records: