# Download extensions

A click on a link to a file on the page’s own host counts as a download when the link’s path ends in one of these 390 extensions, in capitals or not.

Check here when a file’s clicks are missing from File downloads, or there when you didn’t expect them. For a file not listed, give its link a [`data-tally`](https://fiveb.ar/docs/events.md#without-a-script) attribute, and its clicks are counted as an event instead.

## Counted as downloads

- `.3g2`
- `.3ga`
- `.3gp`
- `.7z`
- `.aa`
- `.aac`
- `.ac`
- `.accdb`
- `.accdt`
- `.ace`
- `.adn`
- `.ai`
- `.aif`
- `.aifc`
- `.aiff`
- `.ait`
- `.amr`
- `.ani`
- `.apk`
- `.app`
- `.applescript`
- `.asax`
- `.asc`
- `.ascx`
- `.asf`
- `.ash`
- `.ashx`
- `.asm`
- `.asmx`
- `.asx`
- `.au`
- `.aup`
- `.avi`
- `.axd`
- `.aze`
- `.bak`
- `.bash`
- `.bat`
- `.bin`
- `.bmp`
- `.bowerrc`
- `.bpg`
- `.browser`
- `.bz2`
- `.bzempty`
- `.c`
- `.cab`
- `.cad`
- `.caf`
- `.cal`
- `.cd`
- `.cdda`
- `.cer`
- `.cfg`
- `.cfml`
- `.chm`
- `.class`
- `.cmd`
- `.codekit`
- `.coffee`
- `.coffeelintignore`
- `.com`
- `.compile`
- `.conf`
- `.config`
- `.cpp`
- `.cptx`
- `.cr2`
- `.crdownload`
- `.crt`
- `.crypt`
- `.cs`
- `.csh`
- `.cson`
- `.csproj`
- `.css`
- `.csv`
- `.cue`
- `.cur`
- `.dart`
- `.dat`
- `.data`
- `.db`
- `.dbf`
- `.deb`
- `.dgn`
- `.dist`
- `.diz`
- `.dll`
- `.dmg`
- `.dng`
- `.doc`
- `.docb`
- `.docm`
- `.docx`
- `.dot`
- `.dotm`
- `.dotx`
- `.download`
- `.dpj`
- `.dsn`
- `.dtd`
- `.dwg`
- `.dxf`
- `.editorconfig`
- `.el`
- `.elf`
- `.eml`
- `.enc`
- `.eot`
- `.eps`
- `.epub`
- `.eslintignore`
- `.exe`
- `.f4v`
- `.fax`
- `.fb2`
- `.fla`
- `.flac`
- `.flv`
- `.fnt`
- `.folder`
- `.fon`
- `.gadget`
- `.gdp`
- `.gem`
- `.gif`
- `.gitattributes`
- `.gitignore`
- `.go`
- `.gpg`
- `.gpl`
- `.gradle`
- `.gz`
- `.h`
- `.handlebars`
- `.hbs`
- `.heic`
- `.hlp`
- `.hs`
- `.hsl`
- `.ibooks`
- `.icns`
- `.ico`
- `.ics`
- `.idx`
- `.iff`
- `.ifo`
- `.image`
- `.img`
- `.iml`
- `.in`
- `.inc`
- `.indd`
- `.inf`
- `.info`
- `.ini`
- `.inv`
- `.iso`
- `.j2`
- `.jar`
- `.java`
- `.jpe`
- `.jpeg`
- `.jpg`
- `.js`
- `.json`
- `.jsx`
- `.key`
- `.kf8`
- `.kmk`
- `.ksh`
- `.kt`
- `.kts`
- `.kup`
- `.less`
- `.lex`
- `.licx`
- `.lisp`
- `.lit`
- `.lnk`
- `.lock`
- `.log`
- `.lua`
- `.m`
- `.m2v`
- `.m3u`
- `.m3u8`
- `.m4`
- `.m4a`
- `.m4r`
- `.m4v`
- `.map`
- `.master`
- `.mc`
- `.md`
- `.mdb`
- `.mdf`
- `.me`
- `.mi`
- `.mid`
- `.midi`
- `.mk`
- `.mkv`
- `.mm`
- `.mng`
- `.mo`
- `.mobi`
- `.mod`
- `.mov`
- `.mp2`
- `.mp3`
- `.mp4`
- `.mpa`
- `.mpd`
- `.mpe`
- `.mpeg`
- `.mpg`
- `.mpga`
- `.mpp`
- `.mpt`
- `.msg`
- `.msi`
- `.msu`
- `.nef`
- `.nes`
- `.nfo`
- `.nix`
- `.npmignore`
- `.ocx`
- `.odb`
- `.ods`
- `.odt`
- `.ogg`
- `.ogv`
- `.ost`
- `.otf`
- `.ott`
- `.ova`
- `.ovf`
- `.p12`
- `.p7b`
- `.pages`
- `.part`
- `.partial`
- `.pcd`
- `.pdb`
- `.pdf`
- `.pem`
- `.pfx`
- `.pgp`
- `.ph`
- `.phar`
- `.pid`
- `.pkg`
- `.plist`
- `.pm`
- `.png`
- `.po`
- `.pom`
- `.pot`
- `.potx`
- `.pps`
- `.ppsx`
- `.ppt`
- `.pptm`
- `.pptx`
- `.prop`
- `.ps`
- `.ps1`
- `.psd`
- `.psp`
- `.pst`
- `.pub`
- `.pyc`
- `.qt`
- `.ra`
- `.ram`
- `.rar`
- `.raw`
- `.rdf`
- `.rdl`
- `.reg`
- `.resx`
- `.retry`
- `.rm`
- `.rom`
- `.rpm`
- `.rpt`
- `.rsa`
- `.rss`
- `.rst`
- `.rtf`
- `.ru`
- `.rub`
- `.sass`
- `.scss`
- `.sdf`
- `.sed`
- `.sh`
- `.sit`
- `.sitemap`
- `.skin`
- `.sldm`
- `.sldx`
- `.sln`
- `.sol`
- `.sphinx`
- `.sql`
- `.sqlite`
- `.step`
- `.stl`
- `.svg`
- `.swd`
- `.swf`
- `.swift`
- `.swp`
- `.sys`
- `.tar`
- `.tax`
- `.tcsh`
- `.tex`
- `.tfignore`
- `.tga`
- `.tgz`
- `.tif`
- `.tiff`
- `.tmp`
- `.tmx`
- `.torrent`
- `.tpl`
- `.ts`
- `.tsv`
- `.ttf`
- `.twig`
- `.txt`
- `.udf`
- `.vb`
- `.vbproj`
- `.vbs`
- `.vcd`
- `.vcf`
- `.vcs`
- `.vdi`
- `.vdx`
- `.vmdk`
- `.vob`
- `.vox`
- `.vscodeignore`
- `.vsd`
- `.vss`
- `.vst`
- `.vsx`
- `.vtx`
- `.war`
- `.wav`
- `.wbk`
- `.webinfo`
- `.webm`
- `.webp`
- `.wma`
- `.wmf`
- `.wmv`
- `.woff`
- `.woff2`
- `.wps`
- `.wsf`
- `.xaml`
- `.xcf`
- `.xfl`
- `.xlm`
- `.xls`
- `.xlsm`
- `.xlsx`
- `.xlt`
- `.xltm`
- `.xltx`
- `.xml`
- `.xpi`
- `.xps`
- `.xrb`
- `.xsd`
- `.xsl`
- `.xspf`
- `.xz`
- `.yaml`
- `.yml`
- `.z`
- `.zip`
- `.zsh`

## Never counted

A link whose path ends in one of these is to a page, not a file, so it’s never a download: `.asp`, `.aspx`, `.cfm`, `.cgi`, `.htm`, `.html`, `.jsp`, `.php`, `.pl`, `.py`, `.rb`. Nor is a path with no extension, or one ending in an extension not listed above.

A link to a file on another host is an [outbound click](https://fiveb.ar/docs/outbound-and-downloads.md#outbound-clicks), whatever its extension.
