Skip to content
Quick Capture for ObsidianQuick Capture - Vault notes for Obsidian

Free Tool

Obsidian Auto Numbered Headings

Add a section in the middle of a long note and every heading number after it is wrong. Paste the markdown here to rewrite 1 / 1.1 / 1.1.1 in one pass — or strip the numbers before you export. Everything runs in your browser — nothing is uploaded.

or drop a file onto the input area below

Mode

Number writes 1 / 1.1 / 1.1.1. Strip removes those prefixes.

Options

Uncheck to number H1 titles or Contents / References headings.

Paste a note or drop a .md file. Headings update as you type.

Numbered note

Copy this back into Obsidian. Body text is left unchanged.

How to number headings in an Obsidian note

  1. Paste markdown, upload a .md file, or drop one onto the input area.
  2. Headings update as you type. Stay on Number for1 / 1.1 / 1.1.1, or switch to Stripto remove outline prefixes.
  3. Leave Skip H1 andSkip structural titles on unless the note’s# titles should be numbered too.
  4. Click Copy markdown and paste the result back into the note.

Why number headings this way?

Obsidian does not number headings on its own. Community plugins can rewrite them as you type, but you do not need a plugin to fix one file. This tool writes the numbers into the markdown so they survive export, PDF, and Publish.

Skip H1 is on by default because the note already has a title (the filename). Contents, Appendix, and References stay unnumbered so they do not steal a slot in the outline.

Notes

  • Only ATX headings (# through ######) are changed. Setext underlines are left alone.
  • YAML frontmatter, fenced code blocks, and%% comments are ignored. A heading inside those regions is not numbered or stripped.
  • Existing outline numbers such as 1. or1.1.1 are replaced so prefixes do not stack. A year like # 2024 Review is not treated as a number.
  • With Skip H1 on, each # heading restarts numbering for the sections under it.
  • Processes one note at a time. It does not crawl a vault.
  • Note text is limited to 1 MB.
  • Copy to clipboard requires a secure connection (HTTPS) and browser permission.