Kharabeesh
On-device ع

Table of Contents Generator

Paste your headings (Markdown #, indentation, or numbering like 1.2.3) with optional page numbers and get a numbered multi-level table of contents with dot leaders. Copy as text, Markdown or HTML, or download Word.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Paste your headings, one per line. The level comes from # marks, indentation or existing numbering.
  2. For page numbers, put the number at the end of the line after dots, | or a Tab.
  3. Choose the numbering style, direction and depth.
  4. Copy the table in the format you need, or download a Word file.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: docx (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

Does it read my document and pull out headings and page numbers?

No. It arranges and numbers the headings you paste, and page numbers are the ones you type. It does not open Word or PDF files.

Does the Word table update itself when pages change?

No. It is static text with real tab leaders. If your pages change, edit the numbers here and download again, or use Word’s automatic table of contents inside your document.

How do I keep a heading unnumbered (such as References)?

Add {-} at the end of the heading, e.g. “References {-}”. In existing-numbering mode, any line without a number stays unnumbered.

What are the numbering styles?

Decimal: 1, 1.1, 1.1.1. Arabic ordinal: أولًا, then أ, then 1. Arabic letters: أ, then 1, then أ. Outline: I, A, 1, a.

Is my text saved?

No. It stays in the page only and is gone when you close it.

Related tools