How PDF Editor works
PDF Editor lets you annotate a PDF by adding text boxes, placing images, drawing highlight rectangles, or placing white-out boxes over content you want to obscure. When you are done, you download a new PDF with all the additions written permanently into the page content via pdf-lib, running inside your browser. The document never travels to a server.
The tool works on top of the rendered page: it does not modify the underlying PDF content streams directly when you place an annotation, so you can reposition elements before committing. When you download, pdf-lib bakes all the overlay elements into the page. Text added this way is a visual layer, not appended to the original text stream, so the new text and the original text are separate. White-out boxes are opaque rectangles drawn over the content; they obscure content visually but do not alter the underlying data in the page stream. If you need to permanently redact sensitive content beyond visual coverage, a dedicated PDF redaction tool with content-stream editing is more appropriate.