https://www.libreoffice.org/ As long as your used a good heading structure, it should come out fine. Then open in Sigil or Jutoh for validation and cleanup, if required. Perhaps move sections from one page to another, etc. I would hesitate to advice anyone to use InDesign for ref...