PixelRAG: Open-Source Visual Web Scraping & RAG via Page Screenshots
PixelRAG is an open-source retriever that indexes rendered page screenshots, not HTML. Uses Qwen3-VL embeddings, FAISS, and beats text RAG on QA.
Web scraping will never be the same again.
PixelRAG has been released — an open-source retriever framework that uses images of pages instead of traditional HTML parsing.
According to the developers, traditional HTML-to-text pipelines can lose more than 40% of a page’s content, including tables, charts, and layout elements. PixelRAG works with a document in the form the user sees after rendering.
How the pipeline works:
- Renders each document (web pages, PDFs, images) into a set of tiles.
- Builds embeddings using Qwen3-VL-Embedding, fine-tuned via LoRA on screenshots.
- Creates a FAISS index and provides an API for search.
If you replace the reader model with a more powerful one, accuracy will increase without reindexing, since the index stores only pixels.
For experiments, the project team created a visual index of all of Wikipedia — over 30 million screenshots. As a result, even in this format the system outperforms the best text RAG baseline by 18.1% on text-only question answering tasks.
A plugin for Claude Code was also introduced, enabling analysis of rendered pages via screenshots without working with the DOM.
The entire project is published in access under the Apache-2.0 license, and the contains detailed error analyses, ablation studies, and comparisons with more than 25 VLM models.
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.
Related articles
All articlesGraph-Based Multimodal RAG for Document Processing on LightRAG
Open-source, graph-based universal multimodal RAG system built on LightRAG to process documents and unify text, images, tables, and more.
zvec: Lightweight Local Vector Search for Your Own Knowledge Base
Alibaba’s open-source zvec embeds vector search like SQLite—no servers. Fast hybrid vector + full-text search, on-disk index, and Zvec Studio.
Build a Second Brain Assistant: RAG, Agents, and LLMOps Course
Open-source Decoding AI course repo to build a personal knowledge base assistant with RAG, agents, ETL, fine-tuning, deployment, and LLMOps tools.