---
title: exportToFiles
framework: BrowserKit
role: symbol
role_heading: Instance Property
platforms: [iOS 26.4+, iPadOS 26.4+]
path: browserkit/beexportoptions/exporttofiles
---

# exportToFiles

A Boolean value that indicates whether to export to files.

## Declaration

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

## Mentioned in

Transferring browsing data to another browser

## Discussion

Discussion If the value of this property is false, call 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(_:), export the browsing data to disk using a file format of your choosing.

## See Also

### Configuring export preferences

- [dataTypes](browserkit/beexportoptions/datatypes-swift.property.md)
- [BEExportOptions.DataTypes](browserkit/beexportoptions/datatypes-swift.struct.md)
