Table of Contents Generator

Turn a list of headings into a numbered, bulleted or indented table of contents. Paste the headings in order and mark the levels with # signs or indentation.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the Table of Contents Generator

  1. Paste your headings one per line, in the order they appear in the document.
  2. Mark sub-sections with extra # signs (## for level two) or with indentation of two spaces or one tab per level.
  3. Choose a numbering style and copy the table of contents.

Frequently asked questions

How do I mark heading levels?

Use # for a top-level heading, ## for a sub-heading, and so on up to six levels. Plain lines without # use indentation instead: two spaces or one tab per level.

How are the numbers in a table of contents formed?

Top-level entries are numbered 1, 2, 3. Each sub-section adds a level after a dot, so 2.1 is the first sub-section of section 2 and 2.1.1 is the first sub-section of 2.1.

Does this add page numbers or links?

No. It writes the headings as plain text. Page numbers and links depend on the document or web page where the list is used, so add them there.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.