資源交換檔案標準(Resource Interchange File Format) (RIFF) 是一種把資料儲存在被標記的區塊(tagged chunks)中的檔案格式(meta-format). 它是在1991年時, 由 Microsoft 和 IBM]提出. 它是Electronic Arts在1985提出的 Interchange File Format的翻版. 這兩種標準的唯一不同處是在多位元整數的儲存方式. RIFF使用的是 little-endian , 這是 IBM PC 使用的處理器80x86 所使用的格式, 而IFF儲存整數的方式是使用 big-endian , 這是 Amiga 和 Apple Macintosh 電腦使用的處理器, 68k ,可處理的整數型態.
Microsoft在 AVI 和 WAV這兩種著名的檔案格式中, 都使用RIFF的格式當成它們的基礎.
RIFF檔案由一個簡單的表頭(header)跟隨著多個 "chunks"所組. 其格式完全跟IFF一樣, 除整數的儲存方式不一樣以外.
More information about the format can be found in the Interchange File Format article.
Resource Interchange File Format | RIFF | Resource File Interchange Format | RIFF