Adding properties to a note
There are several ways to add a property:1
Use the command palette
Run the Add file property command from the Command Palette.
2
Use the keyboard shortcut
Press
Cmd/Ctrl+;.3
Use the More actions menu
Click the three-dots icon (or right-click the tab) and choose Add file property.
4
Type YAML frontmatter directly
Type
--- at the very beginning of a file to open the properties section.Property types
Each property has a name, a value, and a type that determines what kind of values it stores. To change a property’s type, click the type icon next to the property name. Once a type is assigned to a property name, every property with that name across your vault uses the same type.Text
Text
Stores a single line of text. Markdown formatting is not rendered. Hashtags do not create tags.Internal links use the
[[Link]] syntax and must be surrounded with quotes.List
List
Stores multiple values. Each value appears on its own line, preceded by a hyphen and space.
Number
Number
Must be a literal number (no operators). Both integers and decimals are supported.
Checkbox
Checkbox
Stores
true or false. Displays as a checkbox in Live Preview.Date
Date
Stored in The date picker uses your operating system’s default date format. With the Daily notes plugin enabled, a date property also acts as an internal link to the corresponding daily note.
YYYY-MM-DD format.Date & time
Date & time
Includes both a date and a time, stored in ISO 8601 format.
Property format (YAML)
Properties are stored in YAML format at the top of the file, between--- delimiters:
tags properties in the same file.
While you can also write properties in JSON format (between
--- delimiters), Obsidian reads and saves them as YAML.Default properties
Obsidian includes a set of built-in properties:Properties for Obsidian Publish
Deprecated properties
These properties were deprecated in Obsidian 1.4 and removed as defaults in 1.9:Searching and using properties
Properties have their own search syntax that works alongside other search terms. Use[property:value] in the Search panel to filter notes by property value.
You can also use properties in templates — when you insert a template, all its properties are merged into the active note.
Display modes
Control how properties appear in a note under Settings → Editor → Properties in document:Keyboard shortcuts
- Editing
- Selection
- Vim keybindings
Limitations
A few features are not currently supported:- Nested properties — use Source mode to view them.
- Bulk-editing properties — use external tools such as VSCode, scripts, or community plugins.
- Markdown in properties — properties are intentionally plain text so they remain both human- and machine-readable.