I have an HTML file. I want to create several smaller HTML files (with chapters) and ToC.

Which software does this?

I am interested in free, portable software.

  • For what OS? What price is acceptable?
    – Izzy
    Jun 26 '16 at 11:04

This XSLT program: HTML-split (you need an XSLT 2.0 processor like Saxon to run it, Saxon in turn requires Java) splits an XHTML file into several chapters and creates a table of contents. It works on all modern OSes.

HTML-split is fully customizable and themeable with XML templates, so that you can create a custom designed Web site from your HTML ebook.

It supports only XHTML. If you need to split a regular HTML file, first convert in into XHTML format by HTML Tidy program.

All aforementioned software is free.

  • Well, repeating half of my comment on your question: What OS(es) are supported by this solution(s)? ;)
    – Izzy
    Jun 26 '16 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.