Choose a version:
33% The original file has 258388 bytes (252.3k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 85589 bytes (83.6k, 33%).

After GZIP compression these minified files vary in size:
Microsoft
  38396 bytes (37.5k)
CDN
Boot
  34942 bytes (34.1k)
CDN
jsdelivr
  34942 bytes (34.1k)
CDN
gzip -6 (default)
  29938 bytes (29.2k)
local copy
cdnjs
  29932 bytes (29.2k)
CDN
unpkg
  29932 bytes (29.2k)
CDN
gzip -9
  29895 bytes (29.2k)
local copy
Google
  29885 bytes (29.2k)
CDN
7zip -mx=9 -tgzip
  28932 bytes (28.3k)
local copy
libdeflate -12
  28872 bytes (28.2k)
local copy
zultra
  28860 bytes (28.2k)
local copy
pigz -11 -n
  28859 bytes (28.2k)
local copy
Yandex
  28857 bytes (28.2k)
CDN
kzip -s0 -rn -b2
  28842 bytes (28.2k)
local copy
Zopfli
  28822 bytes (28.1k)
local copy

perma-link to the smallest file on my server:
http://minime.stephan-brumme.com/files/jquery/jquery-2.2.0.min.js (or via HTTPS)

You will automatically get the smallest jQuery 2.2.0 file, ETag caching is available and
if your browser doesn't support GZIP decompression then the uncompressed version will be sent.

Currently best Zopfli settings

Save 35 bytes by using my jQuery 2.2.0 Zopfli version instead of the best available CDN (0.12% smaller than Yandex, 28822 vs. 28857 bytes):
You can use my super-compressed files for whatever purpose you like as long as you respect the library's original license agreement.
There are no restrictions from my side - but please avoid hot-linking if you run a high-traffic website.

These command-line settings yielded the best compression ratio so far (Linux version of zopfli-krzymod):
zopfli --i10000000 --mb8 --mls32 --bsr20 --lazy --ohh

(found January 16, 2016)
Description Value Parameter
iterations 10000000  --i10000000
maximum blocks 8  --mb8
maximum length score 32  --mls32
block splitting recursion 20  --bsr20
lazy matching in LZ77 yes  --lazy
optimized Huffman headers yes  --ohh
initial random W for iterations 1  --rw1
initial random Z for iterations 2  --rz2

Verify file integrity

After decompression, my uncompressed files are identical to the original ones:

MD5:
curl --silent --compressed https://code.jquery.com/jquery-2.2.0.min.js --location | md5sum
6fc159d00dc3cea4153c038739683f93  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-2.2.0.min.zopfli.js.gz | md5sum
6fc159d00dc3cea4153c038739683f93  -

SHA1:
curl --silent --compressed https://code.jquery.com/jquery-2.2.0.min.js --location | sha1sum
5d7e5bbfa540f0e53bd599e4305e1a4e815b5dd1  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-2.2.0.min.zopfli.js.gz | sha1sum
5d7e5bbfa540f0e53bd599e4305e1a4e815b5dd1  -

All listed CDNs deliver identical contents:
CDN Size (compressed) MD5 (uncompressed) Timestamp
Microsoft 38396 bytes 6fc159d00dc3cea4153c038739683f93 January 8, 2016 @ 23:52
Boot 34942 bytes 6fc159d00dc3cea4153c038739683f93 January 10, 2016 @ 20:08
jsdelivr 34942 bytes 6fc159d00dc3cea4153c038739683f93 January 16, 2016 @ 17:33
cdnjs 29932 bytes 6fc159d00dc3cea4153c038739683f93 January 9, 2016 @ 08:31
unpkg 29932 bytes 6fc159d00dc3cea4153c038739683f93 July 11, 2016 @ 15:39
Google 29885 bytes 6fc159d00dc3cea4153c038739683f93 January 12, 2016 @ 22:20
Yandex 28857 bytes 6fc159d00dc3cea4153c038739683f93 (invalid)

Note: only the MD5 hashes are shown to keep things simple.

Other Versions

Available jQuery versions at minime.stephan-brumme.com:

3.6.1, 3.6.0,
3.5.1, 3.5.0,
3.4.1, 3.4.0,
3.3.1, 3.3.0,
3.2.1, 3.2.0,
3.1.1, 3.1.0, 3.0.0,
2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0,
2.1.4, 2.1.3, 2.1.2, 2.1.1, 2.1.0,
2.0.3, 2.0.2, 2.0.1, 2.0.0,
1.12.4, 1.12.3, 1.12.2, 1.12.1, 1.12.0,
1.11.3, 1.11.2, 1.11.1, 1.11.0,
1.10.2, 1.10.1, 1.10.0,
1.9.1, 1.9.0,
1.8.3, 1.8.2, 1.8.1, 1.8.0,
1.7.2, 1.7.1, 1.7.0,
1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6,
1.5.2, 1.5.1, 1.5,
1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4,
1.3.2, 1.3.1, 1.3,
1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2,
1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1,
1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0

The project site contains an overview how well these versions were compressed.
Other interesting projects are AngularJS, BackboneJS, Bootstrap, D3, Dojo, Ember, Knockout, lodash, React, Socket.IO, ThreeJS, UnderscoreJS and Vue.

Changelog

Best Zopfli parameters so far:
Size Improvement Parameters Found
28822 bytes -1 byte zopfli --i10000000 --mls32 --bsr20 --lazy --ohh January 16, 2016 @ 01:01
28823 bytes -1 byte zopfli --i1000000 --mls32 --bsr2 --lazy --ohh January 10, 2016 @ 15:33
28824 bytes -1 byte zopfli --i1000000 --mls32 --bsr20 --lazy --ohh January 10, 2016 @ 12:28
28825 bytes -2 bytes zopfli --i100000 --mls32 --bsr20 --lazy --ohh January 10, 2016 @ 08:51
28827 bytes -1 byte zopfli --i10000 --mls32 --bsr20 --lazy --ohh January 9, 2016 @ 10:44
28828 bytes -1 byte zopfli --i10000 --mls32 --bsr11 --lazy --ohh January 9, 2016 @ 09:08
28829 bytes -3 bytes zopfli --i10000 --mls32 --bsr4 --lazy --ohh January 9, 2016 @ 08:32
28832 bytes -1 byte zopfli --i1000 --mls32 --bsr4 --lazy --ohh January 9, 2016 @ 08:27
28833 bytes -6 bytes zopfli --i10000 --mls2048 --bsr20 --lazy --ohh January 9, 2016 @ 08:14
28839 bytes zopfli --i100 --mls2048 --bsr20 --lazy --ohh January 9, 2016 @ 08:07

If there are multiple parameter sets yielding the same compressed size, only the first one found is shown.

Most recent activity on July 20, 2020 @ 12:53.

Heatmaps

This Zopfli heatmap visualizes how compression changes when modifying the --bsr and --mls parameter.
Cell's contents is the best filesize achieved (in bytes, hover with mouse over cells to see number of iterations).

Good parameters are green, bad are red. The best and worst are bold as well.
The brightness of the blue background color indicates how many iterations were processed:
10,000, 100,000, 1,000,000 or 10,000,000.
bsr \ mls
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
bsr \ mls
2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
28836 28836 28835 28836 28823 28823 28841 28842 28837 28839 28840 28841 28838 28837 28859
28834 28837 28844 28837 28827 28835 28841 28842 28845 28842 28837 28836 28836 28837 28844
28842 28832 28842 28833 28845 28842 28845 28842 28845 28835 28834 28837 28836 28838 28837
28842 28843 28842 28845 28845 28855 28841 28842 28841 28843 28832 28844 28837 28837 28834
28842 28844 28841 28828 28828 28853 28841 28846 28842 28844 28833 28836 28837 28837 28835
28842 28841 28856 28844 28827 28853 28841 28842 28842 28845 28828 28845 28837 28838 28836
28842 28845 28828 28834 28856 28826 28843 28842 28841 28843 28833 28844 28836 28835 28833
28842 28840 28855 28833 28826 28856 28841 28842 28842 28841 28832 28836 28836 28838 28833
28842 28842 28853 28829 28841 28826 28842 28844 28842 28842 28831 28836 28837 28838 28834
28842 28841 28835 28832 28841 28843 28841 28842 28842 28842 28833 28845 28836 28838 28833
28825 28836 28842 28854 28828 28826 28834 28835 28841 28842 28831 28836 28836 28838 28832
28842 28843 28843 28841 28843 28855 28841 28842 28842 28842 28832 28844 28835 28836 28834
28842 28843 28843 28832 28842 28853 28841 28842 28842 28842 28833 28836 28836 28838 28833
28831 28831 28837 28835 28828 28827 28841 28842 28842 28842 28836 28836 28836 28838 28834
28842 28843 28858 28831 28833 28833 28841 28832 28842 28842 28832 28837 28836 28838 28833
28842 28843 28856 28832 28839 28853 28841 28842 28843 28842 28832 28836 28837 28838 28833
28832 28833 28843 28831 28822 28825 28842 28842 28841 28843 28833 28836 28836 28838 28835
28842 28844 28829 28831 28822 28826 28842 28831 28842 28833 28832 28844 28837 28838 28831
28842 28841 28845 28856 28842 28834 28841 28842 28841 28842 28833 28837 28836 28838 28834
28842 28844 28844 28841 28826 28834 28841 28842 28842 28841 28833 28844 28836 28838 28831
28833 28833 28831 28833 28843 28834 28841 28843 28841 28841 28832 28837 28836 28838 28833
28842 28841 28828 28836 28833 28852 28841 28842 28841 28841 28832 28844 28836 28838 28832
28831 28843 28828 28841 28833 28853 28841 28843 28842 28842 28833 28836 28836 28838 28834

Due to the Monte Carlo design of my search algorithm, not all parameters have reached the same number of iterations yet:
Iterations Min. Bytes Reduction Coverage
100 28839 bytes 100%
1,000 28830 bytes -9 bytes 100%
10,000 28827 bytes -3 bytes 100%
100,000 28825 bytes -2 bytes 7.25%
1,000,000 28823 bytes -2 bytes 1.74%
10,000,000 28822 bytes -1 byte 1.16%

KZIP has far less options available for tuning/optimization. I only played around with the number of blocks (parameter -n):
Blocks Min. Bytes Compared To Best Zopfli Compared To Best KZIP
28938 bytes +116 bytes (+0.40%) +96 bytes
28938 bytes +116 bytes (+0.40%) +96 bytes
28842 bytes +20 bytes (+0.07%)
28849 bytes +27 bytes (+0.09%) +7 bytes
28859 bytes +37 bytes (+0.13%) +17 bytes
28891 bytes +69 bytes (+0.24%) +49 bytes
28925 bytes +103 bytes (+0.36%) +83 bytes
28968 bytes +146 bytes (+0.51%) +126 bytes
29003 bytes +181 bytes (+0.63%) +161 bytes

Non-DEFLATE Algorithms

Archivers based on completely different compression algorithms often produce superior results.
Unfortunately, browsers only support gzip compression at the moment.
However, support for Brotli is constantly growing - but your browser doesn't support it.
Algorithm Program Parameters Size Compared To Best Zopfli
ZPAQ (Wikipedia) zpaq zpaq -method 69 23960 bytes -4862 bytes (-16.87%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 24457 bytes -4365 bytes (-15.14%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 25914 bytes -2908 bytes (-10.09%)
Brotli (Wikipedia) brotli brotli -q 11 27027 bytes -1795 bytes (-6.23%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 27298 bytes -1524 bytes (-5.29%)
LZMA2 (Wikipedia) xz xz -9 28084 bytes -738 bytes (-2.56%)
Zstandard (Wikipedia) zstd zstd -19 28609 bytes -213 bytes (-0.74%)

Detailled Analysis

I wrote a DEFLATE decoder in Javascript. Click the button below to start a client-side analysis of the smallest gzipped files (may take a second):


Notes: pigz is a fast open source multi-threaded implementation of gzip written by one of the original authors of gzip.
However, when using compression level 11, pigz actually switches to the slower Zopfli algorithm and isn't multi-threaded anymore.
KrzyMOD's extensions to Zopfli offer the highest level of configuration and is therefore used for my brute-force search.
Ken Silverman wrote the closed-source KZIP compression program and Jonathon Fowler ported it to Linux.
Defluff was created by Joachim Henke; DeflOpt is a tool by Ben Jos Walbeehm.

website made by Stephan Brumme in 2015 and still improving in 2024.
all timestamps are displayed in central european time. see my changelog.
no flash, not even images or external css files - and everything squeezed into a single html file.
which was handsomely compressed before releasing it into the wild internet - obviously.

please visit my homepage and my blog, too.
email: minime (at) stephan-brumme.com

All trademarks are property of their respective owners. You know, the boring legal stuff.