How to Insert an Image in Google Docs, Sheets and Slides From a URL

How to Insert an Image in Google Docs, Sheets and Slides From a URL

Inserting an image into a Google Doc from a URL is faster than downloading and re-uploading it, especially for screenshots someone sent you as a link. It takes three clicks, as long as the link is the right kind. This guide covers Docs, Slides and Sheets, and why "can't access the image" errors happen.

Google Docs

  1. Click where you want the image to appear.
  2. Choose Insert > Image > By URL.
  3. Paste the image link. A preview appears if the link works.
  4. Click Insert.

Then click the image to resize it, choose how text wraps around it (In line, Wrap text, Break text), or add alt text via Image options.

Google Slides

  1. Open the slide.
  2. Choose Insert > Image > By URL.
  3. Paste the link and click Insert, then drag the image into place.

Google Sheets

Sheets has two options:

The formula is great for product lists and bug trackers: put image links in one column and =IMAGE(A2) in the next.

Why "can't access the image" happens

CauseExampleFix
The link is a web page, not an imageA share page, a gallery, or a Drive preview linkUse the direct image link
The image needs a loginA private Drive or Dropbox file, an intranetUse a public image link
Unsupported formatHEIC, SVG, TIFFUse PNG, JPG or GIF
The image is very largeHuge scrolling screenshotsCrop or resize it (how)

Google Docs needs a link that opens the image file itself, the kind that usually ends in .png, .jpg or .gif. That's called a direct image link; what is a direct image URL explains it.

Getting a link that always works

  1. Paste or upload your screenshot on sshot.online.
  2. Copy the direct link (the one ending in the file extension).
  3. Use it in Insert > Image > By URL.

Direct links open for anyone without a login, which is exactly what Google's importer needs. The PNG format is kept, so text in your screenshot stays sharp in the document.

Copy or link: what Docs actually stores

When you insert an image by URL in Docs or Slides, Google copies the image into your file. The document keeps working even if the original link later stops working, but it won't update if the image at that link changes. In Sheets, the IMAGE() formula loads the picture from the link each time, so it always shows what's currently there.

Tips for images in documents

Paste a screenshot to get a direct .png link that works with Insert > Image > By URL in Docs and Slides.

Get a direct image link

Frequently asked questions

How do I insert an image by URL in Google Docs?

Click where you want the image, choose Insert > Image > By URL, paste the image link and click Insert.

Why does Google Docs say it cannot access the image?

The link usually points to a web page rather than the image file, or the image needs a login. Use a direct image link that ends in .png, .jpg or .gif and opens for anyone.

How do I show an image from a URL in Google Sheets?

Use the formula =IMAGE("https://…/picture.png") in a cell. You can also choose Insert > Image > Image in cell and pick By URL.

If the image at the URL changes, does my document update?

No. Docs and Slides copy the image into the file when you insert it. In Sheets, the IMAGE() formula loads from the link, so it shows the current image at that address.

Related articles

← All guides