Add text, input boxes, pictures, signatures, delete pages, merge PDFs and password protect them. All happening in the browser, 100% free and no sign-up.
Love the idea. However, there is no guarantee that the no-upload will not change. Which begs a question: wouldn't it be great if browsers provided a guaranteed "offline only" mode? Since they don't, I personally would prefer downloading this app as a standalone electron (or similar) app, or a docker container where I could disable Internet access.
It's a great idea indeed. But the paranoid _like myself?_ would probably not recommend it as it runs on...well...a browser. I'm not at ease with the chance that a code change someday would / could allow a copy of my file to be uploaded anywhere.
As for having the browsers run in "offline mode" (proxy equal 127.0.0 1?)...neat but I would vote against it. My fridge just needs to keep stuff cold, my toaster should serve bread, my Internet browser should not be an app.
The "offline only" app could be a PWA where you can access if if you're offline but I could even enforce disabling network requests in the code itself. Seems like the most straightforward solution to me. Could even make updates opt-in. Would keep it lightweight and easily accessible for anyone. What do you think of this? Would you be willing to pay for this, or are certain features you'd be willing to pay for? Curious you're thoughts.
For what it's worth, Firefox has had most of these features built into their PDF.js viewer for a while. I believe signatures were recently added. I'm not sure whether there's capability to remove pages or merge PDFs, though.
pdf.js is also available as an extension on chromium based browsers.
I've found that scrolling on pdfs on a high dpi screen using the built in chromium pdf reader is extremely laggy so this has always been a must-have extension for me.
That's the problem with all the pdf editors available out there. I guess adding stuff is much easier than editing existing stuff which you didn't add, and can be laid out in a gazillion ways, because PDF is a format for viewing and printing, not for editing.
I had a period when I worked with lots of documents. I could only find one fairly decent PDF editor which deserves to be called that way. I could use it to open any PDF and delete an existing element, or change text in an existing field. Sometimes things behaved funny, for example a text field can have each letter in a separate block, but I assume the tool did what it could within reasonable effort. It worked fine for me overall.
Editing text in PDFs is _really_ hard compared to other document formats because most PDFs don't really encode the "physics" of the document. I.e. there isn't a notion of a "text block with word wrapping," it's more "glyphs inserted at location X with font Y."
If the PDF hasn't been made accessible, you have to do a lot of inferencing based on the layout about how things are grouped and how they should flow if you want to be able to make meaningful edits. Not impossible (Acrobat does it), but very challenging. It's part of the legacy of PDF as a format for presentation and print jobs, rather than typesetting.
It's still what a PDF editor, as it says in the title, would do. With a quick Google I found one that I hadn't heard about before, and it let me edit some text and save it for free.
Yes, and alongside formatting challenges, PDFs commonly only include the glyphs from the font that are actually used in the document.
So if you had PDF with "Hello World" on it, you could feasibly change it to "Hello Hello", but wouldn't be able to change it to "Goodbye World" (as the glyphs for "G", "b", "y", and "e" are not included in the PDF) Sure, you could do a bit of detective work to figure out which font it was from the glyphs or something and lookup and insert new glyphs into the PDF, but I can't imagine a generic PDF editor being capable of doing this for you. Some editors get around this but just straight up switching the font(s) for the whole PDF, so they'll look different after saving.
PDF was basically created as a final presentation format, it's essentially append-only by design, which is why you hear so often of redactions just marking up a white/black box over text.
You can edit text streams, which needs a decompress/recompress, messes up all the object reference offsets for the entire file, potentially adds or removes characters to the subset font, which may not be referenced by the glyphs but a number instead to intentionally break copy/paste/scrape (e.g. 'a' is not 'a' in the text stream, but a random number), etc. Assuming the text is even marked up as strings, and not individually positioned characters with nested offset co-ordinate scaling to further muddy the waters. The fact so many people want to edit PDFs probably indicates a design flaw on Adobe's side, when considering what customers really want.
What I miss in free alternatives is the ability to redact. Not just by placing a black bar above, but such that the text also leaves the PDF. Shouldn't even need to reflow other text as mentioned in another comment, as things would otherwise stay the same.
check out pdfredactoronline.com I also built that. I had to make it separate for now as it's using MuPDF JS library which has APGL licensing, but I might add it in here if it seems I can add it while still complying.
I noticed that this tool doesn't preserve links within PDFs. ( https://github.com/Hopding/pdf-lib/issues/341 ) That's one of the main things I always try out with PDF editors, and it saddens me to see that this one also runs into that issue.
Fixes would be either using a different PDF library, or manually implementing that feature with the building blocks that pdf-lib provides.
Not sure if you're referring to external or internal links but external ones are indeed preserved when once you download the modified PDF.
I've updated it so that external links are also clickable when viewing the PDF in the editor. Working on getting internal links to be clickable and function as well. Let me know if this fits what you're after
Comments (182) 50 threads
Earlier commentsAs for having the browsers run in "offline mode" (proxy equal 127.0.0 1?)...neat but I would vote against it. My fridge just needs to keep stuff cold, my toaster should serve bread, my Internet browser should not be an app.
The "offline only" app could be a PWA where you can access if if you're offline but I could even enforce disabling network requests in the code itself. Seems like the most straightforward solution to me. Could even make updates opt-in. Would keep it lightweight and easily accessible for anyone.
What do you think of this? Would you be willing to pay for this, or are certain features you'd be willing to pay for? Curious you're thoughts.
I've found that scrolling on pdfs on a high dpi screen using the built in chromium pdf reader is extremely laggy so this has always been a must-have extension for me.
there aren't existing packages that can edit existing PDF text in the browser, but I'll do it myself sometime soon
I had a period when I worked with lots of documents. I could only find one fairly decent PDF editor which deserves to be called that way. I could use it to open any PDF and delete an existing element, or change text in an existing field. Sometimes things behaved funny, for example a text field can have each letter in a separate block, but I assume the tool did what it could within reasonable effort. It worked fine for me overall.
If the PDF hasn't been made accessible, you have to do a lot of inferencing based on the layout about how things are grouped and how they should flow if you want to be able to make meaningful edits. Not impossible (Acrobat does it), but very challenging.
It's part of the legacy of PDF as a format for presentation and print jobs, rather than typesetting.
Continue this thread — 3 replies
So if you had PDF with "Hello World" on it, you could feasibly change it to "Hello Hello", but wouldn't be able to change it to "Goodbye World" (as the glyphs for "G", "b", "y", and "e" are not included in the PDF)
Sure, you could do a bit of detective work to figure out which font it was from the glyphs or something and lookup and insert new glyphs into the PDF, but I can't imagine a generic PDF editor being capable of doing this for you.
Some editors get around this but just straight up switching the font(s) for the whole PDF, so they'll look different after saving.
You can edit text streams, which needs a decompress/recompress, messes up all the object reference offsets for the entire file, potentially adds or removes characters to the subset font, which may not be referenced by the glyphs but a number instead to intentionally break copy/paste/scrape (e.g. 'a' is not 'a' in the text stream, but a random number), etc. Assuming the text is even marked up as strings, and not individually positioned characters with nested offset co-ordinate scaling to further muddy the waters.
The fact so many people want to edit PDFs probably indicates a design flaw on Adobe's side, when considering what customers really want.
Fixes would be either using a different PDF library, or manually implementing that feature with the building blocks that pdf-lib provides.
I've updated it so that external links are also clickable when viewing the PDF in the editor. Working on getting internal links to be clickable and function as well.
Let me know if this fits what you're after
All comments shown.
Couldn't load more comments. Check your connection and try again.