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

Convert Base64 to PNG

nykkolinnykkolin1k downloads

Convert base64-encoded images in notes to local PNG images.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

This plugin for Obsidian converts base64-encoded images in your notes to local PNG files. Reduce the size of your markdown files and make them more portable!

Demo

Demo

Features

  • Base64 Detection: Automatically detects base64-encoded images in your notes
  • Local Conversion: Converts base64 images to local PNG files
  • Batch Processing: Process individual files or all files in your vault
  • Customizable Storage: Configure where and how PNG files are stored
  • Automatic Conversion: Option to automatically convert base64 images when pasting

How It Works

When you run the plugin:

  1. It scans your notes for base64-encoded images
  2. Decodes the base64 data to binary
  3. Saves the binary data as PNG files in your configured folder
  4. Updates the links in your notes to point to the local PNG files

This makes your notes smaller, more portable, and easier to work with.

Settings

General Settings

  • Auto Convert: Automatically convert base64 images when pasting
  • Output Folder: Folder where PNG files will be saved (relative to the note)
  • Filename Format: Format for generated filenames with placeholders for date, index, and image type

Commands

  • Convert Base64 images to PNG for current file: Process the currently active file
  • Convert Base64 images to PNG for all files: Process all markdown files in the vault

Installation

From Obsidian Community Plugins

  1. Open Obsidian Settings
  2. Go to Community Plugins
  3. Search for "Convert Base64 to PNG"
  4. Click Install, then Enable

Use Cases

  • Reduce File Size: Base64-encoded images can make your markdown files very large
  • Improve Portability: Local PNG files are more portable and can be used outside of Obsidian
  • Better Organization: Keep your images in a dedicated folder instead of embedded in your notes
  • Easier Editing: Smaller markdown files are easier to edit and work with

If you find this plugin useful, consider supporting me:

or

81%
HealthGood
ReviewSatisfactory
About
Convert base64-encoded images in your notes into local PNG files to shrink markdown size and improve portability. Detect base64 images automatically and save decoded PNGs to a chosen folder while updating links in your notes. Process the current file or the entire vault and enable automatic conversion on paste.
ImagesAttachmentsAutomation
Details
Current version
1.0.0
Last updated
Last year
Created
Last year
Updates
1 release
Downloads
1k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
nykkolinnykkolin
github.com/nykkolin
GitHubnykkolin
  1. Community
  2. Plugins
  3. Images
  4. Convert Base64 to PNG

Related plugins

Paste image rename

Rename image after pasting, support name pattern and auto renaming.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Ink

Hand write or draw directly between paragraphs using a digital pen, stylus, or Apple pencil.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Attachment Management

Customize attachment path, auto-rename attachments, etc.

Image auto upload

Upload images from your clipboard by PicGo.

Imgur

Upload images from your clipboard to imgur.com and embeds uploaded image to your note.

QuickAdd

Quickly add new notes or content to your vault.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.