Tags
Tags provide flexible, cross-cutting organization for your notes. Unlike folder hierarchies, tags can apply multiple categories to a single note.
Basic Syntax
Inline Tags
This note is about #productivity and #creativity.Tags start with # and continue until whitespace or punctuation.
Frontmatter Tags
---tags: - productivity - creativity - review/needed---Tags in frontmatter don’t need the # prefix.
Nested Tags
Create hierarchies with forward slashes:
#project/beta#status/active#status/completeNested tags allow:
- Searching for all
#project/*notes - Filtering by specific
#project/alpha - Building tag taxonomies
Tag Conventions
Naming
- Lowercase:
#productivitynot#Productivity - Hyphens for spaces:
#meeting-notesnot#meeting_notes - No special characters: Avoid
#tag@special
Common Patterns
Status tags:
#status/review#status/published#status/archivedType tags:
#type/article#type/reference#type/meetingPriority tags:
#priority/medium#priority/lowProject tags:
#project/q4-planningSearching by Tag
Using property_search
{ "properties": { "tags": ["productivity"] }}Search for any of multiple tags (OR logic):
{ "properties": { "tags": ["urgent", "important"] }}Using grep_notes
Find inline tags:
{ "query": "#productivity"}Tags vs Folders
| Tags | Folders |
|---|---|
| Multiple per note | One location per note |
| Cross-cutting | Hierarchical |
| Easy to add/remove | Moving requires links |
| Flexible | Stable structure |
Use tags for:
- Status (draft, published)
- Priority (high, medium, low)
- Topics that cross categories
- Temporary groupings
Use folders for:
- Primary organization
- Stable categories
- Physical structure
Tags with Other Systems
With PARA
tags: - para/project - status/active - priority/highWith Johnny Decimal
tags: - jd/21.03 - type/invoiceWith Zettelkasten
tags: - zettel/permanent - topic/productivityStorage
Tags are extracted to the database during processing and available via
property_search.
See Also
:h frontmatter- YAML metadata including tags:h search- Searching by tags- Index - Using tags with organizational systems