View on GitHub

A Dissect module implementing parsers for the FAT and exFAT file systems, commonly used on flash memory based storage devices and UEFI partitions.


dissect.fat is available on PyPI.

$ pip install dissect.fat

This module is also automatically installed if you install the dissect package.


This package is a library with no CLI tools, so you can only interact with it from Python. For example, to print a directory listing of the root directory and read a file:

from dissect.fat import FATFS

fh = open_fatfs_volume()  # i.e. using dissect.volume

# Supports FAT12, 16 and 32
fs = FATFS(fh)

file_fh = fs.get("/file.txt").open()  # This is just another file-like object


For more details, please refer to the API documentation of dissect.fat.