---
title: text
framework: uniformtypeidentifiers
role: symbol
role_heading: Type Property
path: uniformtypeidentifiers/uttype-swift.struct/text
---

# text

A base type that represents all text-encoded data, including text with markup.

## Declaration

```swift
static var text: UTType { get }
```

## Discussion

Discussion The identifier for this type is public.text. This type conforms to UTTypeData and UTTypeContent.

## See Also

### Text files

- [plainText](uniformtypeidentifiers/uttype-swift.struct/plaintext.md)
- [utf8PlainText](uniformtypeidentifiers/uttype-swift.struct/utf8plaintext.md)
- [utf16PlainText](uniformtypeidentifiers/uttype-swift.struct/utf16plaintext.md)
- [utf16ExternalPlainText](uniformtypeidentifiers/uttype-swift.struct/utf16externalplaintext.md)
