Own Product
PDFThor: The PDF editor for people and AI agents, built for privacy
PDFThor is a full PDF editor that runs directly in the browser. The PDF file stays on the user's computer and is not uploaded to an external server. Its engine is a fork of PDFium, the PDF engine from Google Chrome. It carries all of Google's security updates and is compiled to WebAssembly. Signing, encrypting, redacting or filling in forms all run locally in the browser. PDFThor can be embedded as a Web Component in React, Angular or plain HTML. The same principle applies to AI features: the customer decides which model is used, where it runs, and whether document content is passed to a model at all. This model operates the editor as an AI agent, the way a person does: it marks text, fills in forms, deletes and rotates pages and proposes redactions that the person approves.
The Challenge
Contracts, personnel files, patient records or letters from public authorities often contain information nobody wants to hand to an external service.
That usually leaves two options. Either PDF editing runs through a hosted provider. Then questions about data processing, storage location and data protection come up immediately. With particularly sensitive data or professional confidentiality, that can quickly rule the option out.
Or the company builds the PDF editor itself. That gives full control, but it takes a lot of time and ties up its own development capacity for good.
PDFThor sits in between: the editor runs directly in the user's browser and is integrated into the existing application. The document does not have to pass through an additional service.
The Approach
The foundation is PDFThor's own PDF engine, a fork of PDFium, the PDF engine from Google Chrome. All of Google's security updates are included. It is compiled to WebAssembly and runs entirely in the browser.
The editor stays responsive with large documents too: scrolling, zooming and editing carry on while pages are still being rendered. In the viewer, a large PDF opens from a URL before the whole file has arrived. The editor adapts to the space the host application gives it and switches to a phone menu on small screens. It takes light or dark mode from the operating system.
The PDF logic is separated from the user interface and can be tested and developed independently of it. PDFThor can be embedded as a Web Component in React, Angular or plain HTML.
PKCS#12 certificates can be read in the browser and used to create PAdES signatures. Qualified signatures (QES) are created by the customer's own trust service provider, and PDFThor embeds them in the document. PDFs can be encrypted with AES-256, with permissions set individually.
When the host application connects a timestamp service and a revocation check, a new signature can get a trusted timestamp (RFC 3161) and the data for long-term validation right away. Any signed PDF can then be made long-term valid (PAdES B-LT). Document timestamps can be added and renewed (PAdES B-LTA), so a signature stays valid after the timestamp certificate has expired.
The viewer checks each signature's certificate chain, the revocation status of its certificates (OCSP and CRL) and its timestamps. A signature turns green only when its chain ends at a trusted certificate and the revocation check confirms that none of its certificates has been revoked. The qualified and recognised trust service providers on the EU trusted lists and the Swiss trusted list are already included, for example Swisscom, SwissSign and D-Trust.
A signed document can still be edited, and its signatures stay valid for every change they permit. The viewer flags each change made after signing. A change that a signature forbids makes that signature invalid.
Redaction removes the text from the file, precisely to the character, and does not merely cover it up visually. The redacted text can no longer be copied or found by a search. In images, only the covered area is redacted. All results of a search can be redacted in one step.
Text can be edited directly on the page: it keeps the document's own font and reflows within its paragraph. Because it stays part of the page content, edited text can be searched and copied like the rest of the page. Search and replace is included, and text blocks can be added, moved, resized, formatted and deleted.
Tables and formulas stay in place while text is edited. In certified documents, text editing is locked.
When a document uses Calibri, Cambria or Georgia without embedding the font, PDFThor draws it with a free font that has the same character widths. Edited text therefore keeps the line breaks that Word set.
The text tools and the signature dialog offer four handwriting fonts. Text boxes and stamps can contain Greek and Cyrillic characters. All fonts ship with PDFThor, and none is loaded from Google Fonts.
In the built-in AI chat, the customer's own AI model operates the editor as an AI agent, the way a person does. It proposes redactions for text it finds, and the editor applies them only after the person approves. It can also highlight text, underline it and add notes to it, and a single undo reverts that step. It fills in forms: it reads the fields and the text next to each one, then names what it filled in.
It deletes and rotates pages, builds bookmarks from the headings and rewrites existing text. Its steps count as the person's own, and the person can undo every one of them.
The chat works with Claude, ChatGPT, Gemini and Grok. For each provider, the customer chooses the model and how much effort it puts into an answer. The request goes directly from the browser to the provider, with the user's or the host application's own API key and no PDFThor server in between. The host application can also set an endpoint that leads to the customer's own server.
The PDF file stays with the user and is not transferred to an external service.
Impact & Results
PDFThor covers the main PDF features completely: signing, encrypting, redacting and forms including XFDF import and export. PDF/A-2b and PDF/A-3b documents can be checked and converted, and the output is checked against veraPDF. E-invoices in ZUGFeRD, Factur-X or XRechnung format can be embedded in the PDF.
All pages appear in one view as a large grid, where they can be moved by drag and drop, with the keyboard or by touch, including on a phone. Pages can also be rotated, deleted, duplicated, extracted and cropped, and blank pages can be inserted. All changes stay a draft until they are applied, and a single undo then reverts them.
Other PDFs can be added by drag and drop or from the file picker, so documents are merged in the same view. A document can be split five ways: after a fixed number of pages, into a set number of parts, by page ranges, at blank pages or by bookmarks. The parts can be downloaded directly.
For annotating there are highlights, underline, squiggly underline and strikethrough, insertion marks, notes, formatted free text, freehand drawings, freeform highlights, shapes, links, images, an eraser and a stamp catalogue that takes custom stamps. Rectangles and polygons can also get a cloud border. Every new annotation carries its author's name, and in a mode for personal annotations each user can change only their own.
Measuring tools for distance, perimeter and area calculate with a scale, which can also be set by tracing a known length.
Typical editing features are included as well, among them watermarks, headers and footers, bookmarks, search, attachments and signature fields. Forms and annotations can be flattened into the page, after which they can no longer be changed. Title, author, subject and keywords can be edited in the document properties, and metadata can be removed too.
Every feature has unit tests and end-to-end tests that run in Chromium, Firefox and WebKit.
Menus, dialogs and panels are available in English, German, French, Spanish, Portuguese and Italian, including the panels for PDF/A and signatures.
A form designer will let users create form fields, with calculations and validation running in a sandbox in the browser. Text recognition will make scanned pages searchable and correctable. The customer's model will extract named fields such as an invoice number or an IBAN from a document. PDFThor will meet the WCAG accessibility guidelines at level AA, and more functions for AI agents will follow.
My Role
Founder, lead engineer and architect. Architecture: the editor, with the PDF logic separated from the user interface. Engine: PDFThor's own PDF engine, a fork of PDFium. Cryptography: signatures and encryption. Development with a dedicated team of AI agents for engine, cryptography, UI and tests, steered through GitHub issues.

Got a similar challenge?
Tell me about your challenge. I'll share how I'd approach it — and a realistic timeline.