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

# BEBrowserDataBookmark

A class that transfers bookmark information between browsers.

```
class BEBrowserDataBookmark
```

## Overview

This class represents a single bookmark or bookmark folder with its associated metadata including title, URL, and relationship to other bookmarks. Bookmarks reside in a folder structure according to the [`parentIdentifier`](/documentation/BrowserKit/BEBrowserDataBookmark/parentIdentifier) property.

## Topics

### Creating a bookmark

[`init(isFolder: Bool, title: String, identifier: String, url: URL?, parentIdentifier: String?)`](/documentation/BrowserKit/BEBrowserDataBookmark/init(isFolder:title:identifier:url:parentIdentifier:))

Creates a bookmark.

### Accessing bookmark properties

[`var identifier: String`](/documentation/BrowserKit/BEBrowserDataBookmark/identifier)

A unique identifier for a bookmark.

[`var isFolder: Bool`](/documentation/BrowserKit/BEBrowserDataBookmark/isFolder)

A Boolean value that indicates whether a bookmark represents a folder.

[`var title: String`](/documentation/BrowserKit/BEBrowserDataBookmark/title)

A localized title for a bookmark.

[`var url: URL?`](/documentation/BrowserKit/BEBrowserDataBookmark/url)

A URL to which a bookmark points.

### Managing bookmark hierarchy

[`var parentIdentifier: String?`](/documentation/BrowserKit/BEBrowserDataBookmark/parentIdentifier)

A string that identifies the bookmark’s parent folder.

### Initializers

[`init(asFolder: Bool, title: String, identifier: String, url: URL?, parentIdentifier: String?)`](/documentation/BrowserKit/BEBrowserDataBookmark/init(asFolder:title:identifier:url:parentIdentifier:))

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

[`BEBrowserData`](/documentation/BrowserKit/BEBrowserData)

---

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)