tinybrowser is a headless browser written in Rust that ships as one 18.7 MB binary. It opens a Chrome DevTools Protocol port, so Playwright and Puppeteer connect to it the way they connect to Chrome. I installed version 0.0.16, benchmarked it against headless Chromium on the same box, ran a 51-check compatibility test, and had seven models drive it through five tasks.
What it is
The engine is assembled from parts that already exist: Stylo for CSS, Taffy for layout, Blitz for painting, html5ever for parsing and QuickJS-ng for JavaScript. The project credits Servo, Chromium, Firefox, QuickJS, Obscura, Kitesurf and Blitz. QuickJS has no JIT, and that choice explains most of what follows.

Starting it takes one command. The daemon prints a loopback URL, and the same port answers CDP, W3C WebDriver and WebDriver BiDi.
npm install tinybrowser playwright-core
npx tinybrowser daemon start --profile demo

There’s also a WebAssembly build that runs the engine inside a page or in Node. The project’s own site uses it to paint a live demo without an iframe. That build is 11.3 MB, about 4.5 MB gzipped. It has no CDP or WebDriver port, so Playwright can’t drive it. In Node it booted in about 200 ms and rendered an 800 by 600 screenshot in about 130 ms.

Footprint is the win
The tinybrowser binary is 18.7 MB. Chromium’s headless shell binary is 217 MB, and the shell’s whole directory is 296 MB. At idle, tinybrowser held about 30 MB of memory against about 169 MB for Chromium. After my run they sat at about 43 MB and about 198 MB. A daemon started in about 50 ms, and Chromium took 100 to 120 ms to launch and open a page.

Speed is the cost
I served a small shop from the same machine and loaded each page 15 times in a fresh tab, three runs per browser. The medians are below. The gap grows with page weight, and the 4,000-node page took almost nine times as long.

Raw JavaScript shows the missing JIT directly. I timed four small scripts inside the page.
| Test | tinybrowser (ms) | Chromium (ms) |
|---|---|---|
| fib(30) | 130 to 140 | 9 to 15 |
| Sort 200,000 numbers | 165 to 205 | 38 to 71 |
| Join 100,000 strings | 25 to 29 | 9 to 12 |
| Parse 20,000 JSON objects | 71 to 95 | 13 to 21 |
| Screenshot of a dashboard | 75 to 105 | 41 to 51 |
What breaks
My compatibility test has 51 checks: 20 for automation, 29 for the web platform and 2 over HTTPS. Chromium passed all 51 and tinybrowser passed 42. Filling forms, selecting, ticking, clicking, role locators, cookies, accessibility snapshots, full-page screenshots and waiting for the network to go idle all worked. The nine failures are in the diagram.

The one that bites agents is request interception: Playwright’s page.route doesn’t work. The project’s own Web Platform Tests dashboard says the same thing from the other side. Its weak areas include WebCrypto, service workers, WebRTC, WebGL, streams and IndexedDB, which sits at 23%. Its strong areas include DOM nodes at 94.9%, flexbox at 89% and CSS 2 at 90%.

Both browsers loaded example.com and Wikipedia over HTTPS. I read the certificate issuers with OpenSSL through the same proxy, and they were the real authorities: Cloudflare TLS Issuing ECC CA 3 for example.com and Let’s Encrypt for Wikipedia.
One tab runs out of memory
This is a real bug in 0.0.16. A tab that keeps navigating grows by 4 to 5 MB per page load and never gives it back. A 4,000-node page failed on its 56th load with out-of-memory errors at about 405 MB, and the catalog page failed around its 59th at about 323 MB. Once a tab was exhausted, other tabs in the same daemon hit allocation failures too until I restarted it.
The workaround is cheap. I opened a new tab, loaded a page and closed it, 120 times in a row. Memory stayed flat at 25 to 27 MB with no failures. Agents that open one tab and reuse it for a long session will hit the wall, and agents that open a tab per task won’t.

Seven models drive it
I used opencode as the harness and gave each model the same five tasks with a clean folder, tinybrowser and Playwright installed, and a ten-minute limit. The models were Kimi K3.1 Pro, DeepSeek V4.1 Flash, Claude Haiku 5.5, GPT-6.1 Terra, Gemini 4 Neon, MiniMax M4 and GLM 5.4. A small script checked every answer against the known result.
Every prompt opens with the same paragraph. The profile name changed per run, and the pelican prompt leaves out the sentence about the shop.
tinybrowser 0.0.16 and playwright-core are already installed in this folder. Start the browser with `npx tinybrowser daemon start --profile {PROFILE}` and drive it with Playwright over CDP, using `chromium.connectOverCDP(url)` and `browser.contexts()[0].pages()[0]`. A demo shop is running at http://127.0.0.1:8099. Stop your daemon when you're done.
Task 1 reads a JavaScript-rendered catalog.
Open the catalog page at http://127.0.0.1:8099/catalog. Find the cheapest product that is in stock and list every sold-out product. Write answer.json shaped like {"cheapest_in_stock":{"name":"","price":0},"sold_out":["",""]}.
Task 2 fills in a form.
Check out at http://127.0.0.1:8099/form as Hana Rua ([email protected]), size L, with gift wrap ticked. Write the confirmation code the site shows to answer.json as {"code":""}.
Task 3 pages through a table.
The orders table at http://127.0.0.1:8099/orders?page=1 has five pages reachable through its Next link. Add up the Total column over every order on all five pages. Write answer.json as {"rows":0,"total":0}.
Task 4 is the pelican, which tests SVG rendering.
Write pelican.html, a single self-contained page with an inline SVG of a pelican riding a bicycle and no external files. Render it with tinybrowser (serve it over http from a local port, or load it with setContent) and save a 1200x800 screenshot as pelican.png.
Task 5 needs interception, which the browser can’t do, so the model has to find another way.
Make the catalog page at http://127.0.0.1:8099/catalog show a single product called Mocked priced $1.00 instead of the real ones, without changing the server. Then save a screenshot as mocked.png and write answer.json as {"first_card_text":""} with the text of the first product card.
| Model | Task 1 (s) | Task 2 (s) | Task 3 (s) | Task 4 (s) | Task 5 (s) |
|---|---|---|---|---|---|
| Claude Haiku 5.5 | 19 | 16 | 26 | 41 | 55 |
| DeepSeek V4.1 Flash | 15 | 15 | 20 | 34 | failed |
| GPT-6.1 Terra | 22 | 25 | 37 | 247 | 67 |
| Gemini 4 Neon | 32 | 77 | 53 | 93 | 66 |
| Kimi K3.1 Pro | 35 | 39 | 73 | 192 | 352 |
| GLM 5.4 | 57 | 43 | 51 | 600 | 206 |
| MiniMax M4 | 176 | 46 | 83 | 265 | 259 |

The reading and form tasks were easy for everyone, and Claude and DeepSeek finished them in under 30 seconds. Gemini’s first form script hung on page.waitForNavigation() before it recovered. MiniMax took nearly three minutes on the catalog read.
All seven pelicans rendered. GLM was still working when the ten-minute limit cut it off, and its screenshot was already saved, so it counts as a pass. I also loaded the same seven pelican pages in headless Chromium. Fewer than a third of a percent of pixels differed noticeably in the worst case, so tinybrowser draws inline SVG like Chromium does.

The pelicans run Claude, DeepSeek, Gemini and GLM along the top, then Kimi, MiniMax and GPT-6.1 Terra along the bottom.
The mock task split the field. Six models got the catalog showing one product called Mocked. The runs I read for Claude, Gemini and MiniMax all gave up on page.route and used page.addInitScript to override fetch before the page ran. MiniMax’s log explains why: tinybrowser announces each request with Fetch.requestPaused but rejects the follow-up fulfillRequest and continueRequest calls with an invalid interception ID.

DeepSeek failed this task, and the reason is about the harness more than the browser. opencode refuses file access outside the run’s folder, and a refusal ended the run. On its first try DeepSeek went to write a script in /tmp. On its second and third it went looking for the checker script in the folder above. GLM’s first run ended the same way and its second passed, which is the run in the table. DeepSeek’s three runs all ended at about ten seconds.

Where it fits
It suits agents that read pages, fill forms and take screenshots on pages you control, particularly where memory and image size matter: many parallel browsers on one box, small containers, or a browser shipped inside another tool. It doesn’t suit anything that needs interception, WebSocket, WebGL, service workers or time zones other than UTC, or heavy client-side JavaScript where a 3 to 14 times slower engine adds up.
Lightpanda, a headless browser written in Zig, is the better-known alternative in this space. I couldn’t download its binary in this environment, so it isn’t in these numbers. The project’s site lists Obscura and Kitesurf among its inspirations.
How I tested
Everything ran on one Linux VM with 4 vCPUs (Intel Xeon at 2.10 GHz, one thread per core, under KVM), 15 GiB of memory, a 252 GB disk, Ubuntu 24.04 and kernel 6.18. The shop server, the load generator and both browsers shared that machine, so absolute times are only comparable within this piece. The Chromium in every comparison is its headless shell. Memory is proportional set size read from the process.
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.



