Skip to main content
Internal links connect notes, attachments, and other files inside your vault. By linking notes together, you build a network of knowledge that you can navigate, visualize in Graph view, and query. Obsidian automatically updates internal links in your vault when you rename a file. To be prompted before updating, go to Settings → Files and links → Automatically update internal links and disable the toggle. Obsidian supports two link formats:
FormatExample
Wikilink[[Three laws of motion]]
Markdown[Three laws of motion](Three%20laws%20of%20motion)
Both formats link to the same note and render identically in the editor. Obsidian uses the Wikilink format by default because it is more compact.
When using Markdown links, URL-encode the link destination. Spaces become %20.
To switch to Markdown links:
1

Open Settings

Press Ctrl+, (or Cmd+, on macOS).
2

Disable Wikilinks

Under Files and links, turn off Use [[Wikilinks]].
Even with Wikilinks disabled, typing [[ still triggers autocomplete — Obsidian generates Markdown links when you select a suggestion.
Avoid these characters in filenames and link destinations, as they may break links: # | ^ : %% [[ ]]
In Editing view, use any of these methods:
  • Type [[ and select the file you want to link to.
  • Select text in the editor, then type [[ to wrap it in a link.
  • Open the Command palette and run Add internal link.
While you can link to any accepted file format, links to non-Markdown files must include a file extension:
[[Figure 1.png]]
Prefix a link with ! to embed the linked content instead of just linking to it. See Embed files.
You can link to specific headings within notes using anchor links. Within the same note — type [[# to see a list of headings in the current note:
[[#Preview a linked file]]
In another note — add # after the note name, followed by the heading text:
[[About Obsidian#Links are first-class citizens]]
Nested subheadings — chain heading levels with additional # symbols:
[[Help and support#Questions and advice#Report bugs and request features]]
Search headings across the vault — use the [[## syntax:
[[## team]]
This searches all headings in the vault that contain the word team. A block is a unit of text — a paragraph, blockquote, list item, or table. You can link directly to any block. Add #^ after the note name, followed by a block identifier:
[[2023-01-01#^37066d]]
When you type ^, Obsidian shows a list of blocks in the target note so you can select the right one without knowing the identifier.

Block identifier placement

For simple paragraphs, place the identifier at the end of the line after a space and caret:
The quick purple gem dashes through the paragraph with blazing speed. ^37066d
For structured blocks (lists, blockquotes, callouts, tables), place the identifier on a separate line with blank lines before and after:
> The quick purple gem dashes through the paragraph with blazing speed.

^37066f

This is the next paragraph.
For specific list items, place the identifier directly on the bullet:
- Gemmy
    ^37006f
- Unhelpful assistant

Human-readable block identifiers

You can write descriptive identifiers instead of random strings. Block identifiers may only contain Latin letters, numbers, and dashes:
"You do not rise to the level of your goals. You fall to the level of your systems." by James Clear ^quote-of-the-day
Link to it by name:
[[2023-01-01#^quote-of-the-day]]
Search blocks across the vault — use [[^^ to browse all blocks:
[[^^interesting-block]]
Block references are specific to Obsidian and are not part of standard Markdown. Links with block references won’t work in other applications.

Change the display text

By default, Obsidian displays the link destination as the link text:
  • [[Example]] displays as Example
  • [[Example#Details]] displays as Example > Details
You can override the display text in both formats. Wikilink — use a vertical bar (|) before the display text:
[[Example|Custom name]]
[[Example#Details|Section name]]
Markdown — use [Display text](URL) syntax:
[Custom name](Example.md)
[Section name](Example.md#Details)
Use display text when you want to customize how a link looks in one specific place. Use aliases when you want to refer to the same note by a different name throughout your vault.
Obsidian resolves links by finding the best match among files in your vault. You can control the path format Obsidian uses when creating links by going to Settings → Files and links → New link format:
Obsidian uses only the filename if it is unique in the vault:
[[My note]]
If two notes share a name, Obsidian adds enough path components to disambiguate.
The link path is relative to the location of the note containing the link:
[[../folder/My note]]
The link path starts from the vault root:
[[folder/subfolder/My note]]

Preview a linked file

To preview a linked file without opening it, hover over the link. In Editing view, hold Ctrl (or Cmd on macOS) while hovering.
You must enable Page preview in Settings for hover previews to work.

Build docs developers (and LLMs) love