exFAT (Extensible File Allocation Table) is a file system introduced by Microsoft in 2006 and optimized for flash memory such as USB flash drives and SD cards.[5] exFAT is proprietary, and Microsoft owns patents on several elements of its design.[2]

Full nameExtensible File Allocation Table
IntroducedNovember 2006 with Windows Embedded CE 6.0
Partition identifier
Directory contentsTable
File allocationbitmap, linked list
Bad blocksCluster tagging
Max. volume sizec. 128 PiB, 512 TiB recommended[1]
Max. file sizec. 128 PiB (theoretical 16 EiB–1)[nb 1]
Max. number of filesup to 2,796,202 per directory[2]
Max. filename length255 characters
Allowed characters in filenamesall Unicode characters except U+0000 (NUL) through U+001F (US) / (slash) \ (backslash) : (colon) * (asterisk) ? (question mark) " (quote) < (less than) > (greater than) and | (pipe)
(encoding in UTF-16LE)
Dates recordedCreation, last modified, last access
Date range1980-01-01 to 2107-12-31
Date resolution10 ms
AttributesRead-only, hidden, system, subdirectory, archive
File system permissionsACL (Windows CE 6 only)
Transparent compressionNo
Transparent encryptionNo
Supported operating systems

exFAT can be used where NTFS is not a feasible solution (due to data-structure overhead), but a greater file-size limit than the standard FAT32 file system (i.e. 4 GiB) is required.

exFAT has been adopted by the SD Association as the default file system for SDXC cards larger than 32 GiB.

In 2013, Samsung Electronics published under GPL a Linux driver for exFAT.[6] On 28 August 2019, Microsoft published the exFAT specification for the first time[7], and new driver was included in Linux kernel version 5.4.


exFAT was introduced in late 2006 as part of Windows CE 6.0, an embedded Windows operating system. Most of the vendors signing on for licences are manufacturers of embedded systems or device manufacturers that produce media formatted with exFAT. The entire File Allocation Table (FAT) family, exFAT included, is used for embedded systems because it is lightweight and is better suited for solutions that have low memory and low power requirements, and can be easily implemented in firmware.


The specifications, features, and requirements of the exFAT file system include:

  • File size limit of 16 exabytes (264−1 bytes, or about 1019 bytes, which is otherwise limited by a maximum volume size of 128 PB[nb 1], or 257−1 bytes), raised from 4 GB (232−1 bytes) in a standard FAT32 file system.[1] Therefore, for the typical user, seamless interoperability between Windows and macOS platforms for files in excess of 4 GB.
  • Scalability to large disk sizes: ca. 128 PB (257−1 bytes)[8][nb 2] maximum, 512 TB (249−1 bytes) recommended maximum, raised from the 32-bit limit (2 TB for a sector size of 512 bytes) of standard FAT32 partitions.[9]
  • Support for up to 2,796,202 files per directory.[2][nb 3] Microsoft documents a limit of 65,534 (216−2) files per sub-directory for their FAT32 implementation, but other operating systems have no special limit for the number of files in a FAT32 directory. FAT32 implementations in other operating systems allow an unlimited number of files up to the number of available clusters (that is, up to 268,304,373 files on volumes without long filenames).[nb 4]
  • Maximum number of files on volume C, to 4,294,967,285 (232 − 11, up from ca. 228 − 11[nb 4] in standard FAT32).
  • Free space allocation and delete performance improved due to introduction of a free space bitmap.
  • Timestamp granularity of 10 ms for Create and Modified times (down from 2 s of FAT, but not as fine as NTFS's 100 ns).[2]
  • Timestamp granularity for Last Access time to double seconds (FAT had date only).
  • Optional support for UTC timestamps (starting with Vista SP2).[10]
  • Optional support for access control lists (not currently supported in Windows Desktop/Server versions).[11]
  • Optional support for TexFAT, a transactional file system standard (optionally WinCE activated function, not supported in Windows Desktop/Server versions).
  • Boundary alignment offset for the FAT table.
  • Boundary alignment offset for the data region.
  • Provision for OEM-definable parameters to customize the file system for specific device characteristics.[12][13]
  • Valid Data Length (VDL): through the use of two distinct lengths fields, one for "allocated space" and the other for "valid data", exFAT can preallocate a file without leaking data that was previously on-disk.
  • Cluster size up to 32 MB.[14]
  • Metadata integrity with checksums.
  • Template based metadata structures.
  • Removal of the physical . and .. directory entries that appear in subdirectories.
  • exFAT does not support short (8.3 format) filenames.

Windows XP requires update KB955704 to be installed and Windows Vista requires its SP1 or SP2 be installed.[14][15][16] Windows Vista is unable to use exFAT drives for ReadyBoost. Windows 7 removes this limitation, enabling ReadyBoost caches larger than 4 GB.[17] Windows 10 only allows formatting exFAT on volumes sized 32 GiB or larger with the default user interface, and FAT32 format is suggested for lower sizes; command-line utilities still accept a full range of file systems and allocation unit sizes.

The standard exFAT implementation is not journaled and only uses a single file allocation table and free space map. FAT file systems instead used alternating tables, as this allowed recovery of the file system if the media was ejected during a write (which occurs frequently in practice with removable media). The optional TexFAT component adds support for additional backup tables and maps, but may not be supported.

The exFAT format allows individual files larger than 4 GB, facilitating long continuous recording of HD video which can exceed the 4 GB limit in less than an hour. Current digital cameras using FAT32 will break the video files into multiple segments of approximately 2 or 4 GB. With the increase of capacity and the increase of data being transferred, the write operation needs to be made more efficient. SDXC cards, running at UHS-I have a minimum guaranteed write speed of 10 MBps and exFAT plays a factor in achieving that throughput through the reduction of the file system overhead in cluster allocation. This is achieved through the introduction of a cluster bitmap and elimination (or reduction) of writes to the FAT. A single bit in the directory record indicates that the file is contiguous, telling the exFAT driver to ignore the FAT. This optimization is analogous to an extent in other file systems, except that it only applies to whole files, as opposed to contiguous parts of files.


exFAT is supported in Windows XP and Windows Server 2003 with update KB955704,[1] Windows Embedded CE 6.0, Windows Vista with Service Pack 1,[18] Windows Server 2008,[19] Windows 7, Windows 8, Windows Server 2008 R2 (except Windows Server 2008 Server Core), Windows 10, and Mac OS X starting from 10.6.5.[20][21]

Companies can integrate exFAT into a specific group of consumer devices, including cameras, camcorders, and digital photo frames for a flat fee. Mobile phones, PCs, and networks have a different volume pricing model.[5]

exFAT is supported in a number of media devices such as modern flat-panel TVs,[22] media centers, and portable media players.[23]

Some vendors of flash media, including USB pen drives, compact flash (CF) and solid-state drives (SSD) ship some of their high-capacity media pre-formatted with the exFAT file system. For example, Sandisk ships their 256 GB CF cards as exFAT.

Microsoft has entered into licensing agreements with BlackBerry,[24][25] Panasonic, Sanyo, Sony, Canon, Aspen Avionics,[26] Audiovox, Continental, Harman, LG Automotive[27] and BMW.[28]

Mac OS X Snow Leopard 10.6.5 and later can create, read, write, verify, and repair exFAT file systems.[20][21]


A FUSE-based implementation named fuse-exfat, or exfat-fuse[4], with read/write support is available for FreeBSD, multiple Linux distributions, and older versions of Mac OS X. It supports TRIM.[29][30][31][32][33] A kernel implementation has also been released, written by Samsung Electronics.[34] It was initially released on GitHub unintentionally,[35] and later released officially by Samsung in compliance with the GPL.[36][37] An implementation called exFATFileSystem, based on fuse-exfat, is available for AmigaOS 4.1.[38]

Proprietary read/write solutions licensed and derived from the Microsoft exFAT implementation are available for Android,[39] Linux, and other operating systems from Paragon Software Group and Tuxera.

XCFiles (from Datalight) is a proprietary, full-featured implementation, intended to be portable to 32-bit systems.[40] Rtfs (from EBS Embedded Software) is a full-featured implementation for embedded devices.[41]

Two experimental, unofficial solutions are available for DOS. The loadable USBEXFAT driver requires Panasonic's USB stack for DOS and only works with USB storage devices; the open-source EXFAT executable is an exFAT file system reader, and requires the HX DOS extender to work.[42] There are no native exFAT real-mode DOS drivers, which would allow usage of, or booting from exFAT volumes.

On 28 August 2019, Microsoft published the exFAT specification[7] and released the patent to the OIN members.[43] Based on these, Linux kernel developers have begun development to add support of exFAT to the kernel.[44]

Technical specialities

Default exFAT cluster sizes in Windows
Volume size Cluster size
7–256 MiB4 KiB
256 MiB–32 GiB32 KiB
32 GiB–512 GiB [upper-alpha 1][upper-alpha 2]128 KiB
512 GiB–1TiB256 KiB
1–2 TiB512 KiB
2–4 TiB1 MiB
4–8 TiB2 MiB
8-16 TiB4 MiB
16–32 TiB8 MiB
32–64 TiB16 MiB
64–512 TiB32 MiB
  1. Windows 8/10 defaults to exFAT on volumes sized ≥32 GiB, and FAT32 on volumes <32 GiB.
  2. Windows XP/Vista/7 defaults to 128 KiB clusters for volumes sized ≥32 GiB.

File name lookup

exFAT employs a filename hash-based lookup phase to speed certain cases, which is described in US Patent 8321439,[45] Quick File Name Lookup Using Name Hash, which document perhaps contains additional details helpful in understanding of the file system, in Appendix A.

File and cluster pre-allocation

Like NTFS, exFAT can pre-allocate disk space for a file by just marking arbitrary space on disk as 'allocated'. For each file, exFAT uses two separate 64-bit length fields in the directory: the Valid Data Length (VDL) which indicates the real size of the file, and the physical data length.

To provide improvement in the allocation of cluster storage for a new file, Microsoft incorporated a method to pre-allocate contiguous clusters and bypass the use of updating the FAT table and on December 10, 2013 the US patent office granted patent US8606830.[46] One feature of exFAT (used in the exFAT implementation within embedded systems) provides atomic transactions for the multiple steps of updating the file system metadata. The feature, called Transaction Safe FAT, or TexFAT, was granted a patent by the US patent office under US7613738 on November 3, 2009.[47]

Directory file set

exFAT and the rest of the FAT family of file systems does not use indexes for file names, unlike NTFS which uses B-trees for file searching. When a file is accessed, the directory must be sequentially searched until a match is found. For file names shorter than 16 characters in length, one file name record is required but the entire file is represented by three 32-byte directory records. This is called a directory file set, and a 256 MiB sub-directory can hold up to 2,796,202 file sets. (If files have longer names, this number will decrease but this is the maximum based on the minimum three-record file set.) To help improve the sequential searching of the directories (including the root) a hash value of the file name is derived for each file and stored in the directory record. When searching for a file, the file name is first converted to upper case using the upcase table (file names are case insensitive) and then hashed using a proprietary patented algorithm into a 16-bit (2 byte) hash value. Each record in the directory is searched by comparing the hash value. When a match is found, the file names are compared to ensure that the proper file was located in case of hash collisions. This improves performance because only 2 bytes have to be compared for each file. This significantly reduces the CPU cycles because most file names are more than 2 characters (bytes) in size and virtually every comparison is performed on only 2 bytes at a time until the intended file is located.

Metadata and checksums

exFAT introduces metadata integrity through the use of checksums. There are three checksums currently in use. The Volume Boot Record (VBR) is a 12 sector region that contains the boot records, BIOS Parameter Block (BPB), OEM parameters and the checksum sector. (There are two VBR type regions, the main VBR and the backup VBR.) The checksum sector is a checksum of the previous 11 sectors, with the exception of three bytes in the boot sector (Flags and percent used). This provides integrity of the VBR by determining if the VBR was modified. The most common cause could be a boot sector virus, but this would also catch any other corruption to the VBR. A second checksum is used for the upcase table. This is a static table and should never change. Any corruption in the table could prevent files from being located because this table is used to convert the filenames to upper case when searching to locate a file. The third checksum is in the directory file sets. Multiple directory records are used to define a single file and this is called a file set. This file set has metadata including the file name, time stamps, attributes, address of first cluster location of the data, file lengths, and the file name. A checksum is taken over the entire file set and a mismatch would occur if the directory file set was accidentally or maliciously changed. When the file system is mounted, and the integrity check is conducted, these hashes are verified. Mounting also includes comparison of the version of the exFAT file system by the driver to make sure the driver is compatible with the file system it is trying to mount, and to make sure that none of the required directory records are missing (for example, the directory record for the upcase table and Allocation Bitmap are required and the file system can't run if they are missing). If any of these checks fail, the file system should not be mounted, although in certain cases it may mount read-only.

The file system provides extensibility through template-based metadata definitions using generic layouts and generic patterns.[48][49]

Other implementations

exFAT is a proprietary file system and Microsoft only released the specification for it in 2019.[50] This lack of documentation hampered the development of free and open-source drivers for exFAT. Accordingly, exFAT support was effectively limited to Microsoft's own products and those of Microsoft's licensees, which in turn inhibited exFAT's adoption as a universal exchange format.

Interoperability requires that certain results be achieved in a particular, predefined way (an algorithm). For exFAT, this potentially requires every implementation to perform certain procedures in exactly the same way as Microsoft's implementation. Some of the procedures used by Microsoft's implementation are patented, and these patents are owned by Microsoft.[51] A license to use these algorithms can be purchased from Microsoft,[52][51] and some companies including Apple, Google and Samsung have done so.[53] However, in the open-source ecosystem, there is no financial incentive for open-source vendors to purchase a license for these algorithms.

Regardless of whether open-source or not (including Samsung's leaked kernel driver source that was initially fraudulently rebadged as GPL-licensed);[54][55] Microsoft stated that "a license is required in order to implement exFAT and use it in a product or device."[51] Unlicensed distribution of an exFAT driver would make the distributor liable for financial damages if the driver is found to have violated Microsoft's patents.[56][57] While the patents may not be enforceable, this can only be determined through a legal process, which is expensive and time consuming. It may also be possible to achieve the intended results without infringing Microsoft's patents.cf. [58] In October 2018, Microsoft released 60,000 patents to the Open Invention Network members for Linux systems, but exFAT patents were not initially included at the time. There was, however, discussion within Microsoft of whether Microsoft should allow exFAT in Linux devices,[59][60] which eventually resulted in Microsoft publishing the official specification for open usage[7] and releasing the exFAT patents to the OIN in August 2019.[43]

See also


  1. Although Microsoft published a different value in KB955704, the file size is in bytes and is stored as a 64-bit number. The largest theoretical file size would be 16 EiB−1 byte, the same as in NTFS. However, since the true theoretical maximum volume size under the current specification cannot exceed 128 PiB, a file can never reach that file length. Another reason for the limit is that current IDE/ATA disk addressing is LBA-48, and uses a 48 bit block address to address a sector. A 512 byte sector size would make the maximum addressable file system 512 × 248 = 257, which is 128 PiB. In other words, the 128 PiB limit on the architecture is a hardware restriction. This scenario does not include AF (4k sectors) and exFAT is limited to 128 PiB regardless of sector size based on the specification.
  2. The theoretical maximum volume size is defined by up to 232 − 11 possible clusters with up to 225 − 1 bytes per cluster = ca. 128 PiB. The size is currently also limited by the LBA48 addressing scheme, as with a 512 byte sector size, only 248 × 512 = 257 bytes = 128 PiB can be addressed.
  3. This limit applies because the maximum directory size is 256 MiB.
  4. 268,304,373 files = 228 − 11 reserved clusters - 131,072, the minimum number of 64 kiB clusters occupied for the 268,435,445 directory entries (á 32 bytes) without VFAT LFNs, which are required for 268,435,445 files with sizes between 1 and 65,535 bytes. With VFATs, the 131,072 number must be multiplied by 21 (worst case), which would result in 265,682,933 files instead.


  1. "KB955704". January 27, 2009. Description of the exFAT file system driver update package [for Windows XP and Windows Server 2003]
  2. US 8321439 contains Microsoft exFAT specification (revision 1.00)
  3. corbet (2019-11-25). "The 5.4 kernel has been released". LWN.net. Retrieved 2019-12-01.
  4. "exfat -Free exFAT file system implementation". Retrieved October 14, 2015.
  5. Marius Oiaga (December 11, 2009). "Microsoft Licenses Windows 7's exFAT Flash File Format". Softpedia.com.
  6. "Conservancy Helps Samsung Resolve GPL Compliance Matter Amicably". Software Freedom Conservancy. Retrieved 2019-03-15.
  7. Microsoft (August 28, 2019). "exFAT Specification".
  8. "File System Functionality Comparison". Microsoft. Retrieved February 26, 2015..
  9. "Limitations of the FAT32 File System in Windows XP". Microsoft. December 1, 2007. Retrieved February 11, 2011.
  10. Nash, Mike (October 24, 2008). "Windows Vista Service Pack 2 Beta". The Windows Blog. Archived from the original on May 9, 2013.
  11. "A Second Shot: Windows Vista SP1". Retrieved November 5, 2013.
  12. "Licensing exFAT". Retrieved March 1, 2017.
  13. "OEM Parameter Definition with exFAT (Windows Embedded CE 6.0)". Retrieved November 25, 2013.
  14. "Description of the exFAT file system driver update package". Microsoft. Retrieved February 26, 2015.
  15. "Information about support for exFAT under Windows Vista". Archived from the original on May 7, 2013.
  16. "Download Windows Vista Service Pack 1 Five Language Standalone (KB936330) from Official Microsoft Download Center". Microsoft. Retrieved February 26, 2015.
  17. "exFAT Versus FAT32 Versus NTFS". February 27, 2008. Retrieved October 2, 2009.
  18. LeBlanc, Brandon (August 28, 2007). "Vista SP1 Whitepaper". Microsoft. Retrieved August 28, 2007.
  19. "Adding Hard Disk Drives". Microsoft TechNet. Retrieved September 15, 2009.
  20. "Mac OS X 10.6.5 Notes: exFAT Support, AirPrint, Flash Player Vulnerability Fixes". Retrieved November 25, 2013.
  21. "fsck_exfat(8) Mac OS X Manual Page". Retrieved November 25, 2013.
  22. "exFAT support on Sony". Retrieved January 6, 2013.
  23. Hamm, Jeff (2009). "Extended FAT File System" (PDF). Paradigm Solutions. Retrieved April 9, 2013.
  24. "Microsoft Licenses exFAT to Research In Motion". Tom's Hardware. September 20, 2012.
  25. "Microsoft Signs Licensing Agreement With Research In Motion" (Press release). Microsoft. 18 September 2012.
  26. "Microsoft Signs Patent Licensing Agreement With Aspen Avionics" (Press release). Microsoft.
  27. "In-vehicle infotainment gets boost from new Microsoft exFAT file system deals". Stories. June 19, 2013.
  28. "Microsoft Signs exFAT Licensing Agreement With BMW" (Press release). Microsoft.
  29. "exFAT fs and Linux". Retrieved September 28, 2009.
  30. "exFAT fs on FUSE". Retrieved May 15, 2010.
  31. "exFAT fs on linux UBUNTU". Retrieved October 11, 2012.
  32. "exFAT in FreeBSD". Retrieved April 8, 2013.
  33. "ExFAT support for Mac OS X 10.5 Leopard and 10.4 Tiger (via Homebrew and Fuse for macOS)". Retrieved July 6, 2018.
  34. "Open Source Release Center". Samsung. Retrieved November 25, 2013.
  35. Corbet, Jonathan (July 24, 2013). "The exfiltrated exFAT driver". LWN.net. Retrieved November 25, 2013.
  36. "Conservancy Helps Samsung Resolve GPL Compliance Matter Amicably". Software Freedom Conservancy. August 16, 2013. Retrieved November 25, 2013.
  37. "GPL'ed sources for the Samsung exfat module as released by Samsung". Retrieved 2017-08-20.
  38. "Amigaworld.net". Retrieved February 18, 2015.
  39. Clarke, Gavin (August 8, 2012). "Sharp cuts exFAT deal with Microsoft for Android mobes". The Register. Retrieved August 12, 2012.
  40. "XCFiles". Retrieved June 21, 2010.
  41. "Rtfs". Retrieved January 19, 2011.
  42. "exFAT". February 2, 2011.
  43. John Gossman (2019-08-28). "exFAT in the Linux kernel? Yes!". Microsoft. Retrieved 2019-09-02.
  44. Valdis Klētnieks (2019-08-28). "staging: exfat: add exfat filesystem code to staging". git.kernel.org. Retrieved 2019-09-02.
  45. US 8321439, "Quick File Name Lookup Using Name Hash"
  46. US 8606830, "Contiguous File Allocation in an Extensible File System"
  47. US 7613738, "FAT Directory Structure for use in Transaction Safe File System"
  48. US Patent Application 2009164440, "Quick Filename Lookup Using Name Hash"; Microsoft Corp; contains exFAT specification revision 1.00. See Tables 8, 12, 13, 14, 15, 16, & 17
  49. US Patent Application 2008168029, "Extensible File System"; States in Abstract and elsewhere that directory records can be custom defined.
  50. Larabel, Michael. "Microsoft Publishes exFAT Specification, Encourages Linux Support". Phoronix. Retrieved 28 August 2019.
  51. "Licensing exFAT", Microsoft IP licensing, Microsoft Legal Resources, 1 March 2017
  52. Protalinski, Emil (December 10, 2009), "Microsoft licenses out exFAT file system", ArsTechnica.
  53. Girard, David (21 June 2013), "Can Microsoft's exFAT file system bridge the gap between OSes?", ArsTechnica.
  54. Corbet, Jonathan (August 16, 2013), Samsung releases exFAT filesystem source, LWN.
  55. McMillan, Robert (August 20, 2013), "Busted for Dodging Linux License, Samsung Makes Nice With Free Code", Wired.com.
  56. Corbet, Jonathan (July 24, 2013), The exfiltrated exFAT driver, LWN.
  57. Finley, Klint; McMillan, Robert (July 25, 2013), "Free Software Robin Hood Liberates Leaked Samsung Code", Wired Magazine.
  58. Else, Sylvia (November 19, 2016), exFat patent avoidance, Linux.com kernel development forums.
  59. Vaughan-Nichols, Steven J. "What does Microsoft joining the Open Invention Network mean for you?". ZDNet. Retrieved 2018-12-29.
  60. "Merging exFAT Support For Linux Is Being Talked About - Waiting On Microsoft's Blessing - Phoronix". www.phoronix.com. Retrieved 2019-08-08.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.