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

Export as Base64 MD

anonymouse66anonymouse6645 downloads

Exports the active note as a single markdown file with every image embed inlined as a base64 data URI. Vault note stays untouched.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Export the active note as a single, self-contained markdown file with every image embed inlined as a base64 data URI one command, one native save dialog, done.

Features

  • Resolves every image embed in the note (![[image.png]] and ![alt](image.png) syntax) via Obsidian's metadata cache
  • Inlines each one as a data:image/<type>;base64,... URI in place of the embed
  • Native OS "Save As" dialog, defaults filename to the note's title
  • Vault note is never modified only the exported copy is written
  • Supports png, jpg/jpeg, gif, webp, bmp, svg

Why I built this

I use Obsidian mostly to prepare writeups for the machines and challenges I solve. I publish these writeups on my website, which uses a 𝗠𝗼𝗻𝗴𝗼𝗗𝗕-𝗯𝗮𝗰𝗸𝗲𝗱 𝗖𝗠𝗦 for storage. Storing images directly in 𝗠𝗼𝗻𝗴𝗼𝗗𝗕 requires a lot of space, and a few images are enough to blow past a 500MB tier.

Therefore, I designed my website to intercept base64 data URIs in uploaded markdown in a public GitHub repo and rewrite the links to a 𝗷𝘀𝗗𝗲𝗹𝗶𝘃𝗿 𝗖𝗗𝗡 𝗨𝗥𝗟 before the markdown ever touches the database.

The missing piece was getting from "writeup with normal image embeds in Obsidian" to "one flat markdown file with base64 inlined" without doing it by hand. So I built a plugin for it. Hope its useful for y'all.

Installation

From Community Plugins

Settings → Community Plugins → Browse → search "Export as Base64 MD" → Install → Enable.

Manual / BRAT

  1. Install the BRAT plugin.
  2. Command palette → BRAT: Add a beta plugin for testing.
  3. Paste this repo's URL.
  4. Enable "Export as Base64 MD" under Installed Plugins.

Usage

  1. Open the writeup you want to export.
  2. Run Export active note from the command palette (Ctrl/Cmd+P). Want a hotkey? Bind one yourself in Settings → Hotkeys. the plugin doesn't ship a default, so it won't conflict with anything you've already set.
  3. Select a destination in the native save dialog.
  4. A flat .md file with all images inlined lands where you choose.

Notes

  • Desktop only uses @electron/remote and Node's fs, unavailable on mobile.
  • Broken/unresolvable embeds are left as-is rather than failing the whole export.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Export the active note as a single, self-contained Markdown file with every image embed inlined as base64 data URIs. Resolve Obsidian-style and external image embeds via the metadata cache, and save a separate exported file with a native Save As dialog without modifying your vault.
ExportImages
Details
Current version
1.0.2
Last updated
4 weeks ago
Created
2 months ago
Updates
3 releases
Downloads
45
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
anonymouse66anonymouse66
GitHubbharathhonnappa
  1. Community
  2. Plugins
  3. Export
  4. Export as Base64 MD

Related plugins

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信公众号(支持自定义 CSS和公众号贴图)、飞书、小红书、知乎、微博、CSDN等20+平台。

Export Image plugin

Easily convert your article to image.

Export to HTML

Export your Markdown notes as HTML, directly in the clipboard or as a file.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

Slides Extended

Create markdown-based reveal.js presentations. Fork of Advanced Slides.

TTRPG Tools - Maps

A toolbox for interactive fantasy maps.

Featured Image

Automatically set a featured image property in your notes based on the first image.

Pretty Properties

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

Imagine

A comprehensive image management plugin for managing, inserting, resizing, viewing, and batch processing images.