<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEExportOptions/exportToFiles",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEExportOptions(py)exportToFiles"
  },
  "title" : "exportToFiles"
}
-->

# exportToFiles

A Boolean value that indicates whether to export to files.

```
var exportToFiles: Bool { get }
```

## Discussion

If the value of this property is `false`, call [`exportBrowserData(_:)`](/documentation/BrowserKit/BEBrowserDataExportManager/exportBrowserData(_:)) to send the browser data directly to the browser that the person chooses in the browsing-data transfer sheet.

If the value of this property is `true`, the system cancels the browser-to-browser data exchange. Instead of streaming export data through [`exportBrowserData(_:)`](/documentation/BrowserKit/BEBrowserDataExportManager/exportBrowserData(_:)), export the browsing data to disk using a file format of your choosing.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)