<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPasteboard/PasteboardType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSPasteboardType"
  },
  "title" : "NSPasteboard.PasteboardType"
}
-->

# NSPasteboard.PasteboardType

The supported pasteboard types.

```
struct PasteboardType
```

## Topics

### Pasteboard Types

[`URL`](/documentation/AppKit/NSPasteboard/PasteboardType/URL)

URL data for one file or resource.

[`collaborationMetadata`](/documentation/AppKit/NSPasteboard/PasteboardType/collaborationMetadata)

An object you use for conveying data during a collaboration.

[`color`](/documentation/AppKit/NSPasteboard/PasteboardType/color)

Color data.

[`fileContents`](/documentation/AppKit/NSPasteboard/PasteboardType/fileContents)

A representation of a file’s contents.

[`fileURL`](/documentation/AppKit/NSPasteboard/PasteboardType/fileURL)

A file URL.

[`findPanelSearchOptions`](/documentation/AppKit/NSPasteboard/PasteboardType/findPanelSearchOptions)

Type for the find panel metadata property list.

[`font`](/documentation/AppKit/NSPasteboard/PasteboardType/font)

Font and character information.

[`html`](/documentation/AppKit/NSPasteboard/PasteboardType/html)

Type for HTML content.

[`multipleTextSelection`](/documentation/AppKit/NSPasteboard/PasteboardType/multipleTextSelection)

Multiple text selection.

[`pdf`](/documentation/AppKit/NSPasteboard/PasteboardType/pdf)

PDF data.

[`png`](/documentation/AppKit/NSPasteboard/PasteboardType/png)

PNG image data.

[`rtf`](/documentation/AppKit/NSPasteboard/PasteboardType/rtf)

Rich Text Format (RTF) data.

[`rtfd`](/documentation/AppKit/NSPasteboard/PasteboardType/rtfd)

RTFD formatted file contents.

[`ruler`](/documentation/AppKit/NSPasteboard/PasteboardType/ruler)

Paragraph formatting information.

[`sound`](/documentation/AppKit/NSPasteboard/PasteboardType/sound)

Sound data.

[`string`](/documentation/AppKit/NSPasteboard/PasteboardType/string)

String data.

[`tabularText`](/documentation/AppKit/NSPasteboard/PasteboardType/tabularText)

Tab-separated fields of text.

[`textFinderOptions`](/documentation/AppKit/NSPasteboard/PasteboardType/textFinderOptions)

Type for the Find panel metadata property list.

[`tiff`](/documentation/AppKit/NSPasteboard/PasteboardType/tiff)

Tag Image File Format (TIFF) data.

### Option Keys

[`NSPasteboard.PasteboardType.FindPanelSearchOptionKey`](/documentation/AppKit/NSPasteboard/PasteboardType/FindPanelSearchOptionKey)

Search options for the find panel.

[`NSPasteboard.PasteboardType.TextFinderOptionKey`](/documentation/AppKit/NSPasteboard/PasteboardType/TextFinderOptionKey)

Search options for text in Finder.

### Initializers

[`init(_:)`](/documentation/AppKit/NSPasteboard/PasteboardType/init(_:))

[`init(rawValue:)`](/documentation/AppKit/NSPasteboard/PasteboardType/init(rawValue:))

### Deprecated

[`filePromise`](/documentation/AppKit/NSPasteboard/PasteboardType/filePromise)

Promised files.

[`inkText`](/documentation/AppKit/NSPasteboard/PasteboardType/inkText)

Ink text data.

[`postScript`](/documentation/AppKit/NSPasteboard/PasteboardType/postScript)

Encapsulated PostScript (EPS) code.

[`vCard`](/documentation/AppKit/NSPasteboard/PasteboardType/vCard)

VCard data.

[`representedPathExtension`](/documentation/AppKit/NSPasteboard/PasteboardType/representedPathExtension)

A file type based on the passed pasteboard type.

[`fileContentsType(forPathExtension:)`](/documentation/AppKit/NSPasteboard/PasteboardType/fileContentsType(forPathExtension:))

Returns a pasteboard type based on the passed file type.

[`fileNameType(forPathExtension:)`](/documentation/AppKit/NSPasteboard/PasteboardType/fileNameType(forPathExtension:))

Returns a pasteboard type based on the passed file type.

[`representedPathExtensions(from:)`](/documentation/AppKit/NSPasteboard/PasteboardType/representedPathExtensions(from:))

Returns an array of file types based on the passed pasteboard types.

[`NSColorPboardType`](/documentation/AppKit/NSColorPboardType)

`NSColor` data.

[`NSFilenamesPboardType`](/documentation/AppKit/NSFilenamesPboardType)

An array of `NSString` objects designating one or more filenames.

[`NSFontPboardType`](/documentation/AppKit/NSFontPboardType)

Font and character information.

[`NSHTMLPboardType`](/documentation/AppKit/NSHTMLPboardType)

HTML (which an `NSTextView` object can read from, but not write to).

[`NSMultipleTextSelectionPboardType`](/documentation/AppKit/NSMultipleTextSelectionPboardType)

Multiple text selection.

[`NSPDFPboardType`](/documentation/AppKit/NSPDFPboardType)

PDF data.

[`NSPICTPboardType`](/documentation/AppKit/NSPICTPboardType)

QuickDraw picture data.

[`NSRTFDPboardType`](/documentation/AppKit/NSRTFDPboardType)

RTFD formatted file contents.

[`NSRTFPboardType`](/documentation/AppKit/NSRTFPboardType)

Rich Text Format (RTF) data.

[`NSRulerPboardType`](/documentation/AppKit/NSRulerPboardType)

Paragraph formatting information.

[`NSStringPboardType`](/documentation/AppKit/NSStringPboardType)

`NSString` data.

[`NSTIFFPboardType`](/documentation/AppKit/NSTIFFPboardType)

`NSString` data.

[`NSTabularTextPboardType`](/documentation/AppKit/NSTabularTextPboardType)

An `NSString` object containing tab-separated fields of text.

[`NSURLPboardType`](/documentation/AppKit/NSURLPboardType)

`NSURL` data for one file or resource.

[`NSPasteboardTypeFindPanelSearchOptions`](/documentation/AppKit/NSPasteboardTypeFindPanelSearchOptions)

Type for the Find panel metadata property list.



---

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)