Table of Contents Generator
Generate a table of contents from real headings on your device. Review the hierarchy and save Markdown links or an HTML outline with working section links.
- Free
- Works Offline
- No Uploads
Generate a Table of Contents
- Open the HTML, review Security Check, then select Continue.
- Open a local heading source, paste a Markdown outline, or select Open Sample.
- Choose HTML or Markdown and select Generate TOC.
- Review the heading tree and the anchor IDs.
- Download the output, or copy the TOC and apply the matching IDs to the original headings yourself.
Table of Contents Generator Features
- Read document headings in order and show their hierarchy. Skipped levels attach to the closest existing parent.
- Assign predictable IDs with collision suffixes, and keep valid unique IDs already present on HTML headings.
- Copy the table of contents or anchor markup, download Markdown links, or save an HTML outline with clickable targets.
Formats and Compatibility
| Input | Open .md, .markdown, .html, .htm or .docx, or paste a Markdown outline. A Word document TOC starts from paragraph heading styles and outline levels. |
|---|---|
| Output | A self-contained linked HTML outline or Markdown links, with separate copyable anchor targets for applying IDs to another document. |
| Browser | A modern browser with local file support. |
| Scope | Supports UTF-8 Markdown and HTML up to 4 MiB, pasted Markdown outlines, and standard DOCX up to 16 MiB. Output uses section anchors and leaves the original file alone. |
| Operating Systems |
Local Processing Without Uploads
The browser-based tool works offline with no upload, account, or source file modification.
Select Open Sample to see the workflow with the included example.
Heading Levels and Section Links
Each target uses a section ID. This workflow produces a heading outline without page numbers. It leaves source formatting and document content in the original.
Try a Repeated Heading
The bundled sample has two Café sections. The links jump to separate targets called cafe and cafe-2 in the downloaded HTML.
Frequently Asked Questions
Can I generate table of contents offline?
Yes. Extract the ZIP, open TableOfContentsGenerator.html, and load a local source or paste an outline.
Where is the generate table of contents download?
Select Download Tool ZIP to keep the tool. After generating an outline, use Download HTML or Download Markdown to keep the result.
How does a generate table of contents local workflow connect the links?
The HTML download includes its own targets. To insert a copy of the TOC somewhere else, assign the previewed IDs to the corresponding headings.
Is there a generate table of contents no upload option?
Yes. Files and pasted heading text stay in your browser.
Is this a free generate table of contents tool?
Yes. Local Studio provides it free for personal and business use.
How can I generate table of contents in browser?
Choose a file, select an output format and press Generate TOC. Review the linked outline before you save.
Can I build a Word document TOC from DOCX headings?
Yes. Upload a standard local DOCX with heading styles or paragraph outline levels to generate a separate linking outline. Inserting a native Word TOC is outside this workflow.
Is this a PDF bookmark generator?
This workbench extracts heading levels from Markdown, HTML and DOCX. PDF files and PDF bookmark writing are outside its supported scope.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.