{"id":47998948,"url":"https://github.com/j9t/minifier-benchmarks","last_synced_at":"2026-04-04T12:10:43.959Z","repository":{"id":336708722,"uuid":"1150806989","full_name":"j9t/minifier-benchmarks","owner":"j9t","description":"Regularly updated benchmarks for web page minification","archived":false,"fork":false,"pushed_at":"2026-03-23T06:14:41.000Z","size":272,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T03:46:14.094Z","etag":null,"topics":["benchmarks","comparisons","css","html","html-minifier","html-minifier-next","htmlcompressor","htmlnano","js","minify-html","minimize","svg","swc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j9t.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-05T18:00:53.000Z","updated_at":"2026-03-23T06:14:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/j9t/minifier-benchmarks","commit_stats":null,"previous_names":["j9t/minifier-benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/j9t/minifier-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j9t%2Fminifier-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j9t%2Fminifier-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j9t%2Fminifier-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j9t%2Fminifier-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j9t","download_url":"https://codeload.github.com/j9t/minifier-benchmarks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j9t%2Fminifier-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31398902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmarks","comparisons","css","html","html-minifier","html-minifier-next","htmlcompressor","htmlnano","js","minify-html","minimize","svg","swc"],"created_at":"2026-04-04T12:10:43.510Z","updated_at":"2026-04-04T12:10:43.948Z","avatar_url":"https://github.com/j9t.png","language":"JavaScript","funding_links":["https://github.com/sponsors/swc-project","https://github.com/sponsors/j9t"],"categories":[],"sub_categories":[],"readme":"# Minifier Benchmarks\n\nA collection of regularly updated benchmarks for HTML+ minifiers ([context](https://dev.to/j9t/on-the-need-for-neutral-maintained-minifier-metrics-5715)).\n\nTwo tests are run: One exclusively applying [HTML minification](#1-html-minification-compared) (with the most aggressive settings that do not impact conformance), the other [enabling all minification features](#2-maximum-minification-compared) the respective minifier offers (this is play—it’s not a fair comparison and may exceed project needs).\n\n* **👩‍💻 Minifier user?** Compare HTML minifiers [by HTML minification effectiveness](#1-html-minification-compared), [by maximum effectiveness](#2-maximum-minification-compared) (all minification and tree-shaking options enabled), and by the respective processing times\n* **🧑‍🏭 Minifier author?** [Add and configure your minifier and become a co-owner](https://github.com/j9t/minifier-benchmarks/compare)\n* **💁 Innocent bystander?** [Please share observations and suggestions](https://github.com/j9t/minifier-benchmarks/issues/new)\n\n## 0. Minifier Overview\n\n| | [@swc/html](https://github.com/swc-project/swc) | [HTML Minifier Next](https://github.com/j9t/html-minifier-next) | [html­com­pressor.­com](https://htmlcompressor.com/) | [htmlnano](https://github.com/posthtml/htmlnano) | [minify-html](https://github.com/wilsonzlin/minify-html) | [minimize](https://github.com/Swaagie/minimize) |\n| --- | --- | --- | --- | --- | --- | --- |\n| **Last npm update** | ![npm @swc/html](https://img.shields.io/npm/last-update/@swc/html) | ![npm HTML Minifier Next](https://img.shields.io/npm/last-update/html-minifier-next) | n/a | ![npm htmlnano](https://img.shields.io/npm/last-update/htmlnano) | ![npm minify-html](https://img.shields.io/npm/last-update/@minify-html/node) | ![npm minimize](https://img.shields.io/npm/last-update/minimize) |\n| **Socket health status** | [![Socket @swc/html](https://badge.socket.dev/npm/package/@swc/html)](https://socket.dev/npm/package/@swc/html) | [![Socket HTML Minifier Next](https://badge.socket.dev/npm/package/html-minifier-next)](https://socket.dev/npm/package/html-minifier-next) | n/a | [![Socket htmlnano](https://badge.socket.dev/npm/package/htmlnano)](https://socket.dev/npm/package/htmlnano) | [![Socket minify-html](https://badge.socket.dev/npm/package/@minify-html/node)](https://socket.dev/npm/package/@minify-html/node) | [![Socket minimize](https://badge.socket.dev/npm/package/minimize)](https://socket.dev/npm/package/minimize) |\n| **GitHub sponsors** | [![Sponsors @swc/html](https://img.shields.io/github/sponsors/swc-project)](https://github.com/sponsors/swc-project) | [![Sponsors HTML Minifier Next](https://img.shields.io/github/sponsors/j9t)](https://github.com/sponsors/j9t) | n/a | n/a | n/a | n/a |\n\n\u003c!--\n| **Dependencies status** | ![Dependencies @swc/html](https://img.shields.io/depfu/dependencies/github/swc-project/swc) | ![Dependencies HTML Minifier Next](https://img.shields.io/depfu/dependencies/github/j9t/html-minifier-next) | n/a | ![Dependencies htmlnano](https://img.shields.io/depfu/dependencies/github/maltsev/htmlnano) | ![Dependencies minify-html](https://img.shields.io/depfu/dependencies/github/wilsonzlin/minify-html) | ![Dependencies minimize](https://img.shields.io/depfu/dependencies/github/Swaagie/minimize) |\n| **Code coverage** | ![Coverage @swc/html](https://img.shields.io/codecov/c/github/swc-project/swc) | ![Coverage HTML Minifier Next](https://img.shields.io/codecov/c/github/j9t/html-minifier-next) | n/a | ![Coverage htmlnano](https://img.shields.io/codecov/c/github/maltsev/htmlnano) | ![Coverage minify-html](https://img.shields.io/codecov/c/github/wilsonzlin/minify-html) | ![Coverage minimize](https://img.shields.io/codecov/c/github/Swaagie/minimize) |\n| **Quality score** | ![Quality @swc/html](https://img.shields.io/npms-io/quality-score/@swc/html) | ![Quality HTML Minifier Next](https://img.shields.io/npms-io/quality-score/html-minifier-next) | n/a | ![Quality htmlnano](https://img.shields.io/npms-io/quality-score/htmlnano) | ![Quality minify-html](https://img.shields.io/npms-io/quality-score/@minify-html/node) | ![Quality minimize](https://img.shields.io/npms-io/quality-score/minimize) |\n| **Unpacked size** | ![Size @swc/html](https://img.shields.io/npm/unpacked-size/@swc/html) | ![Size HTML Minifier Next](https://img.shields.io/npm/unpacked-size/html-minifier-next) | n/a | ![Size htmlnano](https://img.shields.io/npm/unpacked-size/htmlnano) | ![Size minify-html](https://img.shields.io/npm/unpacked-size/@minify-html/node) | ![Size minimize](https://img.shields.io/npm/unpacked-size/minimize) |\n--\u003e\n\n\u003c!-- Auto-generated benchmarks, don't edit --\u003e\n## 1. HTML Minification Compared\n\n| Site | Original Size (KB) | [@swc/html](https://github.com/swc-project/swc) | [HTML Minifier Next](https://github.com/j9t/html-minifier-next) | [html­com­pressor.­com](https://htmlcompressor.com/) | [htmlnano](https://github.com/posthtml/htmlnano) | [minify-html](https://github.com/wilsonzlin/minify-html) | [minimize](https://github.com/Swaagie/minimize) |\n| --- | --- | --- | --- | --- | --- | --- | --- |\n| [Minifier Test](https://hell.meiert.org/core/html/minifier-test.html) | 31 | 26\u003cbr\u003e(–17.2%) | ***25\u003cbr\u003e(–19.6%)*** | 26\u003cbr\u003e(–17%) | 26\u003cbr\u003e(–16.5%) | 25\u003cbr\u003e(–19.2%) | 26\u003cbr\u003e(–16.3%) |\n| [A List Apart](https://alistapart.com/) | 63 | 59\u003cbr\u003e(–6.4%) | 57\u003cbr\u003e(–8.9%) | 58\u003cbr\u003e(–7.4%) | 58\u003cbr\u003e(–8.3%) | ***57\u003cbr\u003e(–8.9%)*** | 58\u003cbr\u003e(–7.4%) |\n| [Apple](https://www.apple.com/) | 248 | 238\u003cbr\u003e(–4%) | ***232\u003cbr\u003e(–6.4%)*** | 236\u003cbr\u003e(–4.7%) | 235\u003cbr\u003e(–5.2%) | 233\u003cbr\u003e(–5.9%) | 236\u003cbr\u003e(–4.9%) |\n| [BBC](https://www.bbc.co.uk/) | 685 | 680\u003cbr\u003e(–0.7%) | ***674\u003cbr\u003e(–1.5%)*** | n/a | 678\u003cbr\u003e(–0.9%) | 675\u003cbr\u003e(–1.4%) | 679\u003cbr\u003e(–0.8%) |\n| [Bun](https://bun.sh/) | 461 | 451\u003cbr\u003e(–2.2%) | ***441\u003cbr\u003e(–4.2%)*** | n/a | 454\u003cbr\u003e(–1.5%) | 452\u003cbr\u003e(–2%) | 455\u003cbr\u003e(–1.3%) |\n| [CERN](https://home.cern/) | 151 | 93\u003cbr\u003e(–38.5%) | ***81\u003cbr\u003e(–46%)*** | 95\u003cbr\u003e(–36.9%) | 91\u003cbr\u003e(–39.3%) | 91\u003cbr\u003e(–39.6%) | 93\u003cbr\u003e(–38.6%) |\n| [CSS-Tricks](https://css-tricks.com/) | 169 | 157\u003cbr\u003e(–7.4%) | ***154\u003cbr\u003e(–9%)*** | 156\u003cbr\u003e(–7.9%) | 155\u003cbr\u003e(–8.4%) | 154\u003cbr\u003e(–8.9%) | 156\u003cbr\u003e(–8%) |\n| [DIN](https://www.din.de/) | 253 | 182\u003cbr\u003e(–28.1%) | ***175\u003cbr\u003e(–30.6%)*** | 183\u003cbr\u003e(–27.6%) | 182\u003cbr\u003e(–28%) | 179\u003cbr\u003e(–29%) | 182\u003cbr\u003e(–27.8%) |\n| [DLR](https://www.dlr.de/) | 567 | 563\u003cbr\u003e(–0.7%) | ***560\u003cbr\u003e(–1.1%)*** | n/a | 562\u003cbr\u003e(–0.8%) | 561\u003cbr\u003e(–1%) | 564\u003cbr\u003e(–0.5%) |\n| [ECMAScript](https://tc39.es/ecma262/) | 7355 | 6761\u003cbr\u003e(–8.1%) | ***6539\u003cbr\u003e(–11.1%)*** | n/a | 6674\u003cbr\u003e(–9.3%) | 6674\u003cbr\u003e(–9.3%) | 6726\u003cbr\u003e(–8.6%) |\n| [EDRi](https://edri.org/) | 83 | 77\u003cbr\u003e(–7.6%) | ***77\u003cbr\u003e(–8.2%)*** | 78\u003cbr\u003e(–6.6%) | 77\u003cbr\u003e(–7.5%) | 77\u003cbr\u003e(–8.1%) | 78\u003cbr\u003e(–6.7%) |\n| [EFF](https://www.eff.org/) | 54 | 49\u003cbr\u003e(–8.1%) | ***47\u003cbr\u003e(–11.9%)*** | 49\u003cbr\u003e(–7.8%) | 48\u003cbr\u003e(–10%) | 47\u003cbr\u003e(–11.6%) | 48\u003cbr\u003e(–9.7%) |\n| [European Alternatives](https://european-alternatives.eu/) | 49 | 33\u003cbr\u003e(–33.1%) | ***33\u003cbr\u003e(–33.9%)*** | 33\u003cbr\u003e(–32.9%) | 33\u003cbr\u003e(–33.1%) | 33\u003cbr\u003e(–33.7%) | 33\u003cbr\u003e(–33.1%) |\n| [FAZ](https://www.faz.net/aktuell/) | 1445 | 1402\u003cbr\u003e(–3%) | ***1384\u003cbr\u003e(–4.2%)*** | n/a | 1399\u003cbr\u003e(–3.2%) | 1390\u003cbr\u003e(–3.8%) | 1396\u003cbr\u003e(–3.4%) |\n| [French Tech](https://lafrenchtech.gouv.fr/) | 156 | 136\u003cbr\u003e(–13%) | ***134\u003cbr\u003e(–14%)*** | 136\u003cbr\u003e(–13.1%) | 135\u003cbr\u003e(–13.3%) | 134\u003cbr\u003e(–14%) | 136\u003cbr\u003e(–13.2%) |\n| [Front-End Social](https://front-end.social/) | 36 | 34\u003cbr\u003e(–3.7%) | 34\u003cbr\u003e(–5.6%) | 35\u003cbr\u003e(–3.1%) | 34\u003cbr\u003e(–5.5%) | ***34\u003cbr\u003e(–5.6%)*** | 35\u003cbr\u003e(–3.1%) |\n| [Frontend Dogma](https://frontenddogma.com/) | 219 | 227\u003cbr\u003e(+3.7%) | 219\u003cbr\u003e(0%) | ***218\u003cbr\u003e(–0.2%)*** | 232\u003cbr\u003e(+6.1%) | 218\u003cbr\u003e(0%) | 237\u003cbr\u003e(+8.4%) |\n| [Google](https://www.google.com/) | 78 | 123\u003cbr\u003e(+57.8%) | 78\u003cbr\u003e(–0.6%) | 78\u003cbr\u003e(–0.3%) | ***77\u003cbr\u003e(–0.8%)*** | 78\u003cbr\u003e(–0.5%) | 78\u003cbr\u003e(–0.3%) |\n| [Ground News](https://ground.news/) | 1511 | 1488\u003cbr\u003e(–1.5%) | ***1448\u003cbr\u003e(–4.2%)*** | n/a | 1494\u003cbr\u003e(–1.1%) | 1486\u003cbr\u003e(–1.6%) | 1498\u003cbr\u003e(–0.9%) |\n| [HTML 3.2](https://www.w3.org/TR/2018/SPSD-html32-20180315/) | 123 | 119\u003cbr\u003e(–3%) | 119\u003cbr\u003e(–3%) | 121\u003cbr\u003e(–1.2%) | 124\u003cbr\u003e(+0.9%) | ***119\u003cbr\u003e(–3.2%)*** | 123\u003cbr\u003e(+0.5%) |\n| [HTML Living Standard](https://html.spec.whatwg.org/multipage/) | 149 | 152\u003cbr\u003e(+1.8%) | ***148\u003cbr\u003e(–0.6%)*** | 149\u003cbr\u003e(–0.2%) | 153\u003cbr\u003e(+2.6%) | 149\u003cbr\u003e(–0.3%) | 155\u003cbr\u003e(+3.8%) |\n| [IETF](https://www.ietf.org/) | 83 | 34\u003cbr\u003e(–58.5%) | ***33\u003cbr\u003e(–60.7%)*** | 35\u003cbr\u003e(–58%) | 34\u003cbr\u003e(–59.1%) | 34\u003cbr\u003e(–59.6%) | 34\u003cbr\u003e(–58.5%) |\n| [Igalia](https://www.igalia.com/) | 49 | 38\u003cbr\u003e(–23.6%) | ***35\u003cbr\u003e(–28.9%)*** | 37\u003cbr\u003e(–24.7%) | 37\u003cbr\u003e(–25.1%) | 37\u003cbr\u003e(–25.6%) | 37\u003cbr\u003e(–25.1%) |\n| [Ladybird](https://ladybird.org/) | 24 | 23\u003cbr\u003e(–4.6%) | ***22\u003cbr\u003e(–7.3%)*** | 23\u003cbr\u003e(–5.5%) | 23\u003cbr\u003e(–6.1%) | 23\u003cbr\u003e(–6.6%) | 23\u003cbr\u003e(–5.6%) |\n| [Leanpub](https://leanpub.com/) | 343 | 338\u003cbr\u003e(–1.3%) | ***330\u003cbr\u003e(–3.7%)*** | n/a | 338\u003cbr\u003e(–1.3%) | 336\u003cbr\u003e(–2%) | 337\u003cbr\u003e(–1.7%) |\n| [Legge Stanca](https://www.gazzettaufficiale.it/atto/serie_generale/caricaDettaglioAtto/originario?atto.dataPubblicazioneGazzetta=2004-01-17\u0026atto.codiceRedazionale=004G0015\u0026elenco30giorni=false) | 17 | 12\u003cbr\u003e(–28.5%) | ***12\u003cbr\u003e(–30.4%)*** | 12\u003cbr\u003e(–27.3%) | 12\u003cbr\u003e(–29.7%) | 12\u003cbr\u003e(–30.2%) | 12\u003cbr\u003e(–27.5%) |\n| [Mastodon](https://mastodon.social/explore) | 34 | 33\u003cbr\u003e(–3.5%) | ***32\u003cbr\u003e(–5.3%)*** | 33\u003cbr\u003e(–2.9%) | 32\u003cbr\u003e(–5.2%) | 32\u003cbr\u003e(–5.3%) | 33\u003cbr\u003e(–3.1%) |\n| [MDN](https://developer.mozilla.org/en-US/) | 110 | 67\u003cbr\u003e(–39.1%) | ***64\u003cbr\u003e(–41.6%)*** | 68\u003cbr\u003e(–37.7%) | 68\u003cbr\u003e(–38%) | 66\u003cbr\u003e(–40.4%) | 68\u003cbr\u003e(–38.2%) |\n| [Mistral AI](https://mistral.ai/) | 349 | 341\u003cbr\u003e(–2.5%) | ***339\u003cbr\u003e(–3%)*** | n/a | 345\u003cbr\u003e(–1.3%) | 340\u003cbr\u003e(–2.6%) | 346\u003cbr\u003e(–1.1%) |\n| [Mondoweiss](https://mondoweiss.net/) | 406 | 403\u003cbr\u003e(–0.6%) | ***386\u003cbr\u003e(–4.8%)*** | n/a | 390\u003cbr\u003e(–3.8%) | 389\u003cbr\u003e(–4.1%) | 392\u003cbr\u003e(–3.4%) |\n| [Mozilla](https://www.mozilla.org/) | 47 | 37\u003cbr\u003e(–21%) | 36\u003cbr\u003e(–24.4%) | 37\u003cbr\u003e(–22.2%) | 36\u003cbr\u003e(–23.8%) | ***35\u003cbr\u003e(–26.1%)*** | 36\u003cbr\u003e(–23.1%) |\n| [Nielsen Norman Group](https://www.nngroup.com/) | 102 | 85\u003cbr\u003e(–16.5%) | ***84\u003cbr\u003e(–17.4%)*** | 85\u003cbr\u003e(–16.1%) | 86\u003cbr\u003e(–15.7%) | 84\u003cbr\u003e(–17.2%) | 86\u003cbr\u003e(–15.7%) |\n| [Opera](https://www.opera.com/) | 231 | 178\u003cbr\u003e(–22.9%) | ***173\u003cbr\u003e(–25.1%)*** | 176\u003cbr\u003e(–23.7%) | 177\u003cbr\u003e(–23.4%) | 175\u003cbr\u003e(–24.3%) | 177\u003cbr\u003e(–23.5%) |\n| [OSCE](https://www.osce.org/) | 173 | 145\u003cbr\u003e(–16%) | 143\u003cbr\u003e(–17.2%) | 145\u003cbr\u003e(–15.9%) | 145\u003cbr\u003e(–15.7%) | ***143\u003cbr\u003e(–17.3%)*** | 145\u003cbr\u003e(–15.7%) |\n| [Scrum Guide](https://scrumguides.org/scrum-guide.html) | 34 | 31\u003cbr\u003e(–8.9%) | ***31\u003cbr\u003e(–10.2%)*** | 32\u003cbr\u003e(–7.3%) | 31\u003cbr\u003e(–7.9%) | 31\u003cbr\u003e(–10.1%) | 31\u003cbr\u003e(–7.8%) |\n| [Scrum.org](https://www.scrum.org/) | 209 | 179\u003cbr\u003e(–14.5%) | ***177\u003cbr\u003e(–15.4%)*** | 178\u003cbr\u003e(–14.9%) | 178\u003cbr\u003e(–14.8%) | 178\u003cbr\u003e(–15.2%) | 179\u003cbr\u003e(–14.7%) |\n| [SELFHTML](https://wiki.selfhtml.org/) | 21 | 20\u003cbr\u003e(–7.5%) | ***18\u003cbr\u003e(–17.3%)*** | 18\u003cbr\u003e(–13.6%) | 18\u003cbr\u003e(–14.4%) | 18\u003cbr\u003e(–16.7%) | 18\u003cbr\u003e(–14.1%) |\n| [SitePoint](https://www.sitepoint.com/) | 235 | 232\u003cbr\u003e(–1.3%) | ***232\u003cbr\u003e(–1.6%)*** | 234\u003cbr\u003e(–0.7%) | 233\u003cbr\u003e(–0.9%) | 233\u003cbr\u003e(–1.1%) | 234\u003cbr\u003e(–0.7%) |\n| [Smashing Magazine](https://www.smashingmagazine.com/) | 280 | 281\u003cbr\u003e(+0.2%) | ***279\u003cbr\u003e(–0.6%)*** | 280\u003cbr\u003e(–0.1%) | 280\u003cbr\u003e(–0.2%) | 279\u003cbr\u003e(–0.4%) | 280\u003cbr\u003e(0%) |\n| [Startup-Verband](https://startupverband.de/) | 44 | 33\u003cbr\u003e(–26.2%) | ***32\u003cbr\u003e(–29.1%)*** | 33\u003cbr\u003e(–26.6%) | 32\u003cbr\u003e(–27%) | 32\u003cbr\u003e(–28.1%) | 33\u003cbr\u003e(–26.3%) |\n| [TAZ](https://taz.de/) | 450 | 426\u003cbr\u003e(–5.4%) | ***405\u003cbr\u003e(–10%)*** | n/a | 416\u003cbr\u003e(–7.7%) | 415\u003cbr\u003e(–7.9%) | 418\u003cbr\u003e(–7.2%) |\n| [TetraLogical](https://tetralogical.com/) | 60 | 54\u003cbr\u003e(–10%) | ***54\u003cbr\u003e(–10.4%)*** | 54\u003cbr\u003e(–9.7%) | 54\u003cbr\u003e(–9.8%) | 54\u003cbr\u003e(–10.2%) | 54\u003cbr\u003e(–9.7%) |\n| [TPGi](https://www.tpgi.com/) | 181 | 166\u003cbr\u003e(–8.2%) | ***163\u003cbr\u003e(–9.7%)*** | 166\u003cbr\u003e(–8.3%) | 164\u003cbr\u003e(–9.2%) | 163\u003cbr\u003e(–9.4%) | 166\u003cbr\u003e(–8.3%) |\n| [United Nations](https://www.un.org/en/) | 152 | 132\u003cbr\u003e(–13.6%) | ***127\u003cbr\u003e(–16.6%)*** | 132\u003cbr\u003e(–13.7%) | 130\u003cbr\u003e(–14.5%) | 129\u003cbr\u003e(–15.2%) | 131\u003cbr\u003e(–13.9%) |\n| [UX Collective](https://uxdesign.cc/) | 97 | 138\u003cbr\u003e(+42.8%) | ***94\u003cbr\u003e(–2.7%)*** | 96\u003cbr\u003e(–0.8%) | 96\u003cbr\u003e(–1.1%) | 96\u003cbr\u003e(–1.4%) | 96\u003cbr\u003e(–0.9%) |\n| [Vivaldi](https://vivaldi.com/) | 91 | 83\u003cbr\u003e(–8.7%) | 81\u003cbr\u003e(–10.7%) | 82\u003cbr\u003e(–9.5%) | 82\u003cbr\u003e(–9.8%) | ***81\u003cbr\u003e(–10.8%)*** | 82\u003cbr\u003e(–9.4%) |\n| [W3C](https://www.w3.org/) | 50 | 41\u003cbr\u003e(–18.8%) | ***40\u003cbr\u003e(–20.9%)*** | 41\u003cbr\u003e(–19.2%) | 40\u003cbr\u003e(–19.5%) | 40\u003cbr\u003e(–20.5%) | 41\u003cbr\u003e(–19.1%) |\n| [WordPress Blog](https://wordpress.com/blog/) | 201 | 185\u003cbr\u003e(–7.6%) | ***182\u003cbr\u003e(–9.1%)*** | 187\u003cbr\u003e(–6.9%) | 185\u003cbr\u003e(–7.5%) | 184\u003cbr\u003e(–8.4%) | 187\u003cbr\u003e(–6.7%) |\n| **Sites processed (of sites overall)** |  | 48/48 | 48/48 | 38/48 | 48/48 | 48/48 | 48/48 |\n| **Average processing time** |  | 31 ms | 42 ms | 754 ms | 35 ms | ***8 ms*** | 189 ms |\n| **Average result (KB)** | 374 | 350\u003cbr\u003e(–6.5%) | ***339\u003cbr\u003e(–9.4%)*** | 363\u003cbr\u003e(–3.1%) | 346\u003cbr\u003e(–7.6%) | 344\u003cbr\u003e(–8.1%) | 347\u003cbr\u003e(–7.2%) |\n\n## 2. Maximum Minification Compared\n\n| Site | Original Size (KB) | [@swc/html](https://github.com/swc-project/swc) | [HTML Minifier Next](https://github.com/j9t/html-minifier-next) | [html­com­pressor.­com](https://htmlcompressor.com/) | [htmlnano](https://github.com/posthtml/htmlnano) | [minify-html](https://github.com/wilsonzlin/minify-html) | [minimize](https://github.com/Swaagie/minimize) |\n| --- | --- | --- | --- | --- | --- | --- | --- |\n| [Minifier Test](https://hell.meiert.org/core/html/minifier-test.html) | 31 | 24\u003cbr\u003e(–23.3%) | 23\u003cbr\u003e(–25.5%) | 24\u003cbr\u003e(–22.9%) | ***23\u003cbr\u003e(–26.5%)*** | 23\u003cbr\u003e(–25.3%) | 26\u003cbr\u003e(–16.3%) |\n| [A List Apart](https://alistapart.com/) | 63 | 57\u003cbr\u003e(–9.6%) | 53\u003cbr\u003e(–15.2%) | 56\u003cbr\u003e(–10.2%) | ***39\u003cbr\u003e(–37.6%)*** | 55\u003cbr\u003e(–12.1%) | 58\u003cbr\u003e(–7.4%) |\n| [Apple](https://www.apple.com/) | 248 | 237\u003cbr\u003e(–4.2%) | ***222\u003cbr\u003e(–10.4%)*** | 236\u003cbr\u003e(–4.8%) | 226\u003cbr\u003e(–8.9%) | 233\u003cbr\u003e(–5.9%) | 236\u003cbr\u003e(–4.9%) |\n| [BBC](https://www.bbc.co.uk/) | 685 | 644\u003cbr\u003e(–6%) | ***629\u003cbr\u003e(–8.1%)*** | n/a | 642\u003cbr\u003e(–6.3%) | 639\u003cbr\u003e(–6.7%) | 679\u003cbr\u003e(–0.8%) |\n| [Bun](https://bun.sh/) | 461 | 435\u003cbr\u003e(–5.7%) | 420\u003cbr\u003e(–8.8%) | n/a | ***374\u003cbr\u003e(–18.9%)*** | 436\u003cbr\u003e(–5.3%) | 455\u003cbr\u003e(–1.3%) |\n| [CERN](https://home.cern/) | 151 | 93\u003cbr\u003e(–38.5%) | ***80\u003cbr\u003e(–46.6%)*** | 95\u003cbr\u003e(–36.9%) | 90\u003cbr\u003e(–40.5%) | 90\u003cbr\u003e(–40%) | 93\u003cbr\u003e(–38.6%) |\n| [CSS-Tricks](https://css-tricks.com/) | 169 | 149\u003cbr\u003e(–12.2%) | 125\u003cbr\u003e(–26.3%) | 150\u003cbr\u003e(–11.2%) | ***115\u003cbr\u003e(–32.3%)*** | 148\u003cbr\u003e(–12.5%) | 156\u003cbr\u003e(–8%) |\n| [DIN](https://www.din.de/) | 253 | 175\u003cbr\u003e(–30.7%) | 163\u003cbr\u003e(–35.3%) | 176\u003cbr\u003e(–30.5%) | ***136\u003cbr\u003e(–46.3%)*** | 174\u003cbr\u003e(–31.1%) | 182\u003cbr\u003e(–27.8%) |\n| [DLR](https://www.dlr.de/) | 567 | 532\u003cbr\u003e(–6%) | 523\u003cbr\u003e(–7.8%) | n/a | ***518\u003cbr\u003e(–8.6%)*** | 525\u003cbr\u003e(–7.4%) | 564\u003cbr\u003e(–0.5%) |\n| [ECMAScript](https://tc39.es/ecma262/) | 7355 | 6759\u003cbr\u003e(–8.1%) | ***6536\u003cbr\u003e(–11.1%)*** | n/a | 6671\u003cbr\u003e(–9.3%) | 6672\u003cbr\u003e(–9.3%) | 6726\u003cbr\u003e(–8.6%) |\n| [EDRi](https://edri.org/) | 83 | 74\u003cbr\u003e(–11.1%) | 70\u003cbr\u003e(–15.9%) | 76\u003cbr\u003e(–9.5%) | ***54\u003cbr\u003e(–34.7%)*** | 74\u003cbr\u003e(–11.3%) | 78\u003cbr\u003e(–6.7%) |\n| [EFF](https://www.eff.org/) | 54 | 48\u003cbr\u003e(–10.9%) | ***44\u003cbr\u003e(–18%)*** | 48\u003cbr\u003e(–10.1%) | 46\u003cbr\u003e(–14.2%) | 47\u003cbr\u003e(–12.6%) | 48\u003cbr\u003e(–9.7%) |\n| [European Alternatives](https://european-alternatives.eu/) | 49 | 33\u003cbr\u003e(–33.2%) | ***31\u003cbr\u003e(–37.7%)*** | 33\u003cbr\u003e(–33%) | 31\u003cbr\u003e(–37%) | 33\u003cbr\u003e(–33.8%) | 33\u003cbr\u003e(–33.1%) |\n| [FAZ](https://www.faz.net/aktuell/) | 1445 | 1395\u003cbr\u003e(–3.5%) | 1339\u003cbr\u003e(–7.4%) | n/a | ***1267\u003cbr\u003e(–12.3%)*** | 1384\u003cbr\u003e(–4.2%) | 1396\u003cbr\u003e(–3.4%) |\n| [French Tech](https://lafrenchtech.gouv.fr/) | 156 | 130\u003cbr\u003e(–17%) | 125\u003cbr\u003e(–20%) | 130\u003cbr\u003e(–16.5%) | ***55\u003cbr\u003e(–65.1%)*** | 129\u003cbr\u003e(–17.6%) | 136\u003cbr\u003e(–13.2%) |\n| [Front-End Social](https://front-end.social/) | 36 | 34\u003cbr\u003e(–3.7%) | ***31\u003cbr\u003e(–13.9%)*** | 35\u003cbr\u003e(–3.1%) | 31\u003cbr\u003e(–13.8%) | 34\u003cbr\u003e(–5.6%) | 35\u003cbr\u003e(–3.1%) |\n| [Frontend Dogma](https://frontenddogma.com/) | 219 | 227\u003cbr\u003e(+3.7%) | ***211\u003cbr\u003e(–3.5%)*** | 218\u003cbr\u003e(–0.2%) | 224\u003cbr\u003e(+2.3%) | 218\u003cbr\u003e(0%) | 237\u003cbr\u003e(+8.4%) |\n| [Google](https://www.google.com/) | 78 | 74\u003cbr\u003e(–5%) | 73\u003cbr\u003e(–5.8%) | 77\u003cbr\u003e(–0.8%) | ***62\u003cbr\u003e(–20%)*** | 75\u003cbr\u003e(–3.7%) | 78\u003cbr\u003e(–0.3%) |\n| [Ground News](https://ground.news/) | 1511 | 1418\u003cbr\u003e(–6.1%) | ***1344\u003cbr\u003e(–11.1%)*** | n/a | 1393\u003cbr\u003e(–7.8%) | 1416\u003cbr\u003e(–6.3%) | 1498\u003cbr\u003e(–0.9%) |\n| [HTML 3.2](https://www.w3.org/TR/2018/SPSD-html32-20180315/) | 123 | 119\u003cbr\u003e(–3.1%) | ***118\u003cbr\u003e(–3.4%)*** | 121\u003cbr\u003e(–1.3%) | 123\u003cbr\u003e(+0.7%) | 119\u003cbr\u003e(–3.3%) | 123\u003cbr\u003e(+0.5%) |\n| [HTML Living Standard](https://html.spec.whatwg.org/multipage/) | 149 | 152\u003cbr\u003e(+1.8%) | ***148\u003cbr\u003e(–0.7%)*** | 149\u003cbr\u003e(–0.3%) | 153\u003cbr\u003e(+2.5%) | 149\u003cbr\u003e(–0.3%) | 155\u003cbr\u003e(+3.8%) |\n| [IETF](https://www.ietf.org/) | 83 | 34\u003cbr\u003e(–58.8%) | ***32\u003cbr\u003e(–61.5%)*** | 35\u003cbr\u003e(–58.2%) | 33\u003cbr\u003e(–59.9%) | 33\u003cbr\u003e(–59.7%) | 34\u003cbr\u003e(–58.5%) |\n| [Igalia](https://www.igalia.com/) | 49 | 37\u003cbr\u003e(–25%) | ***34\u003cbr\u003e(–31.3%)*** | 37\u003cbr\u003e(–25.5%) | 36\u003cbr\u003e(–27.7%) | 36\u003cbr\u003e(–26.9%) | 37\u003cbr\u003e(–25.1%) |\n| [Ladybird](https://ladybird.org/) | 24 | 23\u003cbr\u003e(–4.6%) | ***22\u003cbr\u003e(–8.7%)*** | 23\u003cbr\u003e(–5.5%) | 22\u003cbr\u003e(–7.7%) | 23\u003cbr\u003e(–6.6%) | 23\u003cbr\u003e(–5.6%) |\n| [Leanpub](https://leanpub.com/) | 343 | 328\u003cbr\u003e(–4.2%) | ***313\u003cbr\u003e(–8.6%)*** | n/a | 319\u003cbr\u003e(–6.8%) | 326\u003cbr\u003e(–5%) | 337\u003cbr\u003e(–1.7%) |\n| [Legge Stanca](https://www.gazzettaufficiale.it/atto/serie_generale/caricaDettaglioAtto/originario?atto.dataPubblicazioneGazzetta=2004-01-17\u0026atto.codiceRedazionale=004G0015\u0026elenco30giorni=false) | 17 | 10\u003cbr\u003e(–43.8%) | ***9\u003cbr\u003e(–46.5%)*** | 10\u003cbr\u003e(–42.7%) | 9\u003cbr\u003e(–46.5%) | 10\u003cbr\u003e(–40.5%) | 12\u003cbr\u003e(–27.5%) |\n| [Mastodon](https://mastodon.social/explore) | 34 | 32\u003cbr\u003e(–4.9%) | ***29\u003cbr\u003e(–15.2%)*** | 33\u003cbr\u003e(–3.3%) | 29\u003cbr\u003e(–15.1%) | 32\u003cbr\u003e(–5.7%) | 33\u003cbr\u003e(–3.1%) |\n| [MDN](https://developer.mozilla.org/en-US/) | 110 | 67\u003cbr\u003e(–39.2%) | 63\u003cbr\u003e(–42.8%) | 68\u003cbr\u003e(–37.8%) | ***51\u003cbr\u003e(–53.9%)*** | 65\u003cbr\u003e(–40.5%) | 68\u003cbr\u003e(–38.2%) |\n| [Mistral AI](https://mistral.ai/) | 349 | 317\u003cbr\u003e(–9.2%) | ***301\u003cbr\u003e(–13.8%)*** | n/a | 309\u003cbr\u003e(–11.7%) | 316\u003cbr\u003e(–9.6%) | 346\u003cbr\u003e(–1.1%) |\n| [Mondoweiss](https://mondoweiss.net/) | 406 | 382\u003cbr\u003e(–5.8%) | 369\u003cbr\u003e(–8.9%) | n/a | ***363\u003cbr\u003e(–10.4%)*** | 378\u003cbr\u003e(–6.9%) | 392\u003cbr\u003e(–3.4%) |\n| [Mozilla](https://www.mozilla.org/) | 47 | 37\u003cbr\u003e(–21%) | ***33\u003cbr\u003e(–30.4%)*** | 37\u003cbr\u003e(–22.2%) | 33\u003cbr\u003e(–29.5%) | 35\u003cbr\u003e(–26.1%) | 36\u003cbr\u003e(–23.1%) |\n| [Nielsen Norman Group](https://www.nngroup.com/) | 102 | 84\u003cbr\u003e(–17.2%) | ***60\u003cbr\u003e(–41.2%)*** | 85\u003cbr\u003e(–16.7%) | 61\u003cbr\u003e(–40.5%) | 84\u003cbr\u003e(–17.8%) | 86\u003cbr\u003e(–15.7%) |\n| [Opera](https://www.opera.com/) | 231 | 173\u003cbr\u003e(–25%) | 147\u003cbr\u003e(–36.5%) | 176\u003cbr\u003e(–23.9%) | ***109\u003cbr\u003e(–52.7%)*** | 170\u003cbr\u003e(–26.3%) | 177\u003cbr\u003e(–23.5%) |\n| [OSCE](https://www.osce.org/) | 173 | 145\u003cbr\u003e(–16%) | ***136\u003cbr\u003e(–21.3%)*** | 145\u003cbr\u003e(–15.9%) | 137\u003cbr\u003e(–20.7%) | 143\u003cbr\u003e(–17.4%) | 145\u003cbr\u003e(–15.7%) |\n| [Scrum Guide](https://scrumguides.org/scrum-guide.html) | 34 | 31\u003cbr\u003e(–9%) | ***31\u003cbr\u003e(–10.4%)*** | 32\u003cbr\u003e(–7.3%) | 31\u003cbr\u003e(–8.3%) | 31\u003cbr\u003e(–10.1%) | 31\u003cbr\u003e(–7.8%) |\n| [Scrum.org](https://www.scrum.org/) | 209 | 179\u003cbr\u003e(–14.5%) | ***174\u003cbr\u003e(–16.8%)*** | 178\u003cbr\u003e(–14.9%) | 175\u003cbr\u003e(–16.5%) | 177\u003cbr\u003e(–15.3%) | 179\u003cbr\u003e(–14.7%) |\n| [SELFHTML](https://wiki.selfhtml.org/) | 21 | 18\u003cbr\u003e(–14.1%) | ***17\u003cbr\u003e(–19%)*** | 18\u003cbr\u003e(–14.3%) | 18\u003cbr\u003e(–15.8%) | 18\u003cbr\u003e(–17.5%) | 18\u003cbr\u003e(–14.1%) |\n| [SitePoint](https://www.sitepoint.com/) | 235 | 224\u003cbr\u003e(–5%) | ***211\u003cbr\u003e(–10.5%)*** | 233\u003cbr\u003e(–1%) | 212\u003cbr\u003e(–9.9%) | 224\u003cbr\u003e(–4.8%) | 234\u003cbr\u003e(–0.7%) |\n| [Smashing Magazine](https://www.smashingmagazine.com/) | 280 | 280\u003cbr\u003e(–0.3%) | 276\u003cbr\u003e(–1.4%) | 280\u003cbr\u003e(–0.1%) | ***266\u003cbr\u003e(–5%)*** | 278\u003cbr\u003e(–0.9%) | 280\u003cbr\u003e(0%) |\n| [Startup-Verband](https://startupverband.de/) | 44 | 33\u003cbr\u003e(–26.3%) | ***31\u003cbr\u003e(–30.7%)*** | 33\u003cbr\u003e(–26.7%) | 32\u003cbr\u003e(–28.7%) | 32\u003cbr\u003e(–28.3%) | 33\u003cbr\u003e(–26.3%) |\n| [TAZ](https://taz.de/) | 450 | 406\u003cbr\u003e(–9.8%) | ***380\u003cbr\u003e(–15.6%)*** | n/a | 395\u003cbr\u003e(–12.1%) | 405\u003cbr\u003e(–10%) | 418\u003cbr\u003e(–7.2%) |\n| [TetraLogical](https://tetralogical.com/) | 60 | 54\u003cbr\u003e(–10.2%) | ***50\u003cbr\u003e(–16.9%)*** | 54\u003cbr\u003e(–9.9%) | 50\u003cbr\u003e(–16.5%) | 54\u003cbr\u003e(–10.5%) | 54\u003cbr\u003e(–9.7%) |\n| [TPGi](https://www.tpgi.com/) | 181 | 136\u003cbr\u003e(–24.9%) | 132\u003cbr\u003e(–26.6%) | 142\u003cbr\u003e(–21.6%) | ***117\u003cbr\u003e(–35.3%)*** | 141\u003cbr\u003e(–21.9%) | 166\u003cbr\u003e(–8.3%) |\n| [United Nations](https://www.un.org/en/) | 152 | 128\u003cbr\u003e(–16.1%) | 114\u003cbr\u003e(–25.4%) | 124\u003cbr\u003e(–18.5%) | ***85\u003cbr\u003e(–43.9%)*** | 126\u003cbr\u003e(–17.6%) | 131\u003cbr\u003e(–13.9%) |\n| [UX Collective](https://uxdesign.cc/) | 97 | 90\u003cbr\u003e(–7.1%) | ***88\u003cbr\u003e(–9.5%)*** | 92\u003cbr\u003e(–5.1%) | 88\u003cbr\u003e(–8.9%) | 89\u003cbr\u003e(–7.8%) | 96\u003cbr\u003e(–0.9%) |\n| [Vivaldi](https://vivaldi.com/) | 91 | 80\u003cbr\u003e(–12.1%) | 73\u003cbr\u003e(–20.1%) | 81\u003cbr\u003e(–11.2%) | ***67\u003cbr\u003e(–25.7%)*** | 79\u003cbr\u003e(–12.7%) | 82\u003cbr\u003e(–9.4%) |\n| [W3C](https://www.w3.org/) | 50 | 39\u003cbr\u003e(–22.6%) | ***36\u003cbr\u003e(–28.9%)*** | 39\u003cbr\u003e(–23%) | 36\u003cbr\u003e(–27.5%) | 38\u003cbr\u003e(–24.3%) | 41\u003cbr\u003e(–19.1%) |\n| [WordPress Blog](https://wordpress.com/blog/) | 201 | 164\u003cbr\u003e(–18%) | 155\u003cbr\u003e(–22.7%) | 174\u003cbr\u003e(–13.2%) | ***138\u003cbr\u003e(–31.2%)*** | 172\u003cbr\u003e(–14.5%) | 187\u003cbr\u003e(–6.7%) |\n| **Sites processed (of sites overall)** |  | 48/48 | 48/48 | 38/48 | 48/48 | 48/48 | 48/48 |\n| **Average processing time** |  | 35 ms | 62 ms | 1290 ms | 156 ms | ***11 ms*** | 189 ms |\n| **Average result (KB)** | 374 | 340\u003cbr\u003e(–9%) | 326\u003cbr\u003e(–13%) | 361\u003cbr\u003e(–3.5%) | ***323\u003cbr\u003e(–13.7%)*** | 337\u003cbr\u003e(–9.9%) | 347\u003cbr\u003e(–7.2%) |\n\nBenchmarks last updated: Apr 4, 2026\n\u003c!-- End auto-generated --\u003e\n\n## Notes\n\n* Minifiers:\n  - htmlcompressor.com incorrectly converts no-break spaces to spaces which can give an impression of greater effectiveness (last confirmed Apr 4, 2026).\n  - minify-html “invalidates” markup, notably by removing spaces in doctypes (`\u003c!doctypehtml\u003e`) (last confirmed Apr 4, 2026).\n  - Minimize only minifies HTML.\n  - [HTML Minifier Terser](https://github.com/terser/html-minifier-terser) is currently not included due to issues around whitespace collapsing and removal of code using modern CSS features, issues which appeared to distort the data.\n* Calculation:\n  - Calculations are done based on bytes, which are used to compare effectiveness.\n  - Failed sites are not excluded from the calculation for the average result, but counted as unminified. This avoids test failures advantaging the respective minifier.\n* Benchmarks are currently run manually (on a 2024 Apple Mac Mini) but may be automated in the future.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj9t%2Fminifier-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj9t%2Fminifier-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj9t%2Fminifier-benchmarks/lists"}