Markdown Table of Contents Generator
Paste a Markdown document and get a clickable table of contents with GitHub-style links.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Links use the same anchors GitHub creates for headings (lowercase, spaces become dashes). Headings inside code blocks are ignored.
How to use it (step by step)
- 1Type or paste your text into the “Markdown” box. There is already an example in it so you can see how it works; press Clear to start with your own.
- 2Choose your settings: “Heading levels”, “List style”.
- 3The answer appears right away in the “Table of contents” box. No button needed.
- 4Press Copy and paste the result wherever you need it.
Words to know
- Markdown
- A simple way to format text with symbols: **bold**, # heading, - list.
- Markdown table / TOC
- Markdown is simple text formatting used on GitHub. A TOC is a clickable list of the sections.
- Array / list
- An ordered collection of items, like ["apple", "banana"]. Every programming language has one.
- README
- The welcome page of a code project that explains what it is and how to use it.
More in Developer
HTML Beautifier (Formatter)Indent messy or one-line HTML so every tag is easy to read. Keeps text, scripts and <pre> blocks safe.String Escape / Unescape (JS, SQL, CSV, Regex, Shell)Escape text safely for JavaScript, JSON, SQL, CSV, regular expressions or the command line, and back.CSV to Markdown TablePaste CSV or spreadsheet cells and get a neat Markdown table for GitHub, README files and docs.JSON to Zod SchemaGenerate a Zod validation schema and TypeScript type from sample JSON.JSON Lines (NDJSON) ConverterConvert a JSON array into JSON Lines (one object per line) and back. Used for logs, BigQuery and AI datasets.Text to Hex / Hex to TextConvert text into hexadecimal bytes (UTF-8) and hex back into readable text.