# Embed images as base64 when copying text + images to clipboard

**URL:** <https://discourse.joplinapp.org/t/embed-images-as-base64-when-copying-text-images-to-clipboard/45511>\
**Category:** Features\
**Created:** [21 May 2025 17:36 UTC](https://discourse.joplinapp.org/t/embed-images-as-base64-when-copying-text-images-to-clipboard/45511 "2025-05-21T17:36:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwat47](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/bwat47/32/25073_2.png) [@bwat47](https://discourse.joplinapp.org/u/bwat47)\
**Post date:** [21 May 2025 17:36 UTC](https://discourse.joplinapp.org/t/embed-images-as-base64-when-copying-text-images-to-clipboard/45511/1 "2025-05-21T17:36:50Z")

</div>

**Scenario A).** When highlight text + images in rich text editor and copying to clipboard, in the copied HTML the images are referenced as local file paths:

```auto
<!-- x-tinymce/html --><p>click Next:</p>
<p><img src="file:///C:/Users/Brandon%20Remote/.config/joplin-desktop/resources/8be52e7f659b4cd29f1fe962e9e42b1d.png?t=1746024206504" alt="" width="547" height="420" class="jop-noMdConv"></p>

```

This works for pasting into some applications but not others. For example:

Pasting into Outlook (Win32) - Works- EDIT: Not sure what changed (maybe an Outlook update?), but this no longer works  
Pasting into eM Client - Works  
Pasting into Outlook (new web based version) - Doesn't work, broken image  
Pasting into Gmail - Doesn't work, broken image  
Pasting into MS Word - Doesn't work, broken image

**Scenario B).** When highlight text + images in the markdown editor's preview window and copying to clipboard, the images don't paste properly into any of the above external applications, maybe because the src is referencing joplin-content://note-viewer instead of a file path

```auto
<img data-resource-id="8be52e7f659b4cd29f1fe962e9e42b1d" src="joplin-content://note-viewer/C:/Users/Brandon%20Remote/.config/joplin-desktop/resources//8be52e7f659b4cd29f1fe962e9e42b1d.png?t=1746024206504"

```

In any case, it would be a nice enhancement if copying text + images (from either the rich text editor or markdown preview) embedded the images as base64. That way it would be widely compatible with pasting into external applications, including web based apps like Outlook/Gmail.

NOTE: If you export the note to an HTML file, the generated HTML file does properly embed the images as base64 (however it's a lot of extra clicks).

EDIT: Looks like there is a github issue for this: [Images missing when pasting into webapps and some desktop apps from Joplin · Issue #10095 · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/issues/10095)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [16 May 2026 17:37 UTC](https://discourse.joplinapp.org/t/embed-images-as-base64-when-copying-text-images-to-clipboard/45511/2 "2026-05-16T17:37:42Z")

</div>

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.
