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
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
- Paste markdown, upload a
.mdfile, or drop one onto the input area. - Headings update as you type. Stay on Number for
1 / 1.1 / 1.1.1, or switch to Stripto remove outline prefixes. - Leave Skip H1 andSkip structural titles on unless the note’s
#titles should be numbered too. - 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.1are replaced so prefixes do not stack. A year like# 2024 Reviewis 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.