Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Format Conversion

Markdown TOC Generator

· Last updated:2026-06-21

Generate a table of contents from Markdown headings with GitHub-style anchor links

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team
Conversion369
Format Conversion142
Markdown40

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Format Conversion
Input types
textarea, select, checkbox
Output type
text
Sample coverage
4
API ready
Yes

Overview

The Markdown TOC Generator automatically creates a structured table of contents from your Markdown headings. It generates GitHub-style anchor links, allowing readers to navigate long documents, READMEs, or wiki pages with ease.

When to use

  • When writing long-form documentation or README files that need a clear navigation structure.
  • When you want to automatically generate GitHub-compatible anchor links for your Markdown headings.
  • When formatting wiki pages or technical blogs where readers benefit from a quick overview of the content outline.

How it works

  1. 1Paste your raw Markdown text into the input area.
  2. 2Configure your preferences, such as the minimum and maximum heading levels (H1 to H6), list style, and indentation.
  3. 3Choose whether to include anchor links and select your desired output format (Markdown, HTML, or both).
  4. 4Copy the generated table of contents directly into your document.

Use cases

  • Generating a table of contents for a project README.md file on GitHub.
  • Creating structured navigation outlines for technical documentation and user guides.
  • Formatting blog posts written in Markdown to improve readability and SEO structure.

Examples

1. GitHub README Navigation

Open Source Developer

Background

A developer is publishing a new open-source library and has written a comprehensive README.md file with multiple sections.

Problem

The README is very long, making it difficult for users to find installation instructions and API references quickly.

How to use

Paste the README content into the input, set the minimum heading level to H2, select 'Unordered' list style, and enable 'Include Anchor Links'.

minLevel: 2, maxLevel: 6, listStyle: unordered, indent: 2spaces, includeAnchor: true, outputFormat: markdown

Outcome

A clean, clickable Markdown list of H2-H6 headings with GitHub-compatible anchor links ready to paste at the top of the README.

2. Technical Documentation Outline

Technical Writer

Background

A technical writer is drafting a software user manual in Markdown and needs an HTML-formatted table of contents for a web portal.

Problem

The manual needs a structured, nested HTML list of headings from H1 to H3 to embed directly into a web template.

How to use

FAQ

How does the generator create anchor links?

It formats heading text into GitHub-style slugs, converting characters to lowercase and replacing spaces with hyphens.

Can I limit the table of contents to specific heading levels?

Yes, you can set the minimum and maximum heading levels (from H1 to H6) to filter out minor subheadings.

What list styles are supported?

You can choose between unordered lists (using hyphens) and ordered lists (using numbers).

Does this tool support HTML output?

Yes, you can output the table of contents as Markdown, HTML, or a combination of both.

Can I indent the list items with tabs instead of spaces?

Yes, the tool supports indentation using 2 spaces, 4 spaces, or tab characters.

Hub

Release Notes Review and Website, Slack, and PDF Delivery

Review one release against its changelog, validate version syntax and Markdown references, then prepare consistent website, Slack, and PDF release notes.

Home
Tools3201
Samples593
Visualizations465
Viewers103
Hubs233
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance644

Calculators, numerics, date logic, statistics, and finance tools

Design & Color297

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff
Stripe Promo Code Batch Review and Import Preflight
Batch Photo Culling Review and Editing Shortlist Handoff
UI Screenshot Structure Review and Development Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Data Formats

Markdown Samples

Markdown format examples from simple to complex document structures

Document

Markdown Viewer Samples

Sample Markdown files for README preview, documentation rendering, and rich-text markup tests

Documentation

Markdown Slide Deck Samples

Remark/Marp style Markdown slide decks for testing PDF export layouts

Document

PDF Samples

Generated PDF samples from tools dated 2026-02-01 to 2026-02-10

Format Conversion

Webpage to Markdown Converter

Fetch a live web page by URL and convert it to clean Markdown — headings, links, lists, code and optionally images and tables — with reader-mode junk stripping.

Text Processing

Slug Generator

Generate clean URL slugs from any text, with built-in Chinese-to-Pinyin conversion. Collapse separators, lowercase, and optional max-length word-aware truncation.

Math & Numbers

Truth Table Generator

Complete truth table (≤ 6 variables, 64 rows) with alphabetical variable order, per-row function values, and canonical Σm/ΠM forms.

Format Conversion

Markdown to Plain Text

Convert Markdown formatted text to plain text by removing all Markdown syntax and formatting

Paste the manual text, set the maximum heading level to H3, select 'HTML' as the output format, and choose '4 Spaces' for indentation.

minLevel: 1, maxLevel: 3, listStyle: unordered, indent: 4spaces, includeAnchor: true, outputFormat: html

Outcome

An HTML-formatted nested list containing anchor links pointing to the document's H1, H2, and H3 headings.