Markdown Data URL & Base64 Image Embedder

Embed local PNG, SVG, JPG, and WebP images directly into Markdown as base64 data URIs for 100% portable offline documents.

Click to upload or drag and drop an image

Supports PNG, JPG, SVG, WebP, GIF (Processed 100% locally)

Active: sample.png (68 bytes)

Markdown Image Attributes

Base64 Markdown Tag Output (.md)96 characters
Complete Guide & Overview

Markdown Data URL & Base64 Image Embedder

Embed local PNG, SVG, JPG, and WebP images directly into Markdown as base64 data URIs for 100% portable offline documents.

How to Use the Markdown Data URL & Base64 Image Embedder

1

Input Content

Paste or compose your markdown or source data into the input editor.

2

Customize Settings

Select formatting options, syntax modes, or display options.

3

Copy or Download

Copy the processed output to your clipboard or download the generated file.

Key Features & Capabilities

Zero External Image Hosting: Eliminates broken image links by bundling raster graphics directly inside the Markdown text file.
Supports All Modern Formats: Converts PNG, SVG, JPG, WebP, and animated GIFs into valid data URI strings.
Complete Portability: Send standalone .md documents over email or air-gapped workstations without external asset folders.
Strict Browser Privacy: All encoding is performed using HTML5 FileReader APIs without uploading files to remote servers.

Frequently Asked Questions

Do base64 images work on GitHub and Obsidian?

Yes! GitHub Flavored Markdown and Obsidian natively render data URI images formatted as `![alt](data:image/png;base64,...)`.

Is there a file size limit for base64 images?

While data URIs work for any size, base64 strings increase file weight by approximately 33%. For optimal performance, we recommend using images under 1MB.