Projects / Python tool
PdfTextEdit
Replaces a word in a PDF and keeps it real, selectable text in the document's own font.
What it does
- It changes the text inside the page itself, instead of covering the old word with a white box.
- Later words on the same line move along to fit, using the font's own character widths.
- If the new word needs a letter the PDF's font does not carry, it borrows one from a matching system font.
- After every edit it renders the page before and after, and reports exactly which parts changed.
- It works on one common kind of PDF, with embedded TrueType fonts, and refuses anything else rather than damage it.
Details
- StatusWorking
- WhenSeptember 2026
- Built withPython
- LicenceMIT
- ByHarsh Bajpai
A personal project by Harsh Bajpai, separate from Ramya Ventures.