What Is Browser Sandboxing? How It Works and Why It Matters
Browser sandboxing limits what web content can do if a browser process is compromised. Learn how Chromium’s sandbox and Site Isolation work, where their limits are, and how to inspect a page safely.
Browser sandboxing runs web content in processes with restricted permissions, limiting what a compromised process can access on your computer. It reduces the possible damage from a vulnerability; it does not make exploitation impossible or guarantee that every browser component is equally restricted.
In Chromium and Chrome, renderers process much of a page’s content while the browser process coordinates privileged operations. Site Isolation adds another layer by separating pages from different sites into processes. These are Chromium examples, not a claim that every browser uses the same design.
What browser sandboxing means
A browser handles complex, untrusted input: HTML, JavaScript, images, fonts, and other resources from websites. Sandboxing is a containment layer that restricts what code processing that input can do. The security principle is least privilege: a process should have only the access it needs.
In Chromium’s architecture, renderer processes handle page content. A renderer does not need unrestricted access to your files, devices, or other operating-system resources to draw a page. The browser process coordinates privileged interactions, such as operations that require broader access. The sandbox narrows the renderer’s permissions and mediates access to resources it cannot use directly.
Sandboxing is about limiting consequences. It does not assert that a renderer cannot have a bug or be compromised. Chromium’s security model considers renderer compromise and asks what an attacker could do next.
How a browser sandbox works
- The browser receives a navigation. The browser’s coordinating process handles the request and assigns page work to a renderer.
- The renderer processes page content. It parses and executes complex content, but runs with reduced permissions compared with components that need broader system access.
- Privileged work is mediated. When page processing needs an operation outside its restricted access, browser architecture can broker or handle that interaction through a more privileged component.
- Operating-system controls enforce restrictions. The particular mechanisms depend on the operating system and process role. Chromium’s Windows diagnostic documentation, for example, describes privilege reduction and operating-system mitigations. ChromeOS security material describes layers such as mandatory access controls, device filtering, namespaces, and filesystem restrictions. These are scoped examples, not a universal list implemented identically by every browser.
The browser process and some supporting processes may have broader access than a renderer. The sandbox’s protection therefore depends on which process is affected, the platform, and the restrictions in place. A vulnerability in a more privileged component can have different consequences from one in a sandboxed renderer.
What Site Isolation adds
Site Isolation is related to sandboxing but addresses a different boundary. The Same Origin Policy ordinarily prevents one site from reading another site’s data. Browser bugs, a compromised renderer, or speculative side channels can put that boundary at risk.
In Chromium’s Site Isolation design, pages from different sites are placed in separate processes. This lets the browser limit which cross-site data a process receives and makes it harder for a malicious site to access information from another site, including in some renderer-compromise scenarios. Site Isolation works alongside the sandbox and Same Origin Policy; it does not replace either one.
Chromium documented Site Isolation as enabled by default on desktop for all sites in Chrome 67 and on Android for sites users logged into in Chrome 77. Those are historical rollout milestones, not a statement of current defaults or exact behavior on every device. Check the relevant browser’s current documentation for its behavior.
What browser sandboxing protects against—and what it does not
| It can help limit | It does not guarantee |
|---|---|
| Access by a compromised web-content process to files, devices, and operating-system resources that the process is not permitted to use. | That vulnerabilities never occur or that every browser process is equally restricted. |
| Some paths from a compromised renderer toward broader system access, by requiring privileged operations to pass through other components or controls. | That a browser escape, a flaw in a privileged component, or an attack involving another layer cannot succeed. |
| With Site Isolation, some cross-site exposure by keeping different sites’ page processing in separate processes. | Protection from every cross-site attack or side channel. Chromium’s threat model explicitly discusses speculative side channels. |
Chromium’s Site Isolation overview reported 10 potentially exploitable renderer-component bugs in M69, 5 in M70, 13 in M71, 13 in M72, and 15 in M73. The project said the count included only bugs reported to it or found by its team. This historical series illustrates why its threat model allows for renderer bugs; it is not a current vulnerability rate or a complete count.
How to inspect Chromium sandbox status
For a Chromium-based browser, chrome://sandbox is a diagnostic page that shows sandbox information. Chromium describes it as mainly useful to developers and for troubleshooting. It is not a product recommendation, and seeing diagnostic information is not a substitute for understanding the browser’s current security documentation.
- Open a new tab in a Chromium-based browser.
- Enter
chrome://sandboxin the address bar. - Review the process and sandbox details shown. Available details can vary by platform and browser version.
- If you are investigating a specific process or security issue, use the browser vendor’s current documentation and reporting channels; do not infer that a single diagnostic view proves the whole browser is secure.
Capturing a page without running a browser yourself
If your task is to inspect or document a page rather than study the sandbox internals, a screenshot API can perform the browser capture for you. ScreenshotNeo is a website screenshot API and MCP server from Yorker Media. A screenshot service runs the capture in its own environment; it does not change the sandbox settings on your computer or replace browser security controls.
Or skip the browser setup
Make a GET request with a page URL to receive a PNG, JPEG, WebP, or PDF. The examples below use the documented API endpoint and save the response body. See the ScreenshotNeo API documentation for request options and response details.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
import requests
r = requests.get(
"https://api.screenshotneo.com/v1/shot",
params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"},
timeout=90,
)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`Screenshot request failed: ${res.status}`);
const fs = await import('node:fs/promises');
await fs.writeFile('shot.webp', Buffer.from(await res.arrayBuffer()));
ScreenshotNeo accepts cookie or consent banners like a visitor before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each of those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots.
Sign up for 1,000 free screenshots a month, with no card required.
Performance, reliability, and cost considerations
- Performance: Site Isolation can increase memory overhead because pages from different sites may use separate processes. Chromium identifies this as a tradeoff; the cited documentation does not establish a current numeric cost. Actual impact depends on implementation and device.
- Reliability: Sandboxing is one layer in a defense-in-depth design. It can constrain a compromised renderer, but it cannot promise that the browser, operating system, or all privileged components are free of vulnerabilities.
- Cost: Browser sandboxing is part of browser architecture, not a feature readers need to purchase based on the evidence here. A separate screenshot API is an optional service for capture workflows, not a way to obtain or enable a browser sandbox.
Troubleshooting and common misconceptions
| Symptom or assumption | Likely explanation | What to do |
|---|---|---|
chrome://sandbox is unavailable. |
You may not be using a Chromium-based browser, or the browser/version/platform may not expose that diagnostic page. | Confirm the browser family and consult its documentation. Do not assume every browser uses Chrome’s internal page or terminology. |
| The diagnostic page shows different details on another computer. | Sandbox restrictions and process roles vary by operating system and platform. | Compare like platforms and versions, and consult documentation scoped to that environment. |
| A sandboxed browser process is described as “safe.” | Sandboxing limits permissions; it does not eliminate bugs or all attack paths. | Treat it as damage limitation and defense in depth, not a guarantee against malware or data theft. |
| A site isolation claim is taken to mean the Same Origin Policy is unnecessary. | Site Isolation is an additional process-level layer, not a replacement for the web security model. | Understand it alongside the Same Origin Policy and sandbox restrictions. |
| More processes appear to use more memory. | Separating sites into processes can add memory overhead. | Consider the tradeoff in the context of the device; the reviewed sources do not give a universal current overhead figure. |
| A browser sandbox is treated as a setting that must be bought or separately installed. | The available evidence describes it as part of browser architecture. | Use the browser’s own security documentation. Do not buy a generic security product on the assumption that it implements the browser’s sandbox. |
Frequently asked questions
Does browser sandboxing protect my computer?
It can reduce the system access available to compromised web-content processes, which can limit damage. It is not a guarantee against browser vulnerabilities, escapes, attacks on privileged components, or every form of data theft.
Is browser sandboxing the same as Site Isolation?
No. Sandboxing restricts a process’s access to system resources. Site Isolation separates pages from different sites into processes to reduce cross-site exposure. Chromium uses these as related layers.
Does every browser sandbox pages in the same way?
This article uses Chromium documentation for its architecture examples. The available evidence does not establish a current, reliable comparison across browser implementations, platforms, and versions.
Do I need to pay for browser sandboxing?
No purchase is supported by the cited evidence. Sandboxing is described as part of browser architecture. A screenshot service can help capture pages, but it does not provide your local browser’s sandbox.
Sources
- Chromium: Site Isolation — design, threat model, tradeoffs, and historical bug series.
- Chromium: Sandbox design documentation — process sandbox design.
- Chromium: Chrome sandbox — Windows-focused sandbox diagnostic information.
- Chromium security documentation — broader security architecture context.


