Toolman

File formats

What the extension means, what opens it, and the thing about it that actually catches people out.

Image

ExtensionFormat
.heicHigh Efficiency Image Container
.webpWebP Image
.avifAV1 Image File Format
.svgScalable Vector Graphics
.psdPhotoshop Document
.aiAdobe Illustrator Artwork
.rawCamera Raw Image

Document

ExtensionFormat
.pdfPortable Document Format
.docxWord Document
.epubElectronic Publication

Data

ExtensionFormat
.csvComma-Separated Values
.jsonJavaScript Object Notation
.yamlYAML Ain't Markup Language
.sqlSQL Script
.parquetApache Parquet

Archive

ExtensionFormat
.zipZIP Archive
.7z7-Zip Archive
.tarTape Archive
.isoDisc Image

Video

ExtensionFormat
.mp4MPEG-4 Video
.movQuickTime Movie
.mkvMatroska Video
.webmWebM Video

Audio

ExtensionFormat
.mp3MPEG Audio Layer III
.flacFree Lossless Audio Codec
.wavWaveform Audio

Font

ExtensionFormat
.ttfTrueType Font
.woff2Web Open Font Format 2

Executable

ExtensionFormat
.exeWindows Executable
.dmgApple Disk Image
.apkAndroid Package

Text

ExtensionFormat
.logLog File
.envEnvironment File

The extension is a hint, not a fact

A file's extension is just the end of its name — renaming photo.png to photo.jpg changes nothing about the bytes inside. What programs actually rely on is the magic number, the first few bytes of the file: %PDF for a PDF, PK for anything ZIP-based, \x89PNG for a PNG. On Unix, file somefile reports what a file really is regardless of its name.

Formats that are secretly ZIP files

DOCX, XLSX, PPTX, EPUB, JAR, APK and IPA are all ZIP archives with a mandated internal layout. Rename any of them to .zip, extract it, and you can read the XML or class files inside — genuinely useful when a document will not open and you need to recover the text.