EVO HTML to PDF Converter can be configured to automatically create a table of contents in PDF document based on H1 to H6 head tags found in HTML document by simply turning on the AutoTocItemsEnabled option.
The following options are available in this demo:

- HTML Page URL or Local File to Convert. The URL of the HTML page to convert must be accessible from the computer where the converter runs. If the page requires authentication or if you are using a proxy server to access Internet then you have to set the converter properties accordingly as described in documentation
- Create a Table of Contents from H1 to H6 Tags. Using this option you can enable or disable the creation of table of contents from the H1 to H6 tags found in the converted HTML document