UtilitySansar
Texto

Markdown TOC Generator

Generate a clean, linked table of contents from any Markdown document. Pick the heading levels you want included, choose ordered or bullet lists, and copy a ready-to-paste TOC for your README, docs, or blog post.

Resumo da ferramenta

Esta ferramenta aceita entrada estruturada e devolve saída determinística no navegador, sem upload para o servidor.

Nome da ferramenta
Markdown TOC Generator
Intenção da entrada
Forneça conteúdo de origem para transformar, validar ou analisar.
Intenção da saída
Receba uma saída normalizada pronta para copiar, reusar ou depurar.
Entrada de exemplo
# Guide ## Install ## Configure ### Environment ### Secrets
Saída de exemplo
- [Install](#install) - [Configure](#configure) - [Environment](#environment) - [Secrets](#secrets)
Recent inputs0

Your last 5 inputs will appear here.

9 headings detected
- [Installation](#installation)
  - [macOS](#macos)
  - [Linux](#linux)
- [Configuration](#configuration)
- [Usage](#usage)
  - [Basic example](#basic-example)
  - [Advanced example](#advanced-example)
- [Troubleshooting](#troubleshooting)

Introdução à ferramenta

Generate a clean, linked table of contents from any Markdown document. Pick the heading levels you want included, choose ordered or bullet lists, and copy a ready-to-paste TOC for your README, docs, or blog post.

Visão geral da ferramenta

Long Markdown files get easier to navigate when they start with a TOC. This tool parses your document, skips code fences, deduplicates anchor slugs the same way GitHub does, and builds a nested list that mirrors your heading hierarchy. Everything runs in the browser — your draft never leaves your tab.

Casos de uso

  • Add navigation to a long README on GitHub
  • Build a docs landing page with deep-linked sections
  • Insert a sticky TOC into a Markdown blog post
  • Audit heading structure for a documentation site

Exemplos de entrada/saída

H2-H3 range, bullet style, anchor links enabled.
Intenção da entrada
# Guide
## Install
## Configure
### Environment
### Secrets
Intenção da saída
- [Install](#install)
- [Configure](#configure)
  - [Environment](#environment)
  - [Secrets](#secrets)

Perguntas frequentes

Are anchor slugs compatible with GitHub?+
Yes. The slug algorithm lowercases text, replaces spaces with dashes, strips Markdown emphasis characters, and de-duplicates repeated headings — matching GitHub's behavior.
Does it ignore code blocks?+
Yes. Fenced code blocks are skipped so `# comments` inside code don't become TOC entries.
Can I generate an ordered (numbered) list?+
Yes. Toggle the ordered option to emit 1. style markers instead of bullets.
Is my Markdown sent anywhere?+
No. Parsing happens entirely in your browser.

Explore mais ferramentas

Descubra utilitários relacionados na categoria Texto abaixo.

Ver tudo de Texto

Ferramentas relacionadas

Utilitários selecionados que você pode achar úteis