Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Copy with Embedded Images

Copy with Embedded Images by learngift

Right-click any selection to copy it as HTML (menuitem Copy with Embedded Images) with all images embedded as base64 — paste anywhere without broken image links.

Available on Firefox for Android™Available on Firefox for Android™
0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Copy with Embedded Images

A Firefox extension that copies any HTML selection with all images converted to
base64 data URIs — so when you paste into a rich text editor, images appear
inline instead of showing as broken links.

Why?

When you copy content from a web page (e.g. a Gmail message) and paste it into
a rich text editor like TinyMCE, CKEditor or Quill, images are usually lost or
show as broken links. This is because the image URLs often require
authentication (e.g. Gmail attachments) or are blocked by CORS policies.

This extension solves the problem by fetching every image in your selection
from the page's own context (so authentication cookies are included) and
converting them to self-contained base64 data URIs before placing the result in
your clipboard.

Usage
  1. Select any text and images on a web page
  2. Right-click → "Copy with Embedded Images"
  3. A toast notification confirms how many images were embedded
  4. Paste into any rich text editor — images are fully embedded

Permissions
  • Access your data for all websites (<all_urls>): required to fetch images
    from any domain using the page's own authentication cookies. No data is sent
    to any server — everything happens locally in your browser.
  • Input data to the clipboard (clipboardWrite): required to write the
    processed HTML to your clipboard.
  • contextMenus: required to add the right-click menu entry.

License

MIT
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Input data to the clipboard
  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.0
Size
17.26 KB
Last updated
7 days ago (May 30, 2026)
Related Categories
  • Download Management
  • Photos, Music & Videos
License
MIT License
Version History
  • See all versions
Tags
  • download
  • user scripts
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version. Android is a trademark of Google LLC.