Create, navigate, and edit Obsidian footnotes all from the keyboard:

If this plugin has made your writing a little smoother, you can buy me a coffee. Tips go toward the hours I spend on bug-hunting, feature requests, and keeping up with Obsidian releases.
Bug reports and feature ideas on the issue tracker are just as welcome.
The plugin adds its commands without hotkeys, so assign your own right after installing by going to:
Settings → Hotkeys → search for "Footnote Shortcut" → click the ⨁ next to a command → press your preferred keys
Of the plugin's 10 commands, the ones you'll press constantly should have hotkeys. I personally use:
| Command | Recommended hotkey |
|---|---|
| Insert / navigate numbered footnote | Alt+0 |
| Insert / navigate named footnote | Alt+- |
| Insert inline footnote | Alt+= |
| Insert inline footnote from clipboard | Alt+Shift+= |
The other 6 (Lint footnotes, Rename footnote, Delete footnote everywhere, the two Convert commands, and Set footnote prefix) come up less often, so running them from the command palette works fine. Give them hotkeys too if they become part of your routine.
Everything also works on mobile from the toolbar, each with their own unique toolbar icons.
Put your cursor where the footnote belongs and press the hotkey. The plugin finds the next free number, inserts the reference (say [^1]), creates the matching [^1]: definition at the bottom of the note, and lets you type the definition text immediately.
Footnotes are never created inside code, math, HTML comments (<!-- -->), frontmatter, or another footnote's definition, where they would be invalid. Inside an Obsidian %% comment they are allowed, like any other text there: Reading view hides the reference with the rest of the comment, while its definition still shows in the footnote list. Nor are footnotes written into a line's formatting (in front of a list or quote marker, among a heading's # marks, inside a task box, on a callout's marker), where they would break the line, or where Obsidian would read them as part of a link, as in [sic][^1]. The plugin refuses in those spots and tells you why.
One rule behind every edit. Every command, paste, cut, and lint works out its change first and reads the note the way Obsidian would afterwards. If anything you did not ask to change would read differently (another footnote, code, math, a comment, a link, or a line's formatting, such as a list turning into plain text), the plugin refuses with a notice saying why, rather than half doing it, and the linter holds that change back and names it in its alert.
A press at the end of a line ending in a block id (^id) puts the reference in front of the id, so links to that block keep working.

Named footnotes (like [^smith2024]) take 2 quick presses:
[^] with your cursor between the brackets. Type the name.[^smith2024]: line and lets you write the definition text.Names can hold almost anything ([^smith2024], [^arXiv:1234.5678], [^注]). The exceptions are spaces, backticks, brackets, and #, which Obsidian can't render or find. The plugin refuses those invalid characters and alerts you.

2 commands cover Obsidian's inline ^[...] style:
^[] with your cursor inside, ready to type. Press the hotkey again when you're done and the cursor hops out past the closing bracket, so you never need the arrow keys.^[...] in one press. Multi-line clipboard text is flattened to one line, and anything that would break the footnote (e.g. stray brackets) is escaped automatically.
Footnotes work in table cells too: the reference goes into the cell and the definition lands below the table. Undoing a footnote made from a cell can take 2 undos, because the cell and the note are separate editors. A notice tells you when the first undo has only removed the definition, and whether a second undo removes the reference too.
Sometimes you write something mid-sentence and realize it should be a footnote. Select it and press a footnote hotkey:
[^yourname]. Confirm with Enter, the Create button, or just press any footnote hotkey again.^[...] right where it is. It accepts single-line selections only, as only those format correctly. For a multi-line selection, it points you to the previous 2.>: - First point becomes - [^1] with [^1]: First point. A block id at the end of the selection stays on the line, so links to the block keep working.# Heading out of # Heading here, or into the next bullet's marker), or some but not all of a list's or a quote's lines, refuses with a notice saying what to select instead. A whole list, quote, or heading converts.
Multiple cursors (Alt+click) get the same footnote at every one of them, handy when one source is cited in several places:
[^N] at every cursor, sharing a single definition.If any cursor sits where a footnote can't go, nothing is inserted anywhere. Every multi-cursor insertion ends with a single cursor after the first reference.

The insert hotkeys double as navigation. What they do depends on where your cursor is:
[^3] in your text): open its definition in a popup right at your cursor (or by jumping to the definition, when the footnote popup is off).[^3]: … line): jump back to where its reference is used in your text.One hotkey takes you back and forth between a reference and its note.

Put your cursor on any reference or definition and run Rename footnote. It works like renaming a variable in a code editor: every reference and the definition get the new name in one step. It's also in the right-click menu when you click on a footnote, just like Obsidian's own rename for headings. Names are case-insensitive, so [^Note] and [^note] count as the same footnote. The command refuses names that are already taken and names a footnote can't have, and under a per-note prefix the new name gets the prefix added for you.

Put your cursor on any reference or definition and run Delete footnote everywhere. The definition and every reference to it go in one step and one undo (the name was "Delete footnote definition and all references" until the right-click menu proved too narrow for it), and the toast tells you how many of each went. It's also in the right-click menu on a footnote, next to Obsidian's own Delete footnote and reference, which removes only the one reference you clicked: if the same footnote is cited in two places, Obsidian's item leaves the other reference behind pointing at nothing. Copies inside code, math, or an HTML comment are plain text and stay; a reference inside a %% comment is a real reference to Obsidian, so it goes too. A definition inside a list item goes too, however many lines it runs, and its bullet stays as an empty item, exactly as Obsidian's own delete leaves it. A reference alone on a line between two lines of text goes with its line, so the text around it stays one paragraph; alone on the line under a heading, a horizontal rule, a table, or a code block, it leaves that line blank. A definition sharing its line with other text (a callout's title, the end of a %% comment) goes and leaves that text as it was. A deletion that would change how Obsidian reads the surrounding text is refused with a reason instead of half done, such as one whose definition holds another footnote's definition inside it.
Copy or cut text that holds footnote references and the definitions come along. Nothing to run: it hooks the keys you already press, within one Obsidian window. On a phone, the selection menu's Cut, Copy, and Paste, Obsidian's own Cut, Copy, and Paste buttons on the mobile toolbar, and text pasted from the keyboard's clipboard history all carry them the same way.
name-2, so the pasted footnotes come out unique with no setup. A definition pasted where its name is cited but not defined keeps its name and fills that gap, even when another footnote has the same text, so a definition moved within its note keeps serving its reference. The toast says how many were added, reused, and renamed, and names any reference that travelled without a definition; such a reference is renamed too when the destination defines its name, so it never cites someone else's footnote.>, so it reads as a definition wherever it lands.Turn the whole thing off with Carry footnote definitions on copy, cut, and paste in the settings.
Two commands convert a whole note at once, each way, in one undo:
^[body] into a reference with its definition appended where a new footnote would go (after the last definition, under your section heading, or at the end of the note), carrying the note's prefix if it has one. The references are numbered, or, with Preferred footnote naming style set to Named, named after the first word of each body that is not a filler word (^[the same note] becomes [^same], with -2, -3 for repeats). Identical bodies become one definition with several references, and the toast says how many merged. An empty ^[] and one inside a definition's body are left alone.^[body] at each of its references and removes the definition. A definition of more than one line has no inline form, so it is skipped and named, as is one whose body holds a footnote (footnotes never nest), one referenced from inside another footnote, one inside a blockquote or list item, an orphan, and a name defined twice. A definition cited in three places necessarily becomes three copies; the toast says so.Why: Obsidian's embed renderer drops normal footnote definitions, so a transcluded section keeps only its inline footnotes. Convert to inline before embedding and back afterwards, and a shared definition comes back shared.
Creating or visiting a footnote opens its definition text in a small editor right at your cursor, so you never lose your place in the note. Close it with the same hotkey, Escape, or by clicking anywhere outside. Switching to Reading view closes it too. If a footnote has more than one definition, the hotkey jumps to the last definition instead (the one Reading View renders) so you can sort it out (or let the linter merge them). If you prefer the classic jump-to-the-bottom behavior, turn off Edit footnotes in a popup in the settings.
Writing and revising can leave footnotes messy. The Lint footnotes command cleans up the whole note in one pass:
word[^1]. becomes word.[^1], and "quote[^1]". becomes "quote".[^1]), or before it (句子。[^1] becomes 句子[^1]。). Inline footnotes move the same way, whole (word^[note]. becomes word.^[note]). A reference typed with a space before it is attached: water [^1]. becomes water.[^1]. After an email address it stays in front of a closing period ([email protected][^1].), since Obsidian would otherwise take the period into the link. Under Don't move the rule does nothing.[^1]: line typed directly under a paragraph is plain text to Obsidian, and its footnote never shows. The linter inserts the blank line it needs (or, with the rule off, alerts you about it).1, 2, 3… in the order they appear and reorders their definitions to match. What happens to names follows the Preferred footnote naming style setting: Keep as written (the default) leaves every name alone, Numbered renumbers named footnotes too, and Named gives numbered footnotes names taken from the first word of their definitions ([^1]: the Smith paper becomes [^Smith]), leaving the already named alone so a lint never renames twice.
Each rule can be toggled individually in Settings → Footnote Shortcut → Linting, along with 2 automatic triggers (both off by default):
:w works too).The linter also watches for problems it can't fix by itself and tells you about them, naming every footnote involved:
[^] reference you never named, references with no definition or definitions nothing uses (while delete orphaned references/definitions are off)= or - right under it, which Obsidian reads as a heading, or, typed directly under a paragraph, as plain text that needs a blank line above it and another below it%% comment (Obsidian hides it, so its footnote shows nothing) and a definition inside a table#)If you're writing a book via chapter notes (e.g. when using the Longform or Easy Bake plugins), plain numbering collides when you merge the chapters back together: every chapter has its own [^1], so Obsidian confuses footnotes from chapter 1 with those from every other chapter.
To fix this, turn on Per-note footnote prefix and give each chapter its own unique prefix, so footnotes stay unique across the whole book:
2- for chapter 2 (this saves a footnote-prefix property in the note).[^2-1], [^2-2], … and the named command starts new references with the prefix ([^2-]) filled in.[^2-x] footnotes within their own namespace, and can also convert a note's existing plain footnotes to carry the prefix (Apply the note's footnote prefix, on by default).Notes without the property keep normal [^1], [^2], … numbering. A prefix follows the same rules as a footnote name and can't end in a digit, as then [^2-1] and [^21] would be indistinguishable.

word.[^1]). Before punctuation is mainland Chinese, Japanese, French, Italian, Portuguese, Polish, and the EU style guide (句子[^1]。; China's GB/T 7714-2015 shows it in its worked examples). Don't move leaves the reference exactly at the end of the word and the lint rule idle, for conventions that place each mark differently (Russian, Polish) or by sense (German), and for notes that mix scripts. Under the other two, a closing quotation mark or bracket is always stepped over, since every convention puts the marker outside the quote, except a square bracket that would leave the reference glued to it: Obsidian reads [see p. 5][^1] as a link, so the reference goes inside, [see p. 5[^1]]; under Don't move nothing is, not even a closing quote, so you place the reference yourself. Changing the setting moves the references in a note the next time it is linted.# Footnotes) above your footnote definitions. The heading text is fully customizable, can span multiple lines, and if it already exists in the note it's reused instead of duplicated.This plugin is based on the great idea by jacob.4ristotle posted in the "Footnote Shortcut" thread:
Use case or problem:
I use Obsidian to take school notes, write essays and so on, and I find myself needing to add frequent footnotes. Currently, to add a new footnote, I need to:
- scroll to the bottom to check how many footnotes I already have
- type [^n] in the body of the note, where n is the next number
- move to the end of the note, type [^n] again, and then add my citation.
Created by Alexis Rondeau and Micha Brugger, maintained and expanded by Jason Qin.
npm install, then npm run build (type-checks with tsc and bundles with esbuild). npm run dev watches for changes.npm test runs the Vitest unit suite in test/; behavioral policies (reindexing rules, reference parsing, edge cases) are pinned there, and the fast-check property tests fuzz both the linter and the insert commands over randomly generated documents, including a differential oracle that re-parses every document with micromark before and after linting. manual-tests/ contains scripted in-app scenarios, and scripts/smoke-test.mjs drives a live Obsidian instance.npm run lint (ESLint with the Obsidian plugin guidelines plus typescript-eslint's strict-type-checked) and npm run knip (dead exports and unused files/dependencies, kept at zero findings).npm run mutation runs Stryker locally as a pre-release audit (incremental cache makes re-runs fast). Not wired into CI on purpose.src/main.ts registers commands and settings; the command cascade and creation steps live in src/commands/, the note reading (Obsidian's own parser rebuilt, read once per note and remembered) and the footnote grammar in src/parsing/, editor and caret utilities in src/editor/ (among them the result gate every edit passes, src/editor/result-gate.ts, see docs/adr/0003-one-result-gate.md), and the linter with its pure rules in src/linting/.