jQuery file size

Note: The gzipped and Zopflinated file sizes refer to the total byte size of the file after compressing it using gzip or Zopfli with the default settings. For gzip, this boils down to gzip -6 file.js — the default compression level is 6 on a scale from 1 (fastest, but less compression) to 9 (slowest, but best compression). For Zopfli, 15 iterations are performed (i.e. the default): zopfli --i15 file.js. Better compression could be achieved by increasing the number of iterations.

Disclaimer: it’s not the file size, it’s how you use it. Sure, jQuery has gotten bigger over time, but every new release patches bugs and/or introduces new features. This page aims to demonstrate the importance of HTTP compression and minification.

Also note that jQuery 1.8 allows you to create custom builds containing only the modules you need, in case file size is an issue.

jQuery versionNormal file size (in bytes)Minified file size (in bytes)Gzipped file size (in bytes)Zopflinated file size (in bytes)Minified and gzipped file size (in bytes)Minified and Zopflinated file size (in bytes)
1.279,259 bytes (77.40 KB) 45,707 bytes (44.64 KB) 24,687 bytes (24.11 KB) 23,515 bytes (22.96 KB) 14,472 bytes (14.13 KB) 13,956 bytes (13.63 KB)
1.2.180,469 bytes (78.58 KB) Δ +1,210 bytes46,437 bytes (45.35 KB) Δ +730 bytes24,984 bytes (24.40 KB) Δ +297 bytes23,786 bytes (23.23 KB) Δ +271 bytes14,625 bytes (14.28 KB) Δ +153 bytes14,099 bytes (13.77 KB) Δ +143 bytes
1.2.295,285 bytes (93.05 KB) Δ +14,816 bytes52,656 bytes (51.42 KB) Δ +6,219 bytes28,641 bytes (27.97 KB) Δ +3,657 bytes27,207 bytes (26.57 KB) Δ +3,421 bytes15,664 bytes (15.30 KB) Δ +1,039 bytes15,084 bytes (14.73 KB) Δ +985 bytes
1.2.396,763 bytes (94.50 KB) Δ +1,478 bytes54,075 bytes (52.81 KB) Δ +1,419 bytes28,891 bytes (28.21 KB) Δ +250 bytes27,475 bytes (26.83 KB) Δ +268 bytes15,894 bytes (15.52 KB) Δ +230 bytes15,307 bytes (14.95 KB) Δ +223 bytes
1.2.497,623 bytes (95.33 KB) Δ +860 bytes54,620 bytes (53.34 KB) Δ +545 bytes29,149 bytes (28.47 KB) Δ +258 bytes27,706 bytes (27.06 KB) Δ +231 bytes16,069 bytes (15.69 KB) Δ +175 bytes15,458 bytes (15.10 KB) Δ +151 bytes
1.2.599,997 bytes (97.65 KB) Δ +2,374 bytes55,715 bytes (54.41 KB) Δ +1,095 bytes30,274 bytes (29.56 KB) Δ +1,125 bytes28,791 bytes (28.12 KB) Δ +1,085 bytes16,725 bytes (16.33 KB) Δ +656 bytes16,108 bytes (15.73 KB) Δ +650 bytes
1.2.6100,196 bytes (97.85 KB) Δ +199 bytes55,774 bytes (54.47 KB) Δ +59 bytes30,345 bytes (29.63 KB) Δ +71 bytes28,855 bytes (28.18 KB) Δ +64 bytes16,753 bytes (16.36 KB) Δ +28 bytes16,131 bytes (15.75 KB) Δ +23 bytes
1.3116,942 bytes (114.20 KB) Δ +16,746 bytes55,026 bytes (53.74 KB) Δ -748 bytes34,446 bytes (33.64 KB) Δ +4,101 bytes32,744 bytes (31.98 KB) Δ +3,889 bytes19,011 bytes (18.57 KB) Δ +2,258 bytes18,409 bytes (17.98 KB) Δ +2,278 bytes
1.3.1117,446 bytes (114.69 KB) Δ +504 bytes55,272 bytes (53.98 KB) Δ +246 bytes34,605 bytes (33.79 KB) Δ +159 bytes32,912 bytes (32.14 KB) Δ +168 bytes19,118 bytes (18.67 KB) Δ +107 bytes18,523 bytes (18.09 KB) Δ +114 bytes
1.3.2120,763 bytes (117.93 KB) Δ +3,317 bytes57,254 bytes (55.91 KB) Δ +1,982 bytes35,354 bytes (34.53 KB) Δ +749 bytes33,597 bytes (32.81 KB) Δ +685 bytes19,709 bytes (19.25 KB) Δ +591 bytes19,075 bytes (18.63 KB) Δ +552 bytes
1.4158,407 bytes (154.69 KB) Δ +37,644 bytes69,838 bytes (68.20 KB) Δ +12,584 bytes44,810 bytes (43.76 KB) Δ +9,456 bytes42,503 bytes (41.51 KB) Δ +8,906 bytes23,673 bytes (23.12 KB) Δ +3,964 bytes22,934 bytes (22.40 KB) Δ +3,859 bytes
1.4.1160,712 bytes (156.95 KB) Δ +2,305 bytes70,843 bytes (69.18 KB) Δ +1,005 bytes45,311 bytes (44.25 KB) Δ +501 bytes43,079 bytes (42.07 KB) Δ +576 bytes23,996 bytes (23.43 KB) Δ +323 bytes23,246 bytes (22.70 KB) Δ +312 bytes
1.4.2163,855 bytes (160.01 KB) Δ +3,143 bytes72,174 bytes (70.48 KB) Δ +1,331 bytes45,987 bytes (44.91 KB) Δ +676 bytes43,670 bytes (42.65 KB) Δ +591 bytes24,558 bytes (23.98 KB) Δ +562 bytes23,793 bytes (23.24 KB) Δ +547 bytes
1.4.3180,459 bytes (176.23 KB) Δ +16,604 bytes77,746 bytes (75.92 KB) Δ +5,572 bytes51,026 bytes (49.83 KB) Δ +5,039 bytes48,446 bytes (47.31 KB) Δ +4,776 bytes26,742 bytes (26.12 KB) Δ +2,184 bytes25,872 bytes (25.27 KB) Δ +2,079 bytes
1.4.4183,184 bytes (178.89 KB) Δ +2,725 bytes78,601 bytes (76.76 KB) Δ +855 bytes51,690 bytes (50.48 KB) Δ +664 bytes49,041 bytes (47.89 KB) Δ +595 bytes27,073 bytes (26.44 KB) Δ +331 bytes26,194 bytes (25.58 KB) Δ +322 bytes
1.5211,978 bytes (207.01 KB) Δ +28,794 bytes84,362 bytes (82.38 KB) Δ +5,761 bytes60,671 bytes (59.25 KB) Δ +8,981 bytes57,547 bytes (56.20 KB) Δ +8,506 bytes29,368 bytes (28.68 KB) Δ +2,295 bytes28,272 bytes (27.61 KB) Δ +2,078 bytes
1.5.1216,840 bytes (211.76 KB) Δ +4,862 bytes85,260 bytes (83.26 KB) Δ +898 bytes62,287 bytes (60.83 KB) Δ +1,616 bytes59,081 bytes (57.70 KB) Δ +1,534 bytes29,690 bytes (28.99 KB) Δ +322 bytes28,590 bytes (27.92 KB) Δ +318 bytes
1.5.2219,227 bytes (214.09 KB) Δ +2,387 bytes85,925 bytes (83.91 KB) Δ +665 bytes63,146 bytes (61.67 KB) Δ +859 bytes59,886 bytes (58.48 KB) Δ +805 bytes29,921 bytes (29.22 KB) Δ +231 bytes28,821 bytes (28.15 KB) Δ +231 bytes
1.6232,651 bytes (227.20 KB) Δ +13,424 bytes90,518 bytes (88.40 KB) Δ +4,593 bytes66,775 bytes (65.21 KB) Δ +3,629 bytes63,343 bytes (61.86 KB) Δ +3,457 bytes31,607 bytes (30.87 KB) Δ +1,686 bytes30,458 bytes (29.74 KB) Δ +1,637 bytes
1.6.1234,995 bytes (229.49 KB) Δ +2,344 bytes91,342 bytes (89.20 KB) Δ +824 bytes67,432 bytes (65.85 KB) Δ +657 bytes63,937 bytes (62.44 KB) Δ +594 bytes31,952 bytes (31.20 KB) Δ +345 bytes30,813 bytes (30.09 KB) Δ +355 bytes
1.6.2236,202 bytes (230.67 KB) Δ +1,207 bytes91,556 bytes (89.41 KB) Δ +214 bytes67,775 bytes (66.19 KB) Δ +343 bytes64,271 bytes (62.76 KB) Δ +334 bytes32,065 bytes (31.31 KB) Δ +113 bytes30,916 bytes (30.19 KB) Δ +103 bytes
1.6.3238,009 bytes (232.43 KB) Δ +1,807 bytes91,626 bytes (89.48 KB) Δ +70 bytes68,519 bytes (66.91 KB) Δ +744 bytes64,960 bytes (63.44 KB) Δ +689 bytes32,070 bytes (31.32 KB) Δ +5 bytes30,898 bytes (30.17 KB) Δ -18 bytes
1.6.4238,159 bytes (232.58 KB) Δ +150 bytes91,669 bytes (89.52 KB) Δ +43 bytes68,572 bytes (66.96 KB) Δ +53 bytes64,975 bytes (63.45 KB) Δ +15 bytes32,075 bytes (31.32 KB) Δ +5 bytes30,911 bytes (30.19 KB) Δ +13 bytes
1.7249,159 bytes (243.32 KB) Δ +11,000 bytes94,020 bytes (91.82 KB) Δ +2,351 bytes72,705 bytes (71.00 KB) Δ +4,133 bytes68,886 bytes (67.27 KB) Δ +3,911 bytes33,285 bytes (32.50 KB) Δ +1,210 bytes32,096 bytes (31.34 KB) Δ +1,185 bytes
1.7.1248,235 bytes (242.42 KB) Δ -924 bytes93,868 bytes (91.67 KB) Δ -152 bytes72,382 bytes (70.69 KB) Δ -323 bytes68,573 bytes (66.97 KB) Δ -313 bytes33,156 bytes (32.38 KB) Δ -129 bytes31,975 bytes (31.23 KB) Δ -121 bytes
1.7.2252,881 bytes (246.95 KB) Δ +4,646 bytes94,840 bytes (92.62 KB) Δ +972 bytes73,768 bytes (72.04 KB) Δ +1,386 bytes69,927 bytes (68.29 KB) Δ +1,354 bytes33,647 bytes (32.86 KB) Δ +491 bytes32,469 bytes (31.71 KB) Δ +494 bytes
1.8.0258,377 bytes (252.32 KB) Δ +5,496 bytes92,555 bytes (90.39 KB) Δ -2,285 bytes76,944 bytes (75.14 KB) Δ +3,176 bytes72,999 bytes (71.29 KB) Δ +3,072 bytes33,089 bytes (32.31 KB) Δ -558 bytes31,957 bytes (31.21 KB) Δ -512 bytes
1.8.1261,525 bytes (255.40 KB) Δ +3,148 bytes92,793 bytes (90.62 KB) Δ +238 bytes77,626 bytes (75.81 KB) Δ +682 bytes73,635 bytes (71.91 KB) Δ +636 bytes33,204 bytes (32.43 KB) Δ +115 bytes32,076 bytes (31.32 KB) Δ +119 bytes
1.8.2266,882 bytes (260.63 KB) Δ +5,357 bytes93,436 bytes (91.25 KB) Δ +643 bytes79,116 bytes (77.26 KB) Δ +1,490 bytes75,121 bytes (73.36 KB) Δ +1,486 bytes33,423 bytes (32.64 KB) Δ +219 bytes32,280 bytes (31.52 KB) Δ +204 bytes
1.8.3267,739 bytes (261.46 KB) Δ +857 bytes93,637 bytes (91.44 KB) Δ +201 bytes79,442 bytes (77.58 KB) Δ +326 bytes75,426 bytes (73.66 KB) Δ +305 bytes33,456 bytes (32.67 KB) Δ +33 bytes32,275 bytes (31.52 KB) Δ -5 bytes
1.9.0267,320 bytes (261.05 KB) Δ -419 bytes93,068 bytes (90.89 KB) Δ -569 bytes79,279 bytes (77.42 KB) Δ -163 bytes75,261 bytes (73.50 KB) Δ -165 bytes32,962 bytes (32.19 KB) Δ -494 bytes31,803 bytes (31.06 KB) Δ -472 bytes
1.10.0273,810 bytes (267.39 KB) Δ +6,490 bytes93,026 bytes (90.85 KB) Δ -42 bytes81,235 bytes (79.33 KB) Δ +1,956 bytes77,143 bytes (75.33 KB) Δ +1,882 bytes32,786 bytes (32.02 KB) Δ -176 bytes31,688 bytes (30.95 KB) Δ -115 bytes
1.10.1274,080 bytes (267.66 KB) Δ +270 bytes93,064 bytes (90.88 KB) Δ +38 bytes81,345 bytes (79.44 KB) Δ +110 bytes77,204 bytes (75.39 KB) Δ +61 bytes32,805 bytes (32.04 KB) Δ +19 bytes31,712 bytes (30.97 KB) Δ +24 bytes
1.10.2273,199 bytes (266.80 KB) Δ -881 bytes93,107 bytes (90.92 KB) Δ +43 bytes80,969 bytes (79.07 KB) Δ -376 bytes76,890 bytes (75.09 KB) Δ -314 bytes32,768 bytes (32.00 KB) Δ -37 bytes31,669 bytes (30.93 KB) Δ -43 bytes
1.11.0282,944 bytes (276.31 KB) Δ +9,745 bytes96,381 bytes (94.12 KB) Δ +3,274 bytes83,915 bytes (81.95 KB) Δ +2,946 bytes79,584 bytes (77.72 KB) Δ +2,694 bytes33,417 bytes (32.63 KB) Δ +649 bytes32,243 bytes (31.49 KB) Δ +574 bytes
1.11.1282,766 bytes (276.14 KB) Δ -178 bytes95,786 bytes (93.54 KB) Δ -595 bytes84,264 bytes (82.29 KB) Δ +349 bytes79,820 bytes (77.95 KB) Δ +236 bytes33,266 bytes (32.49 KB) Δ -151 bytes32,099 bytes (31.35 KB) Δ -144 bytes
2.0.0240,196 bytes (234.57 KB) Δ -42,570 bytes83,095 bytes (81.15 KB) Δ -12,691 bytes71,101 bytes (69.43 KB) Δ -13,163 bytes67,379 bytes (65.80 KB) Δ -12,441 bytes29,002 bytes (28.32 KB) Δ -4,264 bytes28,070 bytes (27.41 KB) Δ -4,029 bytes
2.0.1242,727 bytes (237.04 KB) Δ +2,531 bytes83,519 bytes (81.56 KB) Δ +424 bytes71,919 bytes (70.23 KB) Δ +818 bytes68,175 bytes (66.58 KB) Δ +796 bytes29,237 bytes (28.55 KB) Δ +235 bytes28,279 bytes (27.62 KB) Δ +209 bytes
2.0.2242,915 bytes (237.22 KB) Δ +188 bytes83,501 bytes (81.54 KB) Δ -18 bytes72,015 bytes (70.33 KB) Δ +96 bytes68,268 bytes (66.67 KB) Δ +93 bytes29,250 bytes (28.56 KB) Δ +13 bytes28,291 bytes (27.63 KB) Δ +12 bytes
2.0.3242,142 bytes (236.47 KB) Δ -773 bytes83,612 bytes (81.65 KB) Δ +111 bytes71,726 bytes (70.04 KB) Δ -289 bytes68,020 bytes (66.43 KB) Δ -248 bytes29,246 bytes (28.56 KB) Δ -4 bytes28,275 bytes (27.61 KB) Δ -16 bytes
2.1.0244,963 bytes (239.22 KB) Δ +2,821 bytes83,615 bytes (81.66 KB) Δ +3 bytes72,509 bytes (70.81 KB) Δ +783 bytes68,589 bytes (66.98 KB) Δ +569 bytes29,344 bytes (28.66 KB) Δ +98 bytes28,307 bytes (27.64 KB) Δ +32 bytes
2.1.1247,351 bytes (241.55 KB) Δ +2,388 bytes84,245 bytes (82.27 KB) Δ +630 bytes73,303 bytes (71.58 KB) Δ +794 bytes69,315 bytes (67.69 KB) Δ +726 bytes29,538 bytes (28.85 KB) Δ +194 bytes28,487 bytes (27.82 KB) Δ +180 bytes

Made by @mathias