Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Template Filename

Callum AlpassCallum Alpass3k downloads

Create notes with templatable filenames, using date/time formats, random strings, and custom base numbering systems.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

An Obsidian plugin for creating notes with templatable filenames using date/time formats, random strings, and custom base numbering systems.

Features

  • Create notes with templated filenames
  • Live preview of the generated filename
  • Configurable default template and content
  • Extensive date and time formatting options
  • Random string generation and unique identifiers
  • Unix timestamp in various bases
  • Seconds since midnight in various bases
  • Counter variables for sequential naming
  • Text formatting utilities
  • System information variables

Usage

  1. Open the command palette (Ctrl/Cmd+P)
  2. Search for "Create note with template filename"
  3. Enter your filename template
  4. Enter note content (optional)
  5. Click "Create"

Alternatively, click the "file plus" icon in the left ribbon.

Template Syntax

Date & Time

Placeholder Description
YYYY 4-digit year (e.g., 2025)
YY 2-digit year (e.g., 25)
MM 2-digit month (01-12)
M Month without leading zero (1-12)
MMMM Full month name (January, February...)
MMM Short month name (Jan, Feb...)
DD 2-digit day (01-31)
D Day without leading zero (1-31)
DDD Day of year (001-366)
dddd Full weekday name (Monday, Tuesday...)
ddd Short weekday name (Mon, Tue...)
WW Week number of year (01-53)
Q Quarter of year (1-4)
HH 2-digit hour, 24-hour format (00-23)
H Hour without leading zero (0-23)
mm 2-digit minute (00-59)
m Minute without leading zero (0-59)
ss 2-digit second (00-59)
s Second without leading zero (0-59)
SSS 3-digit millisecond (000-999)

Unique Identifiers & Timestamps

Placeholder Description
{random:N} Random string of N characters
{uuid} Generate a UUID/GUID
{shortid} Generate a shorter unique ID (8 chars)
{unixtime:B} Unix timestamp in base B (2-36)
{daytime:B} Seconds since midnight in base B (2-36)
{hash:text} Create a hash of provided text

Counter Variables

Placeholder Description
{counter} Global auto-incrementing counter
{counter:name} Named counter (separate sequence)
{counter:reset} Reset all counters

System Variables

Placeholder Description
{hostname} Computer/device name
{username} Current user's name

Text Formatting

Placeholder Description
{lowercase:text} Convert text to lowercase
{uppercase:text} Convert text to uppercase
{slugify:text} Convert text to URL-friendly slug

Examples

  • YYYY-MM-DD_note → 2025-04-24_note.md
  • YYYY-MM-DD_HH-mm-ss → 2025-04-24_15-30-45.md
  • MMM-D-YYYY_meeting-notes → Apr-24-2025_meeting-notes.md
  • Q-YYYY-{random:6} → 2-2025-a7bF9c.md
  • note_{random:6} → note_a7bF9c.md
  • note_{shortid} → note_2a9d8f7b.md
  • {uuid} → 123e4567-e89b-12d3-a456-426614174000.md
  • note_{unixtime:36} → note_1c9rbbk.md (Unix time in base 36)
  • log_{daytime:16} → log_12ab3.md (Seconds since midnight in base 16)
  • entry-{counter} → entry-1.md, entry-2.md, etc.
  • {slugify:Meeting Notes 2025} → meeting-notes-2025.md

License

MIT

HealthGood
ReviewCaution
About
Create notes with templatable filenames using date/time tokens, random strings, UUIDs, counters, hashes, Unix timestamps, and custom numeral bases. Preview filenames live and use global or named counters, system variables, and text-formatting utilities for sequential or unique naming.
TemplatingFilesDates
Details
Current version
1.0.3
Last updated
2 years ago
Created
2 years ago
Updates
3 releases
Downloads
3k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Callum AlpassCallum Alpasscallumalpass
GitHubcallumalpass
  1. Community
  2. Plugins
  3. Templating
  4. Template Filename

Related plugins

QuickAdd

Quickly add new notes or content to your vault.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Journals

Manage your journals.

Vault Changelog

Maintain a changelog of recently edited notes.

Periodic Notes

Manage your daily, weekly, and monthly notes.

Weread

Sync Tencent Weread highlights and annotations.

Persian Calendar

Persian Calendar for managing periodic notes based on persian solar (shamsi) calendar.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Templater

Create and use dynamic templates.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.