Skip to content

Instantly share code, notes, and snippets.

@lewdev
Last active July 9, 2026 22:16
Show Gist options
  • Select an option

  • Save lewdev/58a1da1ccff43cbb87b2e101443db158 to your computer and use it in GitHub Desktop.

Select an option

Save lewdev/58a1da1ccff43cbb87b2e101443db158 to your computer and use it in GitHub Desktop.
🀏 Code Minifying Golfing Tools & Resources

🀏 Code Minifying Golfing Tools & Resources

Roadroller

https://lifthrasiir.github.io/roadroller/

Compresses JavaScript very effectively.

πŸ“· CapJS

Great for writing dweets and canvas code but also provides useful tools to make you code smaller.

https://capjs.3d2k.com/

Features:

  • Minify or Compress
  • Beautify (JS formatter)
  • Capture (export video of canvas animation)

Minifying code tools by xem

JS1024 (js1024.fun) links

Slideshow explaining Extreme Javascript minification - compression experiments

Works Online

  • Terser-online - a live version of the Terser ES6+ minifier, with extra compression options because every byte counts
  • Closure Compiler - compile your code (iblogbox)
  • Try Terser - a live version of the Terser ES6+ minifier
  • JavaScript Minifier - minify your JavaScript
  • babeljs - JS (ES2015/2016/2017) minifier based on Babili, choose your flavor in the "presets" dropdown
  • Roadroller - Flattens Your JavaScript Demo
  • Minify - a JavaScript and CSS minifier
  • JSCompress - a compression tool for javascript
  • ZPNG Minifier - in-browser jsExe, a tool that converts JS code into a compressed PNG file

Install to run on Commandline

  • RegPack - self-contained packer for size-constrained JS code
  • UglifyJS - JavaScript parser / mangler / compressor / beautifier

Utilities

  • int2binary2html - helps you to encode a long list of integers (0-255) in binary and embed it in your index.html

GLSL shader minifiers

Broken

  • Packer - JavaScript compressor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment