Pages
No pages yet.
The HTML is one section per page, labeled Page 1, Page 2, and so on. Inside each section the text layer becomes a paragraph, and line breaks in that layer become br tags. Characters that would break markup are escaped. Three chapter files with real text become three HTML documents if you convert them one by one, or one long sequence of sections if you merge first. There is no CSS, no reproduced layout, and no images.
A 12-page scan of paper does not become twelve pictures in HTML. If the scan has no text layer, conversion stops and says so. OCR is not part of this page. Columns, sidebars and captions come out in content order, inside the section for that page. The section label is the page’s position. It does not invent new numbering, and it does not drop the number that was already stored as text.
chapter-1.pdf with a normal text layer. Then a 12-page photo scan.
The chapter becomes sections, the first labeled Page 1, each holding a paragraph of that page’s text. The scan stops: no extractable text layer.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
It keeps the words and the page breaks. It does not keep columns, fonts or figures. Each page is a section with a paragraph.
If the pages are only photographs, there is no text layer and there is no HTML. Rendering to images is the path for those pages.
Yes. Characters that matter in HTML are escaped so the text cannot be read as tags.
Convert each, or merge them and convert the joined file. Sections follow the page order of the file you open.
The label is the position in the file. A different number printed on that page is just more text inside the paragraph, if it was real text.