Pandoc is the command-line converter that quietly holds the document world together, written and maintained by the philosopher John MacFarlane. It reads Markdown, DOCX, HTML, LaTeX, and a long list of other formats, and writes EPUB and PDF among many outputs. When a program or website converts documents, there is a good chance Pandoc is underneath it.
For a reader, the honest path is the manuscript path: a text you control, in Markdown or DOCX, becomes a real EPUB with chapters, a generated table of contents, embedded metadata, and a stylesheet you can swap. Options and templates make the whole thing scriptable, which is why publishing and academic pipelines route through it.
The limits are equally honest. There is no graphical interface, scanned pages cannot be read, and producing PDF means dealing with LaTeX or another typesetting engine unless the job is simple. It converts structure, not appearance — the output is only ever as clean as the input. As the road from your own writing to your own reader, nothing free comes close.