| title | pdf-extractor web component |
|---|---|
| author | Patrick Hall |
Built with Claude.ai plus some tweaks.
This component is a web component that allows you to extract text from PDF files. It uses the pdf-lib library to read the PDF and extract the text content. The extracted text is then displayed in a textarea element.
The resulting text can also be downloaded as a text file.
The component depends on pdfjs, a JavaScript library for parsing and rendering PDF files.
As I often use this component to extract from multi-column dictionaries, it has some support for columns.