Common file extensions

Extensions are only hints, not proof — malware often disguises itself with a familiar one.

Updated:

ExtUsually means
.pdfPortable document
.doc / .docxWord document
.xls / .xlsxExcel spreadsheet
.ppt / .pptxPowerPoint
.txtPlain text
.csvComma-separated values
.jsonJSON data
.xmlXML data
.html / .htmWeb page
.cssStylesheet
.js / .mjsJavaScript
.tsTypeScript / video transport stream
.pyPython source
.javaJava source
.zip / .rar / .7zArchive
.gz / .tarCompressed / tape archive
.exe / .msiWindows program / installer
.dmg / .pkgmacOS disk image / package
.apkAndroid package
.ipaiOS app package
.mp3 / .wav / .flacAudio
.mp4 / .mov / .mkvVideo
.png / .jpg / .webpImage
.svgVector image
.psdPhotoshop
.aiIllustrator
.sqlSQL script / dump
.logLog file

Notes

Frequently asked questions

What is a .json file and how do I open it?
A .json file stores structured data in JavaScript Object Notation, plain text that humans can read. Open it with any text editor; browsers and devtools also display it.
What file extension is .exe?
.exe is a Windows executable — a program or installer. Only run .exe files from trusted sources, as they can execute any code on your PC.
What is the difference between .doc and .docx?
.doc is the old binary Word format, while .docx is the newer Office Open XML format used since Word 2007. .docx files are smaller and open in more apps.