Create a table of contents in Obsidian
How to build a table of contents in Obsidian: the Outline pane, manual heading links, and plugin-generated lists, plus what survives copying, exporting and sharing.
Obsidian does not insert a table of contents into a note on its own. A TOC can come from three places: the built-in Outline view, a list of heading links you write yourself, or a community plugin that generates the list for you. They look similar on screen but behave very differently once a note leaves Obsidian. This review explains what each approach changes and when each one fits.
Which approach suits your use
For notes that only you read inside Obsidian, the Outline view is usually enough. It needs no maintenance and adds nothing to the file. If the note will be shared, exported or read by someone else, write a manual list of heading links. It is the most portable option, but you have to update it by hand. A plugin-generated TOC saves maintenance in long, frequently edited notes, but it depends on that plugin. Outside Obsidian, or in a vault without the plugin, it may appear as unrendered markup.
Plain text is the better choice in some cases: when the destination does not resolve Obsidian's heading links, when the note will be pasted into email or chat, or when readers need a stable outline that will not change if headings are renamed. A plain numbered list of section names, with no links, still tells readers what the note contains.
| Approach | Stored in the note? | Updates automatically? | Main tradeoff |
| Outline view (core plugin) | No, shown in a sidebar | Yes | Not part of the note, so it disappears when shared or exported |
| Manual heading links | Yes, as ordinary text | No | Goes stale when headings are renamed or reordered |
| Plugin-generated TOC | Usually a placeholder or code block | Yes, while the plugin is active | Depends on the plugin being installed wherever the note is opened |
What each method actually changes
A TOC is a structural transformation. It does not reverse, mirror or swap characters. Your headings stay exactly as written. The only question is whether the TOC is added to the stored text of the note or only drawn on screen.
Outline view: presentation only
The Outline core plugin reads the headings in the active note and shows them as a clickable tree in a side pane. Nothing is written to the Markdown file. That is why it stays accurate without effort, and also why nobody who receives the file sees it.
Manual links: stored text
A manual TOC is a list you type at the top of the note. Each item links to a heading in the same note. Obsidian supports two link syntaxes. Wikilinks start with a hash, and typing [[# in the editor brings up suggestions for headings in the current note. Standard Markdown links need spaces in the heading encoded as %20. A setting in Obsidian's Files and links options controls which syntax Obsidian uses when it creates links for you.
## Contents
- [[#Installation]]
- [[#Getting started|Start here]]
- [Configuration options](#Configuration%20options)
## Installation
...
## Getting started
...
## Configuration options
...
In the example above, the text after the pipe in the second line is a display alias. The link targets the Getting started heading but shows the words Start here. The third line uses Markdown link syntax with the encoded space. The links are part of the file, so they travel with it. Whether they still work depends on where the file ends up.
Plugin-generated lists: rendered from a placeholder
Community plugins take different approaches. Some insert a fenced code block or other marker that the plugin replaces with a live list when the note is displayed. Others write the finished list into the note as ordinary text. Check which model a plugin uses before you adopt it. A rendered placeholder stays current but is not real text in the file. A written list can be copied but needs regenerating after edits. Plugin behavior and maintenance status vary, and none was tested for this review.
Readability and usability after copying or sharing
- Copying a note's text copies a manual TOC as link syntax. Pasted into a plain-text field, the reader sees brackets and hashes rather than clickable entries.
- Other Markdown renderers often build heading anchors differently, for example as lowercase, hyphenated IDs. A link such as #Configuration%20options may not resolve there, even though it works in Obsidian.
- Wikilink syntax is specific to Obsidian and tools that imitate it. Standard Markdown links are more widely understood, but the anchor-format issue above still applies.
- A plugin placeholder opened without the plugin typically shows as a raw code block or marker text, not a list.
- The Outline view never leaves Obsidian, so it adds nothing for recipients.
Search and editing are mostly unaffected by any of these methods, because the headings themselves do not change. One exception is styled headings. If heading text uses decorative Unicode letters, such as bold or script lookalikes from the mathematical alphanumeric range, those are different code points from ordinary letters. Searches for the plain word may not match them. Heading links must reproduce the same characters, and screen readers may announce such characters poorly or skip them. Plain letters in headings keep the TOC, search and assistive technology working consistently.
For accessibility, a written TOC is a real list of links in the document. Assistive technology can generally navigate that kind of structure. The Outline pane is part of the application interface, not the note. No tests with specific screen readers, export formats such as PDF, or publishing destinations were performed for this review. Check the result in your actual destination before relying on it.
When to provide a plain-text equivalent
Add or substitute an unlinked list of section titles when the note goes somewhere that will not resolve Obsidian's links, when readers will see it as pasted text, or when you cannot confirm how the destination handles anchors. That keeps the main benefit of a TOC, a quick view of the note's structure, without depending on links that may break silently.
Evidence gaps
This overview relies on Obsidian's general documented link behavior and on widely applicable Markdown and Unicode principles. No version-specific details, plugin comparisons, rendering tests or accessibility measurements were available. Where behavior depends on your Obsidian version, plugin choice or export target, treat the guidance here as a starting point and verify it in that environment.