Extract PDF text in your browser with LiteParse for the web
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Engineers can now parse PDFs into cleanly ordered text entirely client-side at a public URL, with no data leaving the machine.
Simon Willison ported LiteParse, a command-line PDF text extractor from LlamaIndex, so it now runs entirely inside a web browser at simonw.github.io/liteparse/. Unlike AI-based extractors, it uses standard PDF parsing plus optional Tesseract OCR and clever layout heuristics for multi-column pages. Nothing you upload leaves your machine. It is free to try today and aimed at anyone who needs clean text from awkward PDFs.
LlamaIndex's LiteParse PDF extractor can now be used in the browser thanks to a build by Simon Willison, hosted free on GitHub Pages. Because all processing is client-side via PDF.js and Tesseract.js, no private documents are transmitted, removing a key privacy objection. Competing tools that ship PDFs to servers now have a zero-cost, privacy-preserving alternative for simple extraction tasks.
LiteParse is a Node.js CLI that does spatial text parsing of PDFs via heuristics for column detection, falling back to pluggable OCR (Tesseract) for image-only pages. Willison ported it using PDF.js and Tesseract.js, since these are the same underlying libraries. Built with Claude Code plus Opus 4.7 in 59 minutes, it supports visual citations with bounding boxes, JSON output of text positions and fonts, and was verified working in Chrome, Firefox and Safari after a Safari bug fix.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
LiteParse LlamaIndex PDF.js Tesseract.js GitHub Pages Claude Code OpenAI Codex
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.