logo
search
Office for Mac Issues

How to Paste HTML Images as Floating Objects in Excel for Mac

Adam DavisAdam Davis Oct 9, 2026 871 views

Question details

The user needs to paste HTML content containing base64 images into Excel for Mac so that the images float over the cells, consistent with how the action behaves on Windows.

How to Paste HTML Images as Floating Objects in Excel for Mac
Product
Microsoft Excel for Mac
Device & OS
Mac
Scenario
Pasting HTML data that includes tables, product information, and embedded images into a spreadsheet.
Observed behavior
The pasted images are automatically inserted inside the cells in Excel for Mac, whereas on Excel for Windows, the same images appear as floating objects over the worksheet cells.
Before you start

Verify that your HTML source contains properly formatted data and try pasting into a plain text editor first to ensure the clipboard captured the table structure correctly.

Solution 1Recommended

Insert the Image Manually as a Floating Picture

Since Excel for Mac handles HTML clipboards differently and defaults to placing images inside cells, pasting the text first and inserting the picture manually gives you full control over its floating placement.

There is no universal setting in Excel for Mac to perfectly replicate the Windows HTML-paste behavior. The most reliable workaround is to handle the structural data and the visual objects separately.

1
Copy the HTML text

Highlight and copy the HTML text and table data from your source, excluding the base64-encoded image.

2
Paste into Excel

Click the destination cell in your Excel for Mac worksheet and press Cmd + V to paste the data structure.

3
Insert the picture

Navigate to the 'Insert' tab on the top ribbon, select 'Pictures', and choose 'Picture from File...' to manually upload the image.

4
Adjust object placement

Right-click the inserted image, click 'Format Picture', navigate to 'Size & Properties', and select 'Move but don't size with cells' to ensure it remains a floating object.

Insert the Image Manually as a Floating Picture
Floating Object Control: By inserting the image separately, you avoid base64 HTML formatting conflicts and maintain total control over how the image layers over your spreadsheet.
Manage Floating Images Easily in WPS Office

Use WPS Spreadsheets for Consistent Image Formatting

If you are frustrated by formatting inconsistencies in Microsoft Excel for Mac, WPS Office provides a seamless and reliable way to manage floating objects and images. Enjoy a highly compatible and cross-platform spreadsheet experience.

  1. 1. Open WPS Spreadsheets: Launch WPS Office on your Mac and create a new blank spreadsheet or open your existing workbook.
  2. 2. Paste your data: Paste your HTML table data directly into the worksheet cells using Cmd + V.
  3. 3. Insert floating image: Go to the Insert tab, select Picture, and choose your local image file to insert it.
  4. 4. Set object properties: Right-click the image, select 'Format Object', and choose your preferred placement setting (e.g., Move and size with cells) for perfect floating alignment.
Fully compatible with Microsoft Excel (.xlsx and .xls) formats.Consistent floating image and object behavior across both Mac and Windows.Free and lightweight alternative to heavy office suites.Intuitive right-click menus for easy picture and cell formatting.
microsoft office alternative - wps office

Frequently Asked Questions

Why do pasted HTML images go inside the cell on Mac but float on Windows?

Excel for Mac uses a different clipboard rendering engine than Excel for Windows. When it detects an <img> tag in the HTML clipboard, Mac attempts to strictly associate it with the active cell structure, placing it inside, whereas Windows defaults to inserting it as a separate floating object.

Is there a setting in Excel for Mac to change default HTML pasting behavior?

No, there is currently no universal preference or setting in Excel for Mac that allows you to force pasted HTML images to default to floating objects instead of cell-bound images.

Can I use Paste Special to fix the base64 image issue?

Paste Special (Edit > Paste Special) allows you to strip HTML formatting by choosing 'Unicode Text', but this removes the image entirely. You will still need to manually insert the image afterward to make it float.