Better Export PDF

by l1xnan
5
4
3
2
1
Score: 62/100

Description

The Better Export PDF plugin extends PDF export with a preview dialog, outline bookmarks, custom margins and page numbers. It lets you add PDF metadata from front matter, keep internal links inside the exported file and control header and footer templates with HTML fragments. Export styling can be adjusted through CSS snippets, including snippets that are not enabled globally. The plugin also handles larger export flows: you can export a folder into one PDF, export each file in a folder as separate PDFs, or drive ordered multi note exports from a table of contents note. It also supports custom page sizes, zero margin one page exports and configurable rendering concurrency for batch jobs.

Reviews

  • Ganessh Kumar R P
    Reviewed on Feb 18th, 2026
    Template comes handy but it is a little difficult to use.
  • Qinferl AinGerI
    Reviewed on Dec 25th, 2025
    No review text provided.

Stats

730
stars
340,854
downloads
56
forks
108
days
33
days
83
days
213
total PRs
13
open PRs
141
closed PRs
59
merged PRs
226
total issues
100
open issues
126
closed issues
48
commits

Latest Version

3 months ago

Changelog

   🐞 Bug Fixes

    View changes on GitHub

README file from

Github

Obsidian Better Export PDF

English | 中文

Better Export PDF is an Obsidian PDF export enhancement plugin that adds the ability to export bookmarks outline, export preview and add page numbers to PDF compared to the official PDF export function.

Features

Compared to the official Export PDF feature:

  • 🚀Support export preview
  • 🎉Export the outline bookmarks
  • 🛩️Customize the margins
  • ✨Export the page numbers
  • 💥Support add PDF metadata from front matter
  • 🎇Export internal links within file
  • 🎈Export multiple Markdown files(folder or specified files) into one PDF file
  • 🌸Batch export multiple PDF files
  • 🍬Support exporting PDFs in any size, and can export all content onto a single page
  • ... ...

Installation

In Obsidian go to Settings > Third-party plugins > Community Plugins > Browse and search for Better Export PDF.

Manual installation

  1. Download the .zip file from the latest Release, or from any other release version.
  2. Unzip into: {VaultFolder}/.obsidian/plugins/
  3. Reload Obsidian and enable the plug-in.

or use the BRAT Plugin.

Usage

  1. Select export target:
    1. In the upper right corner of the current Markdown view, click More options and select Better Export PDF;
    2. Open the command panel and select Better Export PDF: Export Current File to PDF.
  2. In the dialog box that is displayed, modify the configuration.
  3. Click Export, select the export path, and if you don't need to modify the configuration, you can directly press the Enter key to trigger the export operation.

Set page numbers using the Header Template and Footer Template, for example:

<div style="width: 100vw;font-size:10px;text-align:center;">
  <span class="pageNumber"></span> / <span class="totalPages"></span>
</div>

See details <webview>.printToPDF(options).

It can be any HTML fragment, such as adding a base64 image:

<div style="width: 100vw;font-size:10px;text-align:center;">
  <img height="10px" width="10px" src="data:image/svg+xml;base64,xxx..." />
  <span class="title"></span>
</div>

Document level header/footer templates can also be configured in frontMatter:

  • headerTemplate
  • footerTemplate

Customize the export style

If you want to further customize the PDF export style, you can add custom CSS in the Appearance > CSS Snippet, such as custom fonts and sizes:

@media print {
  body {
    --font-interface-override: "Times New Roman" !important;
    --font-text-override: "Times New Roman" !important;
    --font-print-override: "Times New Roman" !important;
    --font-monospace-override: "Consolas" !important;
    --font-text-size: 20px !important;
    font-family: "Times New Roman" !important;
  }
}

Select Disabled CSS Snippts

First, enable the Select CSS snippets option in the plugin configuration. This will allow you to see the CSS snippets option in the modal for exporting PDFs. From there, you can choose CSS snippets that have not been globally enabled in the Appearance > CSS Fragments section.

Add PDF metadata

PDF Metadata can be added to through frontMatter of the configuration document. Supported field items are:

  • title
  • author
  • keywords
  • created_at
  • updated_at
  • creator
  • producer

Export multiple Markdown files

Quick export

Select the folder in the sidebar, right-click the menu Export folder to PDF, you can export the entire folder contents to a PDF file.

Note: This does not guarantee the file export order.

Custom export

Create a new table of contents note, add something like the following, need to add a toc: true document property:

---
toc: true
---

## Table of Contents

[[Note1|Title1]]
[[Note2]]
[[Note2]]

This allows the plugin to export the notes in the order of the internal links. The anchor point of the exported PDF table of contents supports clicking to jump.

Note: When exporting with a Table of Contents file, right click on that toc-file and select Better Export PDF. Do not use Export Folder to PDF.

Folder batch export

Select the folder in the sidebar, right-click the menu Export each file to PDF, you can batch export each file of the entire folder to PDF file.

Export as One Page

In the export dialog, select Custom for Page Size and set Margin to None. Set the page size according to the document's requirements.


Note: You can adjust the concurrency number during the rendering phase when exporting multiple files via Plugin Settings > Limit Concurrency. This can help reduce resource consumption or increase the speed. The default value is 5.

Preview

Export preview

Export preview

Effect picture

Export preview

TODO

  • Automatically adds internal link content to footnotes/appendices;
  • Support pagedjs beautification;
  • Support print preview;
  • Export multiple Markdown files into one PDF file;
  • Improves default @media print css style;
  • Support add PDF metadata from front matter;
  • Export internal links within file;

Support This Plugin

This plugin takes a lot of work to maintain and continue adding features. If you want to fund the continued development of this plugin you can do so here:

PayPal or WeChat or Alipay


Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Binary File Manager
5 years ago by qawatake
An Obsidian plugin to manage binary files
Auto Card Link
4 years ago by Nekoshita Yuki
Media DB Plugin
4 years ago by Moritz Jung
A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Custom File Explorer sorting
4 years ago by SebastianMC
Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
Meta Bind Plugin
4 years ago by Moritz Jung
A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays, and buttons.
Note aliases
4 years ago by Pulsovi
This plugin manages wikilinks aliases and save them on the aliases list of the linked note
Linked Data Vocabularies
3 years ago by kometenstaub
Add linked data to the YAML of your Obsidian notes.
Notes dater
3 years ago by Paul Treanor
Adds created_on and updated_on dates of the active note to status bar
Vault 2 Book
3 years ago by Mitra98t
Obsidian plugin to convert vault to a complete pdf with Table Of Content
Bulk Exporter
3 years ago by symunona
Bulk export Markdown filtered, renamed and sorted by front matter metadata into a new structure.
Copy Metadata
3 years ago by wenlzhang
An Obsidian plugin to copy metadata to clipboard and insert it into file name.
Auto Tag
3 years ago by Control Alt
Easily generate relevant tags for your Obsidian notes.
Frontmatter generator
3 years ago by Hananoshika Yomaru
A plugin for Obsidian that generates frontmatter for notes
File Index
3 years ago by Steffo
Obsidian plugin to create a metadata file about the files present in the Vault
Strip Internal Links
3 years ago by Adi Ron
A simple Obsidian plugin to strip internal links from files
Additional Icons
3 years ago by Matthew Turk
Add additional iconsets to Obsidian
Metadata Icon
3 years ago by Benature
change metadata entry icon
Update Time
2 years ago by Sébastien Dubois
Obsidian plugin that updates front matter to include creation and last update times
Watched-Metadata
2 years ago by Nail Ahmed
Watches for changes in metadata and updates the note content accordingly.
Image Metadata
2 years ago by alexeiskachykhin
Adds image metadata editing capabilities to Obsidian
Virus Total Enrichment
2 years ago by ytisf
An Obsidian plugin to enrich a note with VirusTotal API.
Onto Tracker
2 years ago by Jacob Hart
Plugin for obsidian allowing project management with ontologies.
Dataview
6 years ago by Michael Brenan
A data index and query language over Markdown files, for https://obsidian.md/.
Supercharged Links
5 years ago by mdelobelle
obsidian plugin to add attributes and context menu options to internal links
MetaEdit
5 years ago by Christian B. B. Houmann
MetaEdit for Obsidian
Copy Block Link
5 years ago by mgmeyers
Get links to blocks and headings from Obsidian's right click menu.
Metadata Extractor
5 years ago by kometenstaub
Obsidian Plugin that provides metadata export for use with third-party apps.
Update time on edit
5 years ago by beaussan
Metadata Auto Classifier
2 years ago by Beomsu Koh
Obsidian plugin that uses AI providers to generate tags and frontmatter metadata for your notes.
ExMemo Assistant
2 years ago by ExMemo AI
Using LLMs to manage files and generating metadata such as tags and summaries.
KoReader Highlight Importer
2 years ago by Tahsin Kocaman
Imports highlights and metadata from KoReader into Obsidian notes
Frontmatter Markdown Links
2 years ago by mnaoumov
Obsidian Plugin that adds support for markdown links in frontmatter
Boardgame Search
2 years ago by Marlon May
A plugin to create notes for boardgames based on the BGG API
Sentinel
2 years ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to update properties or run commands based on document visibility changes.
Current File Tags
2 years ago by Trung Tran
Dataview Autocompletion
2 years ago by Daniel Bauer
NetClip
2 years ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Media Companion
2 years ago by Nick de Bruin
Fold Properties By Default
2 years ago by Tommy Bergeron
Always have editor/metadata properties folded by default.
LLM Tagger
2 years ago by David Jayatillake
Paste Image Into Property
2 years ago by Nito
My Thesaurus
2 years ago by Mara-Li
A plugin that auto tags file based on contents and a csv file or a Markdown table (inspired by https://github.com/pmartinolli/MyThesaurus)
Content Cards
2 years ago by leo
Insert content cards in Markdown, such as timeline, highlightblock, target card, book information card, music information card, movie information card, photoes ablum, business card, content subfield, countdown, SWOT,BCG.
AI Tagger Universe
2 years ago by Hu Nie
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant tags, supporting both local and cloud-based LLM services.
URI Converter
2 years ago by wenlzhang
An Obsidian plugin to convert Obsidian URIs to Obsidian internal links.
Note Favicon
2 years ago by mdklab
Obsidian plugin – Show Favicon from Metadata
File Title Updater
2 years ago by wenlzhang
An Obsidian plugin that synchronizes titles between filename, frontmatter, and first heading in your notes.
Kanban Status Updater
a year ago by Ankit Kapur
Obsidian plugin that automatically updates the note property when card is moved to a column.
Simple File Info
a year ago by Lukas Capkovic
Another Name
a year ago by Jiyuan Wang
Add a subheading to your note in Obsidian
GitHub Integration
a year ago by Kirill Zhuravlev
Plugin that fetch your github stars into notes
Note UID Generator
a year ago by Valentin Pelletier
Allow you to automatically generate UID for the notes in your vault.
Symbol linking
a year ago by Evan Bonsignori ; Mara-Li
Adds ability to link with any trigger in Obsidian. Each trigger can limit linking to specific folders or file.
Frontmatter Metadata Link Classes
a year ago by Varvara Zmeeva / zmeeva.io
Enhanced internal links with automatic classnames based on frontmatter metadata.
PDF Emojis
a year ago by Marcel Marusiak
Obsidian plugin that allows you to export your notes as PDFs while retaining emojis in headings, bold texts, and anywhere else in your notes! 🎉
PhraseSync
a year ago by Digvijay S. Todiwal
An Obsidian plugin that auto-suggests internal links, with dropdowns, as you type, enhancing note interconnectivity.
Discrete
a year ago by shkarlsson
Papers
a year ago by William Liang
An obsidian plugin to retrieve and import research papers.
Note Codes
a year ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Pretty Properties
a year ago by Anareaty
Book Clipper
9 months ago by Hossein Fardmohammadi
Save book details from websites into your notes
Conditional Properties
9 months ago by Diego Eis
Automate frontmatter property updates in your Obsidian notes using simple conditional rules.
Frontmatter to HTML Attributes
6 months ago by Tarek Saier
Tree Modal
4 months ago by krannich
Obsidian plugin: open files from the file explorer in a modal preview
Snipd Official
4 months ago by snipd-app
Cornell Marginalia
4 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
Hotkeys++
4 months ago by argenos
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
Excalidraw Extras
4 months ago by zsviczian
Companion Obsidian.md plugin hosting extra add-on optional features for the main Excalidraw-Obsidian plugin
April Automatic Timelines
3 months ago by april-gras
Simple timeline generator plugin for story tellers using obsidian
Bases Toolbox
2 months ago by Grub Basket
Adds Quality of Life features to Obsidian Bases
Property Panels
2 months ago by Eva Chen
Display and edit Obsidian frontmatter properties in configurable panels that stay inside the note's scrollable content.
Mobile PDF Exporter
2 months ago by Murat
One-click selectable preview PDF export plugin for Obsidian mobile and desktop.
Ctrl Click Links
a month ago by Eiko Wagenknecht
Restore the link opening behavior in Obsidian.
PixNote
a month ago by Sofia Milton
Metadata Validator
a month ago by flowing-abyss
Manifest-driven metadata validation for Obsidian.
Excalink
a month ago by Aditya Kumar
Excalink is an Obsidian plugin that enables IntelliSense-style autocompletion for groups and named frames inside .excalidraw.md files. When you type [[filename#, it suggests all available frame names, allowing fast, precise linking to parts of your drawings.
Vault Shelf
12 days ago by Lukas Proprentner
Your Obsidian vault as a browsable library: shelves of books built from titles, dates, people, tags, folders or any note property. Customizable to make it your own.
Print Studio
12 days ago by 5krus
An Obsidian desktop plugin for branded, paginated documents with logos, headers, footers, and reusable print presets.
Mapa neuronal
10 days ago by Felipe Córdova
A graph that explains itself: your Obsidian vault as a layered neural map, with the reason each note links to the next.