Markdown-Inhaltsverzeichnis-Generator
Generiere ein verschachteltes Inhaltsverzeichnis aus den Überschriften eines beliebigen Markdown-Dokuments.
Kurze Antwort: Markdown-Inhaltsverzeichnis-Generator: Erstellt aus den Überschriften eines beliebigen Markdown-Dokuments ein verschachteltes Inhaltsverzeichnis. Läuft vollständig im Browser, kostenlos, keine Anmeldung erforderlich.
Zuletzt aktualisiert
Gut zu wissen
The whole value of a generated table of contents is that its anchor links match the slugs your renderer will actually create. This tool follows GitHub's slugging rules: lowercase the heading, strip punctuation, and replace spaces with hyphens — so ## Getting Started becomes #getting-started. That compatibility is why the links work in a README without any manual anchor tags.
Nesting mirrors your heading levels, so a clean, sequential outline (H1 → H2 → H3, no skipped levels) produces a clean, indented list. If your document jumps from H2 straight to H4, the TOC faithfully reproduces that gap — which is a good prompt to fix the underlying structure rather than the list.
One edge case to watch: duplicate heading text. GitHub disambiguates repeated headings by appending -1, -2 and so on to the later slugs, but a standalone generator can only emit the base slug. If your document has two sections named "Overview," adjust the second link by hand so it doesn't jump to the first.
Regenerate the TOC whenever you add, rename or reorder sections — a stale contents list with dead anchors is worse than none. If you're still drafting, the live split-pane Markdown Editor is a faster place to shape headings before you finalize the outline here.
Häufig gestellte Fragen
- Ist der TOC-Generator kostenlos?
- Ja — kostenlos ohne Anmeldung.
- Sind Slugs mit GitHub kompatibel?
- Ja — wir verwenden die Kleinbuchstaben + Bindestrich-Slug-Konvention von GitHub, damit die Ankerlinks in deinem README funktionieren.
- Sind meine Dokumente hochgeladen?
- Nein — die Erstellung erfolgt in deinem Browser.
- Wird die H1 übersprungen?
- Nein — jede Kopfzeilenebene ist enthalten. Lösche die H1-Zeile manuell, wenn du sie nicht im TOC haben möchtest.
- Was ist, wenn zwei Überschriften den gleichen Text haben?
- GitHub fügt -1, -2, … hinzu, um Mehrdeutigkeit zu vermeiden. Dieses Tool gibt derzeit den Basis-Slug aus — passe ihn manuell an, falls nötig.