<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "QuickLookThumbnailing",
  "identifier" : "/documentation/QuickLookThumbnailing",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Quick Look Thumbnailing"
    ],
    "preciseIdentifier" : "QuickLookThumbnailing"
  },
  "title" : "Quick Look Thumbnailing"
}
-->

# Quick Look Thumbnailing

Generate thumbnails for common file types and add a Thumbnail Extension to your app to enable others to create thumbnails of your custom files.

## Overview

You may want to create a miniature representation, or *thumbnail*, of a file and its contents to display within your app. The QuickLookThumbnailing framework provides an API to generate thumbnails using the [`QLThumbnailGenerator`](/documentation/QuickLookThumbnailing/QLThumbnailGenerator) object. It can generate thumbnails for common file types, including:

- Images
- Live Photos
- Text files
- PDFs
- Audio and video files
- Augmented reality objects using the usdz file format (iOS and iPadOS only)

Many apps use custom file types to persist their data. Finder and Spotlight on macOS, other features of the operating system, as well as other apps, often display a generic file icon instead of a thumbnail for these files. However, if an installed app implements a Thumbnail Extension that supports the custom file types, the operating system and other apps can leverage the extension to display rich thumbnails of the custom file types through the [`QLThumbnailGenerator`](/documentation/QuickLookThumbnailing/QLThumbnailGenerator) object. Add a Thumbnail Extension to your app to provide rich thumbnails of your custom file types to your users throughout the operating system and third party apps.

## Topics

### Thumbnail Generation

[Creating Quick Look Thumbnails to Preview Files in Your App](/documentation/QuickLookThumbnailing/creating-quick-look-thumbnails-to-preview-files-in-your-app)

Generate thumbnails of images, text files, PDFs, audio files, videos, and more.

[`QLThumbnailGenerator`](/documentation/QuickLookThumbnailing/QLThumbnailGenerator)

An object that generates thumbnail images based on provided requirements.

[`QLThumbnailRepresentation`](/documentation/QuickLookThumbnailing/QLThumbnailRepresentation)

Information about the thumbnail that the thumbnail generator returns.

### Thumbnails for Custom File Types

[Providing Thumbnails of Your Custom File Types](/documentation/QuickLookThumbnailing/providing-thumbnails-of-your-custom-file-types)

Implement a Thumbnail Extension to allow the operating system and other apps to display thumbnails of your custom files.

[`QLThumbnailProvider`](/documentation/QuickLookThumbnailing/QLThumbnailProvider)

An abstract base class for creating thumbnails of custom file types.

[`QLFileThumbnailRequest`](/documentation/QuickLookThumbnailing/QLFileThumbnailRequest)

A request to generate a thumbnail for a custom file type.

[`QLThumbnailReply`](/documentation/QuickLookThumbnailing/QLThumbnailReply)

The object that provides a thumbnail for a custom file type.

### Error Information

[`QLThumbnailErrorDomain`](/documentation/QuickLookThumbnailing/QLThumbnailErrorDomain)

The error domain of the QuickLookThumbnailing framework.

[`QLThumbnailError`](/documentation/QuickLookThumbnailing/QLThumbnailError-swift.struct)

Error information that might return when you generate a thumbnail.

[`QLThumbnailError.Code`](/documentation/QuickLookThumbnailing/QLThumbnailError-swift.struct/Code)

Error codes that may be returned when generating a thumbnail.



---

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)