User Agents

Web browsers and everyday web tech, explained

Access Embedded Files in Safari: Page Resources Guide

· 6 min read · Browsers

In this article
  1. What Are Page Resources in Safari?
  2. How to Enable the Develop Menu
  3. Using Page Resources on macOS
  4. Accessing Page Resources on iPhone and iPad
  5. Common Problems and Solutions
  6. Alternatives to Page Resources
  7. Safety and Privacy Considerations
  8. Frequently Asked Questions

To access embedded files in Safari using page resources, open Safari's Developer menu, select "Show Page Resources," and filter or search for the file type you need—this reveals all files loaded by the current page, including images, scripts, and media. This guide explains how to use the Page Resources feature to find and save embedded files, with steps for macOS and iOS, common issues, and practical tips.

What Are Page Resources in Safari?

Page Resources is a built-in Safari developer tool that lists every file a webpage loads. When you visit a page, the browser fetches HTML, CSS, JavaScript, images, videos, fonts, and other assets. The Page Resources panel shows these files in a sidebar, letting you inspect, search, and sometimes save them.

This feature is part of Safari's Web Inspector, a set of tools designed for web developers. However, it is also useful for regular users who want to download an embedded video, extract a background image, or find a PDF that is not directly linked. The tool works on macOS and, with some limitations, on iOS devices.

How to Enable the Develop Menu

Before you can access Page Resources, you must turn on the Develop menu in Safari. Here are the steps for macOS:

  1. Open Safari and go to Safari > Settings (or Preferences in older versions).
  2. Click the Advanced tab.
  3. Check the box next to "Show features for web developers".

Once enabled, a new Develop menu appears in the menu bar. On iOS, the process is different: you must enable Web Inspector in Settings > Safari > Advanced, but you still need a Mac with Safari's Develop menu to view the resources of a page open on your iPhone or iPad.

Using Page Resources on macOS

After enabling the Develop menu, follow these steps to access embedded files:

  1. Navigate to the webpage that contains the embedded file you want.
  2. Click Develop > Show Page Resources (or press Option+Command+R). This opens the Web Inspector at the bottom of the window.
  3. In the left sidebar, you will see a list of all resources loaded by the page, grouped by type (Images, Stylesheets, Scripts, Fonts, etc.).
  4. Use the search field at the top of the sidebar to filter by file name, type, or URL.
  5. Click a resource to see its details, including the full URL, file size, and a preview if it is an image or video.

To save a file, right-click (or Control-click) the resource in the list and choose "Save As…" (or "Download" in some versions). For images, you can also right-click the preview and select "Save Image As."

Accessing Page Resources on iPhone and iPad

Safari on iOS does not have a direct Page Resources interface, but you can use the Web Inspector on a Mac to view resources from a mobile device. Here's how:

  1. On your iPhone or iPad, go to Settings > Safari > Advanced and enable Web Inspector.
  2. Connect your device to your Mac with a USB cable (or ensure both are on the same Wi-Fi network with the device trusted).
  3. On your Mac, open Safari and go to .

The Web Inspector will show the resources for the page as it appears on your device. You can then save files using the same right-click method. Note that some resources may be loaded dynamically, so you might need to refresh the page on your device to see all files.

Common Problems and Solutions

Sometimes the Page Resources list does not show what you expect. Here are typical issues and fixes:

  • File not listed: If the file is loaded dynamically after the initial page load, it may not appear. Refresh the page while the Web Inspector is open, or interact with the page (e.g., play a video) to trigger the load.
  • Cannot save a file: Some resources are protected by cross-origin policies or are streamed, making them unavailable for direct download. In that case, you may need to use the Network tab in the Web Inspector to capture the file as it loads.
  • Develop menu missing: If you don't see the Develop menu after enabling it, restart Safari. On some versions, you may also need to quit and reopen the browser.
  • Resources are grayed out: This often means the resource is from a different origin (e.g., an ad server). You can still view its URL, but saving may be blocked.

Alternatives to Page Resources

If Page Resources doesn't work for your needs, there are other methods to access embedded files:

  • View Source: Right-click the page and select "View Page Source" (or use Develop > Show Page Source). Search the HTML for file extensions like .mp4, .pdf, or .png to find direct URLs.
  • Network Tab: In the Web Inspector, click the Network tab and reload the page. You can filter by type and see every request, including media files. Right-click a request and choose "Open in New Tab" or "Copy as cURL" to download.
  • Browser Extensions: Some third-party extensions (like Video Downloader or Image Downloader) can extract embedded files, but be cautious—they may not be reliable or safe. Always download extensions from the official App Store or Safari Extensions Gallery.
  • Bookmarklet: You can create a bookmarklet that runs JavaScript to list all images or links on a page, but this requires some technical knowledge.

Safety and Privacy Considerations

When using Page Resources to access embedded files, keep these points in mind:

  • Copyright: Downloading images, videos, or documents may violate copyright. Only save files you have permission to use.
  • Malware: Files from untrusted websites could contain malicious code. Be cautious when opening downloaded files, especially executables or scripts.
  • Privacy: The Page Resources panel shows all requests, including tracking pixels and analytics scripts. This can reveal how a page tracks you, but it also means you might see URLs that contain personal data (e.g., tokens). Do not share these URLs.
  • No Security Bypass: This tool does not bypass paywalls, login requirements, or DRM. It only shows files that are publicly loaded by the page.

Frequently Asked Questions

Can I use Page Resources to download a video that plays on a webpage?

Yes, in many cases. Open Page Resources, filter by "Media" or search for the video file extension (like .mp4 or .m3u8). If the video is not DRM-protected, you can right-click and save it. For streaming videos, you may need to use the Network tab and look for the largest .mp4 file.

Why can't I see the Develop menu on my Mac?

Make sure you are using Safari on macOS and have enabled "Show features for web developers" in Settings > Advanced. If the menu still doesn't appear, restart Safari. On some older versions, the option is under Preferences > Advanced.

Does Page Resources work on Safari for Windows?

No, Safari for Windows was discontinued years ago and does not support the Develop menu or Page Resources. You would need to use a different browser's developer tools (like Chrome's DevTools) on Windows.

Can I access embedded files on my iPhone without a Mac?

Not directly through Safari's built-in tools. You can try using a third-party app or a shortcut that extracts media, but these are often limited and may not work for all file types. The most reliable method is to use a Mac with the Web Inspector.

Is there a way to see all images on a page at once?

Yes, in Page Resources, click the "Images" filter in the sidebar to see a list of all image files. You can also use the search bar to type "img" or filter by file extension. Right-click any image to save it individually.