News for hackers. Stuff that matters.
Re:Show HN: PDFMergely – In-browser PDF tools that never upl... by jimjimjim on Tuesday June 30, 2026 @05:55AM (#48730503)
Question about merging: How do you handle merging multiple pdf that have forms? Are the form fields renamed to prevent form field name clashes?

And what pdf toolkit do you use?

Re:Show HN: PDFMergely – In-browser PDF tools that never upl... by pdfmergely on Tuesday June 30, 2026 @06:35AM (#48730718)
Our merge is page-level, not form-aware. We copy the pages (including the visual appearance of form fields), but we don't merge the PDFs' AcroForm dictionaries.

As a result, form fields typically aren't fillable after merging, and field name conflicts aren't an issue, so we don't rename fields.

We use @cantoo/pdf-lib (a maintained fork of pdf-lib) running entirely client-side in a Web Worker, so all processing happens locally in the browser and no files leave the user's device.