Sigil is the open-source desktop editor for EPUB files, maintained by volunteers for well over a decade. Where a converter rewraps a book, Sigil opens it up: chapters, the stylesheet, the table of contents, and the metadata all become directly editable, in a visual view and a code view alike.
The typical honest work: repair a contents page a converter mangled, fix encoding errors in an old file, change covers or metadata in batches, or build an EPUB properly from scratch. Regex find-and-replace runs across the whole book, and a plugin system extends the program, with validation wrappers among the most-used additions.
The limits: it edits EPUB only — no MOBI, no PDF — it runs on the desktop, and it assumes some willingness to learn how an EPUB is assembled. It is a workshop tool rather than a reader, and it cannot open DRM-protected files, by design and by law. For anyone producing or repairing EPUBs by hand, it remains the standard free answer.