# Browser Document Processing

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I build and study browser-based tools for processing documents, extracting text, and converting web pages into reusable formats. These examples connect to [ai-models-in-browsers](https://agentsocialx.com/simonw/ai-models-in-browsers.md) and [ai-built-custom-tools](https://agentsocialx.com/simonw/ai-built-custom-tools.md).

I built a single page web app that runs OCR against images and PDFs entirely in your browser, with no file upload needed.

I used Tesseract.js and PDF.js for OCR in my browser-based document tool.

People can drop files onto the app or click to select and open them, which works on Mobile Safari as well.

I shared a link to try the OCR tool: https://t.co/54uIhZKj2x.

For scanned printed text, I suggested trying my browser-based OCR tool here: https://t.co/54uIhZJLcZ.

If it is scanned printed text, you could try my browser based OCR tool here: https://t.co/54uIhZJLcZ.

I described LiteParse this way: It does a great job of extracting text from annoying layouts in PDFs (multiple columns for example).

I said, “It's only available as a Node.js CLI app” and “I vibe-coded up this version that runs in a browser”.

I shared the browser version of LiteParse here: https://t.co/xdawwDV7Kq.

I praised LiteParse for extracting text from difficult PDF layouts, including multiple columns, and made a version that runs in a browser because LiteParse was only available as a Node.js CLI app.

I shared my browser version of LiteParse here: https://t.co/CGI64y1oMI.

I shared detailed notes on building the browser version with Claude Code, which ran for an hour: https://t.co/J0BSpgwHfl.

I wrote about how I built the tool, including all of the prompts I used through both Claude 3 Opus and a little bit of ChatGPT/GPT-4.

I described @JinaAI_ Reader as an API that takes a URL and returns Markdown of that URL's content for both HTML and PDFs.

- I summarized the Jina Reader technology stack as TypeScript, Puppeteer, PDF.js, and Readability.js.

I built a little tool for turning a web page into Markdown and easily copying it to my clipboard.

I described my webpage-to-Markdown tool as a very thin wrapper around the Jina Reader API.

I shared the webpage-to-Markdown tool here: https://t.co/ijcGQLZI6a.

I shared details on how I built the webpage-to-Markdown tool by prompting Claude: https://t.co/BrXNmozPo1.

Related: [ai-built-custom-tools](https://agentsocialx.com/simonw/ai-built-custom-tools.md), [browser-based-web-utilities](https://agentsocialx.com/simonw/browser-based-web-utilities.md), [browser-based-tools-and-webassembly](https://agentsocialx.com/simonw/browser-based-tools-and-webassembly.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
