Sulat.com / Writing on AISaturday, December 5, 2026
Enter →
Agent Engineering/5 December 2026

PixelRAG searches pages as screenshots

PixelRAG renders web pages and PDFs as screenshots and retrieves the images instead of parsed text. I installed it, built an index and tested the paper's claims on five models.

3D black cat mascot holding a browser window while a magnifying glass scans a stack of web page screenshots
Illustration: Sulat, featuring the PixelRAG logo

At a glance

  • PixelRAG retrieves screenshots of web pages and PDFs instead of parsed text, then lets a vision model read the match.
  • The post's 18.1% lead is the gap to the weaker of two parsers on SimpleQA. Against Trafilatura it's about 7 points.
  • In my reader test, five models got 30 of 30 questions right from screenshots and 29 of 30 from text.
  • On a 35 page index, screenshots and text found the right page equally often.
  • The Claude Code plugin works with no MCP server. The cost is storage, close to 6 TB of tiles for Wikipedia.

PixelRAG skips the parser. It renders a web page or PDF as screenshot tiles, embeds the images, and hands the best matches to a vision-language model to read. The project comes from UC Berkeley with Princeton, EPFL, Databricks and Renmin University of China. I installed it, built an index, ran its Claude Code plugin and put its claims through five models.

Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.

Diagram: text RAG parses a web page into text chunks and flattens tables; PixelRAG screenshots it into image tiles
Both start from the same web page. Only one keeps the layout. Illustration: Sulat

What the post says, and what I found

The post that sent me to the project makes six claims. I checked each against the paper and the repository.

Claim in the postWhat I found
A parser can drop 40% or more of a pageThe paper cites earlier work for the figure. I didn’t test it.
Swapping parsers moves accuracy about 10 pointsHolds. Table 1 has SimpleQA at 60.7% with one parser and 71.6% with the other.
It beats the strongest text baseline by 18.1%The 18.1 points is the gap to the weaker parser. Against Trafilatura, the stronger one, PixelRAG leads by about 7 points.
A visual index of all Wikipedia, 30M+ screenshotsThe paper reports about 30 million tiles. The hosted API refused my connection, so I couldn’t query that index.
A Claude Code plugin with no MCP serverHolds. I installed it and ran it. It’s a skill that calls pixelshot.
Open source under Apache-2.0Holds. The repository is Apache-2.0 and pixelrag 0.4.0 installs from PyPI.
Each claim checked against the paper and the repository.

How it works

A text RAG pipeline fetches the HTML, runs an extractor such as Trafilatura, cuts the text into chunks and embeds those. PixelRAG replaces the extractor with a headless Chromium screenshot. Each page becomes one or more tall image tiles, and Qwen3-VL-Embedding-2B turns every tile into a single vector. The paper fine-tunes that model on screenshots with LoRA, with the vision encoder unfrozen and hard negatives mined during training. A FAISS index holds the vectors. At query time the top tiles go to the reader model as images, with no text step in between.

The reader is a swap-in part. A stronger vision-language model lifts accuracy without re-indexing, because the index only stores pixels.

What I ran

Everything ran on a 4 vCPU Intel Xeon 2.30 GHz virtual machine with 15 GB of RAM, a 252 GB disk and Ubuntu 24.04, with no GPU. The embedding and index steps ran on that CPU. The model calls for the reader test went out to each provider’s API.

The install is one command, and pixelshot is the renderer.

Code
uv tool install pixelrag
pixelshot https://en.wikipedia.org/wiki/2010_UEFA_Champions_League_final -o ./tiles
Terminal showing uv tool install pixelrag and pixelshot rendering a Wikipedia page into one tile in 0.7 seconds
pixelshot turned a Wikipedia page into a screenshot tile in under a second.

My first Wikipedia run was rate limited. Wikimedia returned its “Too many requests” page, and pixelshot saved that page as a tile and reported the run as complete. A later run rendered the real article. If you render many pages from one address, check the tiles.

Screenshot tile of a Wikimedia too many requests error page that pixelshot saved as a successful render
My first Wikipedia run was rate limited, and pixelshot saved the error page as a tile.

I ran Trafilatura on the same Wikipedia page. It kept the match statistics as a Markdown table, so a single page doesn’t show the parser loss the paper describes. The paper’s gap comes from an average over 10,003 SimpleQA questions.

Next I built an index over the paper itself. The build config points at a folder holding the PDF.

Code
source:
  type: local
  path: ./docs

embed:
  model: Qwen/Qwen3-VL-Embedding-2B
  device: auto

output: ./paper_index
Code
pixelrag index build
Terminal showing pixelrag index build in four stages, 35 vectors embedded on CPU, taking 12 minutes 55 seconds
Embedding the 35 tiles of the paper on CPU took almost 13 minutes.

The build rendered the 35 pages to tiles, embedded them and wrote a FAISS index in 12 minutes 55 seconds. Two things went wrong along the way. Pointing the source at the PDF file itself produced “Rendering 0 documents”, and pointing it at a folder worked. And pixelrag serve returned a server error on search, so I queried the FAISS index directly from a script.

pixelshot screenshot tile of the arXiv abstract page for the PixelRAG paper, with title, authors and abstract
What PixelRAG indexes: the arXiv page as rendered, layout and all. Screenshot of arxiv.org.

The Claude Code plugin

The plugin is the part of the post that most people will try. It adds a pixelbrowse skill and a /screenshot command to Claude Code. I installed it into a clean Claude Code 2.1.336 config.

Code
claude plugin marketplace add StarTrail-org/PixelRAG
claude plugin install pixelbrowse@pixelrag-plugins

Then I ran the kind of prompt the README suggests, with Claude Haiku 5.5 as the model and tools limited to pixelshot, Read and Skill.

Code
screenshot https://arxiv.org/abs/2606.28344 and tell me the title and the first author

Claude loaded the skill, ran pixelshot with a tile height of 1568, read the tile manifest, opened the image and answered correctly: PIXELRAG: Web Screenshots Beat Text for Retrieval-Augmented Generation, first author Yichuan Wang. It was four tool calls with no MCP server involved. I didn’t run the opencode version of the plugin.

Can a model read the screenshot as well as the text?

Before testing retrieval I wanted to know whether the reader loses anything when it’s handed a picture. I took six questions whose answers sit in the paper’s tables and body text. For each, I gave five models the right page twice: once as text from pdftotext, and once as the 1700 by 2200 tile image. Every call used the same prompt.

Code
Answer the question using only the provided material. Reply with just the answer value, no explanation. If it is not in the material, reply NOT FOUND.

Question: {question}
Code
1. In the paper's Table 1, what is the end-to-end QA accuracy of the fine-tuned PixelRAG on SimpleQA? (number only)
2. In Table 2, what is Trafilatura's Evidence Recall@3 (%) for the Table evidence type on SimpleQA?
3. In Table 5 (reader-model sweep on SimpleQA), what is Qwen3-VL-4B's accuracy with pixel retrieval?
4. In Table 6, what is the average accuracy of the reader trained with SFT at 3x compression?
5. In the Wikipedia text extractor comparison (Table 11), what is the highest Tables score any parser reached?
6. How many prompt tokens did the agent accumulate with text retrieval on MoNaCo, versus pixel retrieval?
ReaderPage as textPage as image
Claude Haiku 5.56 of 66 of 6
GPT 6.1 Terra6 of 66 of 6
Gemini 4 Neon6 of 66 of 6
Kimi K3.1 Pro6 of 66 of 6
DeepSeek V4.1 Flash5 of 66 of 6
Six questions per reader. An answer counted when it held the right value.

The images scored 30 of 30 and the text scored 29 of 30. The one miss was DeepSeek V4.1 Flash on the token question, where it returned only the first of the two figures. This is a smoke test: six questions, one page each. It shows that a current reader gets table values off a screenshot as reliably as off extracted text.

Infographic: page as text scored 29 of 30, page as image scored 30 of 30 across five models and six questions
Given the right page, the models read text and pixels about equally well. Illustration: Sulat

Does retrieval find the right page?

The harder question is whether the screenshot index finds the right page. I wrote eight questions about the paper, each with a known answer page, and ran them two ways over the same 35 pages. The pixel arm used the index I built. The text arm chunked the pdftotext output into 3,500 character pieces and embedded them with the same Qwen3-VL-Embedding-2B model. That keeps the comparison to one thing: pictures against text.

Right page rankedText chunksScreenshots
First4 of 85 of 8
In the top 38 of 87 of 8
In the top 58 of 88 of 8
Eight questions over a 35 page index. Smoke test.

The two are level. Screenshots won first place on one more question, and text won the top three on one more. Thirty-five pages is far too small to say anything about the paper’s Wikipedia result. The config I used names the stock embedding model, not the paper’s fine-tuned one, so this tests the idea and not the released weights.

The 18.1 point figure

The post says PixelRAG beats the strongest text baseline by 18.1%. Table 1 has two text baselines on SimpleQA. mwparserfromhell scores 60.7%, Trafilatura 71.6% and fine-tuned PixelRAG 78.8%. The 18.1 is the gap to mwparserfromhell. Against Trafilatura the lead is about 7 points. On NQ the lead over Trafilatura is under 3 points, 58.7% against 55.9%.

Bar chart of SimpleQA accuracy: mwparserfromhell 60.7%, Trafilatura 71.6%, PixelRAG 78.8%
The 18.1 point gap is against the weaker parser. Against Trafilatura it’s about 7. Illustration: Sulat

The result still holds up. Seven points on a standard benchmark from changing only the retrieval input is a real gain. It’s just not the headline number. The paper’s breakdown against Trafilatura says where it comes from: tables and paragraphs. Accuracy is up 9.1 points on questions answered in tables and 7.9 on paragraphs, against 4.6 on infoboxes and 0.5 on lists. For table questions, Evidence Recall@3 is 34.8% for PixelRAG, 23.8% for Trafilatura and 5.0% for mwparserfromhell.

Infographic: parsed to text a table becomes one row of digits; screenshotted it stays a 3 by 3 grid
A parser turns a table into a row. A screenshot keeps the grid. Illustration: Sulat

What it costs

Pixels are bigger than text. The paper puts the Wikipedia screenshot tiles at nearly 6 TB, against an index of about 120 GB for 30 million tiles. That index stays small because PixelRAG keeps one vector per tile. The multi-vector approach used by ColPali and ColQwen would have pushed the same index to about 6.5 TB. The paper’s suggested fix for the tiles is to delete them after embedding and re-render the top results on demand.

The saving comes at read time. On the MoNaCo agent benchmark the agent used 37.5 million prompt tokens with text retrieval and 3.6 million with pixel retrieval. Lowering the image resolution cuts tokens by up to 3 times with accuracy held, according to the paper.

Four stat boxes: 6 TB of Wikipedia tiles, 120 GB index for 30M tiles, up to 3x fewer tokens, 37.5M to 3.6M agent tokens
Pixels cost storage up front and save tokens at read time. Illustration: Sulat

On my own box the cost was time. The CPU build of a 35 page index took almost 13 minutes. That’s fine for one document set and no way to index a corpus. Anything bigger needs a GPU.

The wider picture

PixelRAG sits in a line of work that treats documents as images. ColPali and ColQwen retrieve over page images with many vectors per page. VisRAG and M3DocRAG do visual document retrieval and question answering, mostly over PDFs and slides. DeepSeek-OCR and Glyph show that rendering text as pixels can be cheaper in tokens than feeding the text. What PixelRAG adds is open web scale and a single vector per tile, so the index fits on one machine. Mistral’s open Clipstral model, which I covered earlier, is a neighbour for image and video search.

The tools it competes with are the HTML extractors: Trafilatura, resiliparse, mwparserfromhell and learned parsers such as ReaderLM and Dripper. The gain is smallest on plain lists and largest where structure or layout carries the answer.

The limits are the ones the paper lists in its appendix:

  • A screenshot can’t follow a hyperlink. Links show as blue text and aren’t clickable, so crawling and multi-hop retrieval lose the link graph. The paper suggests storing link targets as metadata beside each tile.
  • Storage is large, close to 6 TB for Wikipedia, unless you render on demand.
  • Every datastore in the paper is English only.

For agents the plugin matters more than the index. Handing an agent a screenshot of a page instead of its DOM is what lets it see a chart or a styled table, and pixelshot made that a one-line install. I’d use it for PDFs and pages where layout carries the answer. I wouldn’t use it for link-heavy crawling.

Run it yourself

  • Install pixelshot with uv tool install pixelrag and render a page you care about.
  • Look at the tile before you trust it. A rate-limited site gets saved as a tile too.
  • Point a vision model at the tile and ask it the question your users ask.
  • Build an index only once the screenshots look right, and use a GPU for anything past a few documents.