<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserKit",
  "identifier" : "/documentation/BrowserKit/BEBrowserDataExportManager/exportBrowserData(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserKit"
    ],
    "preciseIdentifier" : "s:So26BEBrowserDataExportManagerC10BrowserKitE06exporteB0yyScSySo0aB0CGYaKF"
  },
  "title" : "exportBrowserData(_:)"
}
-->

# exportBrowserData(_:)

Exports the given browser data.

```
@nonobjc final func exportBrowserData(_ browserDataStream: AsyncStream<BEBrowserData>) async throws
```

## Parameters

`browserDataStream`

An asynchronous stream of browser data to export.

## Discussion

Call this method to stream browsing data to the system, as identified by [`dataTypes`](/documentation/BrowserKit/BEExportOptions/dataTypes-swift.property).

Use this method after [`requestExport(for:token:completionHandler:)`](/documentation/BrowserKit/BEBrowserDataExportManager/requestExport(for:token:completionHandler:)) returns an [`BEExportOptions`](/documentation/BrowserKit/BEExportOptions) with [`exportToFiles`](/documentation/BrowserKit/BEExportOptions/exportToFiles) = `false`, or when the system launches your app as part of the transfer of browsing data to another browser.

For more information, see [Transferring browsing data to another browser](/documentation/BrowserKit/transferring-browsing-data-to-another-browser).

---

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)