Choose a version:
58% The original file has 79259 bytes (77.4k) and is available from the project website.
There you can find the official minified version, too, which brings down the size to 45707 bytes (44.6k, 58%).

After GZIP compression these minified files vary in size:
gzip -6 (default)
  14505 bytes (14.2k)
local copy
gzip -9
  14460 bytes (14.1k)
local copy
kzip -s0 -rn -b2
  13983 bytes (13.7k)
local copy
libdeflate -12
  13975 bytes (13.6k)
local copy
7zip -mx=9 -tgzip
  13954 bytes (13.6k)
local copy
zultra
  13950 bytes (13.6k)
local copy
pigz -11 -n
  13940 bytes (13.6k)
local copy
Zopfli
  13920 bytes (13.6k)
local copy
Zopfli (defluff)
  13919 bytes (13.6k)
local copy

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

You will automatically get the smallest jQuery 1.2 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

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 --i100000 --mb8 --mls32 --bsr10 --lazy --ohh

(found January 5, 2016)
Description Value Parameter
iterations 100000  --i100000
maximum blocks 8  --mb8
maximum length score 32  --mls32
block splitting recursion 10  --bsr10
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

Even Smaller Files Thanks To Defluff

Zopfli's output can be further optimized by the defluff tool.
In this particular case, defluff saves 1 more byte (13919 bytes).

Verify file integrity

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

MD5:
curl --silent --compressed https://code.jquery.com/jquery-1.2.min.js --location | md5sum
2a6035ca6342a5f91028d5c09d3f18dc  -
curl --silent --compressed https://minime.stephan-brumme.com/files/jquery/jquery-1.2.min.zopfli.js.gz | md5sum
2a6035ca6342a5f91028d5c09d3f18dc  -

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

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
13920 bytes -2 bytes zopfli --i100000 --mls32 --bsr10 --lazy --ohh January 5, 2016 @ 11:39
13922 bytes -2 bytes zopfli --i100000 --mls512 --bsr10 --lazy --ohh September 2, 2015 @ 02:35
13924 bytes -2 bytes zopfli --i10000 --mls512 --bsr10 --lazy --ohh September 1, 2015 @ 21:29
13926 bytes -5 bytes zopfli --i1000 --mls512 --bsr10 --lazy --ohh September 1, 2015 @ 20:40
13931 bytes zopfli --i100 --mls2048 --bsr9 --lazy --ohh September 1, 2015 @ 20:25

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:52.

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 or 100,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
13931 13930 13931 13930 13936 13938 13934 13935 13929 13937 13936 13938 13936 13933 13935
13925 13931 13931 13927 13928 13924 13924 13929 13925 13933 13934 13934 13934 13932 13929
13930 13927 13923 13925 13926 13925 13926 13926 13923 13929 13924 13931 13942 13940 13937
13925 13924 13924 13933 13927 13927 13929 13929 13931 13930 13932 13930 13932 13934 13943
13925 13925 13925 13934 13929 13926 13936 13928 13933 13930 13926 13931 13936 13940 13937
13924 13926 13932 13925 13926 13925 13928 13929 13926 13931 13924 13929 13931 13929 13925
13930 13924 13929 13933 13920 13924 13924 13924 13922 13931 13929 13934 13929 13942 13930
13925 13934 13923 13935 13926 13926 13924 13925 13926 13930 13931 13933 13942 13932 13929
13923 13933 13924 13925 13928 13927 13927 13929 13928 13933 13926 13932 13933 13933 13927
13926 13930 13925 13934 13927 13924 13926 13929 13926 13933 13930 13930 13940 13930 13937
13924 13934 13924 13926 13925 13925 13929 13928 13926 13929 13928 13931 13934 13930 13928
13924 13925 13925 13925 13927 13927 13929 13929 13928 13932 13929 13929 13946 13930 13945
13924 13925 13924 13934 13925 13926 13927 13925 13924 13932 13928 13931 13928 13928 13925
13925 13926 13924 13934 13926 13931 13934 13932 13930 13930 13926 13929 13929 13928 13924
13925 13926 13923 13923 13924 13924 13926 13926 13926 13933 13935 13933 13931 13929 13927
13926 13933 13927 13929 13926 13931 13926 13929 13928 13930 13926 13929 13931 13927 13928
13926 13927 13933 13933 13924 13930 13932 13933 13929 13933 13930 13929 13943 13933 13937
13926 13923 13923 13927 13927 13925 13926 13930 13928 13933 13928 13929 13942 13940 13937
13925 13934 13923 13923 13927 13926 13926 13925 13929 13930 13926 13929 13929 13943 13927
13925 13926 13925 13926 13927 13924 13932 13933 13930 13933 13930 13931 13933 13933 13926
13926 13934 13936 13937 13925 13924 13926 13926 13930 13930 13925 13930 13942 13942 13931
13927 13934 13931 13933 13927 13923 13928 13925 13929 13933 13933 13931 13930 13930 13925
13925 13925 13926 13925 13924 13926 13925 13927 13933 13933 13931 13930 13942 13941 13938

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 13927 bytes 100%
1,000 13923 bytes -4 bytes 100%
10,000 13922 bytes -1 byte 100%
100,000 13920 bytes -2 bytes 0.58%
1,000,000
10,000,000

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
13985 bytes +65 bytes (+0.47%) +2 bytes
13985 bytes +65 bytes (+0.47%) +2 bytes
13983 bytes +63 bytes (+0.45%)
13985 bytes +65 bytes (+0.47%) +2 bytes
14004 bytes +84 bytes (+0.60%) +21 bytes
14009 bytes +89 bytes (+0.64%) +26 bytes
14040 bytes +120 bytes (+0.86%) +57 bytes
14073 bytes +153 bytes (+1.10%) +90 bytes
14124 bytes +204 bytes (+1.47%) +141 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 12073 bytes -1847 bytes (-13.27%)
RAR (proprietary) RAR rar a -m5 -md64m -mc63:128t -mt1 12117 bytes -1803 bytes (-12.95%)
PPMd (Wikipedia) 7zip 7za a -mx=9 -m0=ppmd 12853 bytes -1067 bytes (-7.67%)
Brotli (Wikipedia) brotli brotli -q 11 13189 bytes -731 bytes (-5.25%)
Burrows-Wheeler transform (Wikipedia) bzip2 bzip2 -9 13673 bytes -247 bytes (-1.77%)
LZMA2 (Wikipedia) xz xz -9 13860 bytes -60 bytes (-0.43%)
Zstandard (Wikipedia) zstd zstd -19 13971 bytes +51 bytes (+0.37%)

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.