Could everyone help me create a list of common file extensions used in programming? I’ll get things started off.
Thanks to everyone who is contributing to the list. However if you could keep in mind that I’m just looking for extensions commonly used in programming, so things like Power Point presentation’s are not necessary. [Others besides you may be interested.]
Also check out http://www.filext.com or http://www.liutilities.com/products/winbackup/filextlibrary/
Most of these extensions map to one or more UniformTypeIdentifiers, particularly in XCode.
Format: .extension - Description ( MIME/type, public.uti)
Source Code:
*
Text Files
.csv - Comma Separated Values *.doc - Word Document ( application/msword, com.microsoft.word.doc) *.rtf - Rich Text Format ( text/rtf, public.rtf) *.rtfd - “Rich Text Format Directory”. RTF text with image or file attachments. A Mac/NeXT-specific format. (com.apple.rtfd) *.tex - See *Source Code *.txt - TeXT file ( text/plain, public.plain-text) *.text - Text file ( text/plain, public.plain-text) *.etx - Setext Structure Enhanced Text (e.g. Tidbits)
Graphic/Video Files
*.ai - Adobe Illustrator file (com.adobe.illustrator.ai-image)
*.avi - AVI Video file ( video/avi, video/msvideo, video/x-msvideo, public.avi)
*.bmp - Windows Bit Map file (com.microsoft.bmp)
*.eps - Encapsulated PostScript (com.adobe.encapsulated-postscript)
*.gif - Graphical Interchange File ( image/gif, com.compuserve.gif)
*.ico - Windows Icon (com.microsoft.ico)
*.icns - OS X Icon (com.apple.icns)
*.jp2 - JPEG 2000 Graphic ( image/jp2, public.jpeg-2000)
*.jpeg - JPEG/JFIF Graphic ( image/jpeg, public.jpeg)
*.jpg - JPEG/JFIF Graphic ( image/jpeg, public.jpeg)
*.mov - QuickTime ( video/quicktime, com.apple.quicktime-mo
XML and Related
*.css - Cascading Style Sheet *.xml - eXtensible Markup Language ( text/xml, public.xml) *.htm - HyperText Markup Language ( text/html, public.html) *.html - HyperText Markup Language ( text/html, public.html) *.xhtml - eXtensible HyperText Markup Language *.plist - Property List *.xsl - eXtensible Stylesheet Language
File Packages (“Bundles”) ‘(These are extensions for directories rather than files.)’
.app - Application bundle (com.apple.application-bundle) *.bundle - Generic bundle (com.apple.bundle) *.framework - Framework bundle (com.apple.framework) *.kext - Kernel EXTension *.mpkg - see *Archives, Disk Images, Compression .mdimporter - Spotlight Metadata Importer (com.apple.metadata-importer) *.nib - NeXT Interface Builder *.pbproj - ProjectBuilder project (also openable by XCode; see also .xcode) *.pkg - see *Archives, Disk Images, Compression .plugin - Plugin bundle (com.apple.plugin) *.prefPane - System Preferences pane bundle *.rtfd - See *Text Files *.saver - Screensaver bundle *.slideSaver - Slideshow screensaver bundle (with embedded images) *.wdgt - Dashboard widget (com.apple.dashboard-widget) *.webarchive - Safari web archive *.xcode - XCode project (version 2.0 and earlier) *.xcodeproj - XCode project (version 2.1 and later)
Archives, Disk Images, Compression
*.bin - MacBinary ( application/x-macbinary, application/macbinary, com.apple.macbinary-archive) *.bz2 - BZip2’d (Compressed) *.cdr - DiskUtility CD/DVD master (disk image) *.cpio - cpio archive. Typically from ditto on OSX *.cpgz - gzipped cpio archive. Also from ditto. *.cpt - Bill Goodman’s Compact Pro (Compressed) *.dmg - Disk iMaGe *.gz - Gnu Zipped (compressed, application/x-gzip, application/gzip, org.gnu.gnu-zip-archive) *.hqx - BinHex (older textual form for Macintosh two-fork binaries, application/mac-binhex40, application/mac-binhex, application/binhex, com.apple.binhex-archive) *.iso - ISO CD-ROM disk image *.mpkg - metapackage installer bundle *.pkg - Package (Installer bundle) *.rar - RAR’d file (compressed) *.sea - Self Extracting Archive *.sit - StuffIt (compressed, application/x-stuffit, application/x-sit, application/stuffit, com.allume.stuffit-archive) *.sitx - StuffIt X (compressed, application/x-stuffit, application/x-sit, application/stuffit, com.allume.stuffit-archive) *.tar - Tape ARchive ( application/x-tar, application/tar, public.tar-archive) *.tbz - Tar BZip2’d (Tarred and Compressed) *.tgz - Tar Gnu Zipped (tarred and compressed, org.gnu.gnu-zip-tar-archive) *.war - Java Web ARchive *.Z - compressed with Unix Compress *.zip - Zip compressed (see PkWare and ZipFileFormat, application/zip, com.pkware.zip-archive)
Others
*.a - Static Library *.bak - Backup file. Usually located in the same directory, with the same base name as its original. *.class - Java byte code (com.sun.java-class) *.conf - Unix-style configuration file (many formats - see the individual tool docs) *.dat - DATa file *.data - Data file *.dylib - DYnamic LIBrary *.in - INput file *.lib - LIBrary (object code) *.log - log file *.o - object (public.object-code) *.obj - object, A (normally intermediate) file produced during program compilation. *.obj - The OBJ file format for describing 3D models. *.org - Original *.out - OUTput file (text or binary) *.xls - Excel (spreadsheet, application/vnd.ms-excel, com.microsoft.excel.xls)