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

TLP Classification

Rafael SantosRafael Santos1 downloads

Classify documents using the Traffic Light Protocol (TLP). Visual selector in the properties panel, status bar indicator, and automatic PDF header/footer badge generation for Better Export PDF.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Classify your Obsidian documents using the Traffic Light Protocol (TLP) standard. Select the classification level from a visual picker, and automatically generate PDF header badges when exporting with Better Export PDF.

TLP selector in the properties panel

Features

  • Visual TLP selector — A dropdown widget replaces the native text input in the Properties panel. Click the badge to pick a classification level with colored indicators and descriptions.
  • Command palette — Set TLP classification opens a keyboard-navigable modal (Ctrl/Cmd + P). Arrow keys to move, Enter to select.
  • Status bar indicator — Displays the current document's TLP level at the bottom of the editor. Click to change it.
  • Automatic PDF badges — Generates the headerTemplate or footerTemplate frontmatter property for Better Export PDF. The badge follows the official TLP color specification with black background and colored text.
  • Sync on manual edit — If you change the TLP property directly in the frontmatter or source view, the template regenerates automatically.
  • Custom levels — Define organization-specific classification levels in a markdown file within your vault.
  • Official TLP 2.0 colors — Built-in levels follow the FIRST.org specification: TLP:RED, TLP:AMBER+STRICT, TLP:AMBER, TLP:GREEN, TLP:CLEAR.

TLP badge in exported PDF header

TLP indicator in the status bar

Installation

From community plugins

  1. Open Settings → Community plugins → Browse
  2. Search for TLP Classification
  3. Click Install, then Enable

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create .obsidian/plugins/tlp-classification/ in your vault
  3. Copy the three files into that folder
  4. Enable the plugin in Settings → Community plugins

Usage

Setting a classification

Open a document and use any of the following:

  • Properties panel — Click the TLP badge in the properties to open the visual selector
  • Command palette — Ctrl/Cmd + P → Set TLP classification
  • Status bar — Click the TLP indicator at the bottom-right of the editor

The plugin writes the TLP value and the corresponding headerTemplate to the frontmatter. The template property is hidden from the Properties panel to keep it clean.

Exporting to PDF

Export your document using Better Export PDF as usual. The TLP badge will appear on every page of the exported PDF, following the official color specification.

Changing or removing the classification

Run the selector again to change the level — the frontmatter updates in place. To remove the classification entirely, use Ctrl/Cmd + P → Remove TLP classification.

Settings

Setting Default Description
Badge position Right Left, center, or right alignment in the PDF header/footer
Template target Header Write the badge to headerTemplate or footerTemplate
Show page number Off Include page numbers alongside the badge in the PDF
Status bar indicator On Show/hide the TLP display in the status bar
Editor banner On Show a colored stripe at the top of the editor
Require classification Off Warn on export if no TLP is set
Frontmatter property TLP The property name used in the frontmatter
Custom levels file (empty) Path to a markdown file defining custom levels

Custom classification levels

To define custom levels, create a markdown file in your vault (e.g. _config/tlp-levels.md) with the following frontmatter:

---
levels:
  - value: RED
    label: "TLP:RED"
    fontColor: "#FF2B2B"
    bgColor: "#000000"
    description: "Named recipients only"
  - value: INTERNAL
    label: "INTERNAL"
    fontColor: "#7B68EE"
    bgColor: "#000000"
    description: "Internal use only"
---

Then set the file path in Settings → TLP Classification → Custom levels file.

See example-tlp-levels.md for a complete reference with all fields documented.

Recommended plugins

This plugin works standalone for document classification. For TLP badges in exported PDFs, install Better Export PDF.

TLP color reference

Level Font Background Hex font Hex background
TLP:RED Red Black #FF2B2B #000000
TLP:AMBER+STRICT Amber Black #FFC000 #000000
TLP:AMBER Amber Black #FFC000 #000000
TLP:GREEN Green Black #33FF00 #000000
TLP:CLEAR White Black #FFFFFF #000000

Colors follow the FIRST.org TLP 2.0 specification.

Building from source

git clone https://github.com/rafamss/obsidian-tlp-classification.git
cd obsidian-tlp-classification
npm install
npm run build

Copy main.js, manifest.json, and styles.css to .obsidian/plugins/tlp-classification/ in your vault.

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change.

License

MIT

97%
HealthExcellent
ReviewSatisfactory
About
Classify notes using the Traffic Light Protocol (TLP) via a visual picker in the Properties panel, command-palette modal, or status-bar indicator. Generate official TLP-color PDF header/footer badges for Better Export PDF and automatically regenerate templates when TLP frontmatter is edited. Define custom organization-specific classification levels in a vault markdown file.
PropertiesExportStatus bar
Details
Current version
1.0.1
Last updated
12 hours ago
Created
14 hours ago
Updates
2 releases
Downloads
1
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Rafael SantosRafael Santosrafamss
github.com/rafamss
GitHubrafamss
  1. Community
  2. Plugins
  3. Properties
  4. TLP Classification

Related plugins

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.

Badges

Add inline badges/callouts to notes.

Day Planner (OG)

Day planning from a simple task list in a Markdown note (bare bones, preserves the features and behavior of the original plugin).

Pretty Properties

Makes note properties look more fun: adds side image, banners, list property colors and allows to hide specific properties.

Colored Text

Color the selected texts.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

Colored Bases Properties

Color property lists and formula properties in Bases.

Timekeep

Time tracking.