How to Import an Image into Excel: Step-by-Step
In this article
You can import an image into Excel in a few seconds: on Windows or Mac, open the Insert tab, click Pictures, choose This Device (or Stock Images / Online Pictures), select your file, and click Insert. On Excel for the web, use Insert > Pictures > This Device. The image lands on the sheet as a floating object you can drag, resize, or place inside a cell. The exact menu labels can differ slightly by Excel version, device, and region, so if you don't see the exact wording, look for the closest match under the Insert tab.
What You'll Need
- A copy of Excel for Windows, Mac, or the web (the desktop apps give you the most placement options).
- The image file saved on your computer or in your OneDrive/SharePoint account. Common formats such as JPG, PNG, GIF, BMP, and TIFF work; SVG is supported in newer versions but may not appear in older ones.
- Enough sheet space where you want the image to sit, or a target cell if you plan to place it inside a cell.
Step-by-Step
- Open your workbook and click the worksheet where the image should go. If you want the image anchored to a specific cell, click that cell first so you know where it will land.
- Go to the Insert tab on the ribbon. On Excel for the web the tab is also called Insert; on mobile, tap the plus or insert icon and choose Pictures.
- Click Pictures. In current desktop versions this opens a small menu with options such as This Device, Stock Images, and Online Pictures. Choose This Device to browse your own files. If your version shows a single Pictures button that opens a file dialog directly, that is the same step.
- Browse to the image file, select it, and click Insert. The image appears on the sheet, usually selected with sizing handles around it.
- Move and resize it. Drag the image by its edge to reposition it. Drag a corner handle to resize while keeping the aspect ratio; hold Shift while dragging a corner if you need to constrain it manually. Use the Picture Format tab that appears when the image is selected for cropping, borders, and transparency.
- Decide how it should behave with cells. Right-click the image and choose Size and Properties (or Format Picture), then open the Properties section. Choose Move and size with cells if the image should follow rows and columns when you insert or delete them, Move but don't size with cells for a floating image that stays put relative to the grid, or Don't move or size with cells to pin it in place.
- Place the image inside a cell (optional). In newer Excel versions, right-click the image and choose Place in Cell (or use Insert > Pictures > Place in Cell). The image then behaves like a value in that cell and can be sorted, filtered, and referenced by formulas that return pictures. If your version does not show this option, the feature is not available there; keep the image floating instead.
- Save the workbook with Ctrl+S (Cmd+S on Mac). Images are embedded in the file, so the .xlsx grows with each picture you add.
Common Mistakes
- Linking instead of embedding. Choosing Link to File in the insert dialog keeps only a reference; if the image moves or is deleted, the picture breaks. Use Insert unless you specifically need a live link.
- Inserting a screenshot when a file is wanted. The Screenshot option captures open windows, not files on disk. Use Pictures > This Device for saved images.
- Forgetting cell behavior. Leaving the default Move and size with cells can stretch or squash a logo when column widths change. Set the property deliberately.
- Using huge files. Very large photos bloat the workbook and slow it down. Resize or compress the image before inserting if the file is several megabytes.
- Expecting Place in Cell everywhere. It is not available in every Excel version or on every platform; if the menu item is missing, the feature is not supported there.
Tips
- Hold Alt while dragging an image on Windows to snap it to cell borders for tidy alignment.
- Use Picture Format > Crop to trim whitespace rather than resizing the whole image.
- For a logo that repeats on every printed page, put it in the header via Insert > Header & Footer instead of pasting it on the sheet.
- Name your images (select the image, then use the Name Box) so you can find them in the Selection Pane when a sheet gets busy.
- Keep original image files backed up; deleting the source does not affect an embedded picture, but it does break a linked one.
Troubleshooting
If the image will not insert, first check the file format and size. Convert unusual formats to JPG or PNG and try again. If Excel seems frozen after inserting a large photo, wait for the save to finish, then close and reopen the workbook. If the picture appears as a red X or a blank box, the file may be corrupt or the link broken; delete it and reinsert from a local copy.
If Place in Cell is greyed out or missing, your Excel version or platform does not support it; use a floating image and position it over the cell instead. If the image jumps around when you sort or filter, its property is set to move with cells; change it to Don't move or size with cells. If the workbook has become slow, remove unused images and compress the rest via Picture Format > Compress Pictures.
On Excel for the web, some formatting options are limited; open the file in the desktop app for full control. If inserting from OneDrive fails, sign out and back in, or download the image locally and insert it from your device.
Frequently Asked Questions
Can I insert an image into a specific cell so it stays there?
Yes, in versions that support Place in Cell. Right-click the image and choose Place in Cell, or use Insert > Pictures > Place in Cell. In older versions, insert the picture and set its properties to Move and size with cells.
Why does my image disappear when I filter or sort?
Floating images are not tied to rows by default. Either set the image to Move and size with cells and anchor it to the row, or use Place in Cell so it behaves like cell content.
Can I import an image from a URL?
Use Insert > Pictures > Online Pictures and paste the image URL where supported, or save the image locally and insert it from your device. Direct URL insertion is not available in every version.
Does inserting a picture increase the file size?
Yes. Embedded images are stored inside the workbook. Compress pictures via Picture Format > Compress Pictures or resize them before inserting to keep the file manageable.
Can I insert multiple images at once?
Yes. In the file dialog, hold Ctrl (Cmd on Mac) to select several files, then click Insert. They will all be placed on the sheet and can be repositioned individually.
Is there a way to import an image with a formula?
In versions that support Place in Cell, the IMAGE function can return a picture from a URL into a cell. Availability varies by version, so check whether the function is listed in your Excel's formula autocomplete before relying on it.