How to Paste HTML Images as Floating Objects in Excel for Mac
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.

- 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.
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.
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.
Highlight and copy the HTML text and table data from your source, excluding the base64-encoded image.
Click the destination cell in your Excel for Mac worksheet and press Cmd + V to paste the data structure.
Navigate to the 'Insert' tab on the top ribbon, select 'Pictures', and choose 'Picture from File...' to manually upload the image.
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.

Convert Cell-Bound Images to Floating Objects
If you have already pasted the HTML and the images are stuck inside the cells, you can extract them and convert them into floating shapes.
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. Open WPS Spreadsheets: Launch WPS Office on your Mac and create a new blank spreadsheet or open your existing workbook.
- 2. Paste your data: Paste your HTML table data directly into the worksheet cells using Cmd + V.
- 3. Insert floating image: Go to the Insert tab, select Picture, and choose your local image file to insert it.
- 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.

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.




