How to Insert a Picture into a Cell in Google Sheets
In this article
Google Sheets does not let you place an image inside a cell the way Excel does with its “Place in Cell” option. What you can do is insert an image that floats over the grid and then resize and position it so it sits neatly within a cell’s borders — and, importantly, set it to move and size with the cell so it stays put when you sort or resize. This guide walks through that workaround step by step, plus the formula-based alternative if you need the image to behave like cell content.
What You'll Need
- A Google account with access to Google Sheets (the web version at sheets.google.com gives the most control; the mobile app has fewer image options).
- The image file saved on your computer or in Google Drive — common formats like PNG, JPG, and GIF work.
- A basic idea of which cell the image should occupy, so you can size it correctly.
Step-by-Step
- Open your spreadsheet in Google Sheets on a computer. The insert-image workflow described here is easiest on desktop; the mobile app can insert images but with fewer placement controls, so use a browser if you can.
- Select the cell where you want the picture to appear. You do not have to select it first, but doing so helps you remember the target while you drag the image into place.
- Insert the image. Go to Insert > Image and choose one of the options: Upload from computer, Search the web, Drive, Photos, or By URL. Pick the source that matches where your file lives. If you choose Upload from computer, a file picker opens — select your image and click Open.
- Wait for the image to appear. It will land on top of the sheet, floating above the grid, usually near the cell you had selected. It is not yet “in” the cell — it is an overlay object.
- Resize the image to fit the cell. Click the image once to select it; small blue handles appear at the corners and edges. Drag a corner handle inward until the image is roughly the size of the cell. Hold Shift while dragging if you want to keep the aspect ratio (on most browsers this constrains proportions).
- Move the image over the cell. Drag from the middle of the image (not a handle) until it sits within the cell borders. Zoom in with the zoom control at the top right if you need finer placement — 100% or 150% makes alignment easier.
- Anchor the image to the cell. With the image selected, click the three-dot menu that appears at its top-right corner (or right-click the image) and choose Put in cell if your version offers it — this is the closest built-in equivalent to “in cell.” If that option is not shown, choose Assign to cell or use the alternative below. Menu labels vary slightly by version and region, so look for the option that mentions cell anchoring.
- If “Put in cell” is not available, use the formula approach instead: click the target cell, type
=IMAGE("URL")where URL is a public link to your image, and press Enter. The image then renders inside the cell and behaves like cell content. The URL must be publicly accessible (for example a direct link to a file in Google Drive set to “Anyone with the link,” or an image hosted on a public site). - Adjust row height and column width so the image is fully visible. Drag the row boundary or column boundary, or right-click the row/column header and choose Resize row or Resize column. With the IMAGE formula, you can also add sizing parameters:
=IMAGE("URL", 4, 100, 100)sets the mode and width/height in pixels. - Test the anchoring. Sort a column or insert a row above the image. If the image was properly anchored (or is a formula), it should move with its cell. If it stays behind, it is still a floating overlay — repeat the anchoring step or switch to the IMAGE formula.
Common Mistakes
- Assuming the image is inside the cell. A floating image looks like it is in the cell but is a separate object. If you sort or filter, it may not follow the data. Use “Put in cell” or the IMAGE formula when position matters.
- Using a private Drive link with IMAGE. The formula needs a publicly accessible URL. A normal “share” link to a private file will show a broken-image icon. Set sharing to “Anyone with the link” or host the image publicly.
- Dragging a corner handle when you meant to move the image. Handles resize; the center moves. This is the most common cause of accidentally stretched pictures.
- Forgetting to resize the row. Even a correctly placed image gets clipped if the row height is too small. Resize the row after placing the image.
- Expecting the mobile app to match desktop. The Sheets mobile app has fewer image placement options; some anchoring features are desktop-only. Do the layout on a computer if precision matters.
Tips
- Zoom in to 150% or 200% before fine-tuning placement; it makes aligning to cell borders much easier.
- Keep images small in file size (a few hundred KB) so the sheet stays responsive, especially if you add many pictures.
- Use the IMAGE formula when you need the picture to sort, filter, or copy with the cell — for example, a product thumbnail column.
- If you need the same image in many rows, put the IMAGE formula in one cell and drag the fill handle down, changing the URL reference per row.
- Lock the position by protecting the sheet (Data > Protect sheets and ranges) after everything is placed, so accidental drags do not move images.
Troubleshooting
- The image will not stay in the cell. It is still a floating overlay. Use the image’s three-dot menu and look for “Put in cell,” or replace it with an IMAGE formula.
- The IMAGE formula shows a broken icon. The URL is not public or not a direct image link. Open the URL in a private browser window — if it does not display the image alone, fix sharing or use a different host.
- The image is blurry or stretched. You resized with a corner handle without holding Shift, or the source image is low resolution. Re-insert and resize proportionally, or use a higher-resolution file.
- The image disappeared after sorting. It was floating and not anchored. Undo (Ctrl+Z or Cmd+Z), re-anchor it, then sort again.
- Insert > Image is greyed out or missing. You may be in a view-only or protected sheet, or offline with limited features. Check sharing permissions and your connection, then reload the page.
- The image covers other data. Floating images sit above cells. Move the image to an empty area, resize the row, or use the IMAGE formula so it occupies only its own cell.
Frequently Asked Questions
Can I truly insert an image inside a cell in Google Sheets?
Not in the same way Excel does. Google Sheets offers “Put in cell” (where available) to anchor a floating image to a cell, and the IMAGE formula to render an image as cell content. The formula is the closest thing to a true in-cell image.
Why does my IMAGE formula show a broken image icon?
The URL is not publicly accessible or is not a direct link to an image file. Set the file’s sharing to “Anyone with the link” and use the direct image URL, or host it on a public site.
Does the mobile app support inserting images into cells?
The Sheets mobile app can insert images, but placement and anchoring options are more limited than on desktop. For precise in-cell placement, use a computer browser.
Will the image move if I sort or filter the sheet?
Only if it is anchored to the cell (via “Put in cell”) or created with the IMAGE formula. A plain floating image stays where it is on the canvas and may end up over the wrong data.
Can I resize an image to fit a cell exactly?
Yes. Drag the corner handles to resize, then resize the row and column to match. With the IMAGE formula, you can specify width and height in pixels directly in the formula.
Do inserted images count toward the sheet’s limits?
Google Sheets has a limit on the total number of cells, and large numbers of floating images can slow a sheet down. Keep images modest in size and number for smooth performance.