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: 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:
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:
In another note — add # after the note name, followed by the heading text:
Nested subheadings — chain heading levels with additional # symbols:
Search headings across the vault — use the [[## syntax:
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:
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:
For structured blocks (lists, blockquotes, callouts, tables), place the identifier on a separate line with blank lines before and after:
For specific list items, place the identifier directly on the bullet:

Human-readable block identifiers

You can write descriptive identifiers instead of random strings. Block identifiers may only contain Latin letters, numbers, and dashes:
Link to it by name:
Search blocks across the vault — use [[^^ to browse all blocks:
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:
Markdown — use [Display text](URL) syntax:
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:
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:
The link path starts from the vault root:

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.