Supported link formats
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.1
Open Settings
Press
Ctrl+, (or Cmd+, on macOS).2
Disable Wikilinks
Under Files and links, turn off Use [[Wikilinks]].
[[ still triggers autocomplete — Obsidian generates Markdown links when you select a suggestion.
Create a link
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.
Link to a heading
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:
# after the note name, followed by the heading text:
# symbols:
[[## syntax:
Link to a block
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:
^, 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:Human-readable block identifiers
You can write descriptive identifiers instead of random strings. Block identifiers may only contain Latin letters, numbers, and dashes:[[^^ to browse all blocks:
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
|) before the display text:
[Display text](URL) syntax:
How Obsidian resolves links
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:Shortest path when possible (default)
Shortest path when possible (default)
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.
Relative path from current note
Relative path from current note
The link path is relative to the location of the note containing the link:
Absolute path in vault
Absolute path in vault
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, holdCtrl (or Cmd on macOS) while hovering.
You must enable Page preview in Settings for hover previews to work.