Software Alternatives, Accelerators & Startups

Terser VS esbuild

Compare Terser VS esbuild and see what are their differences

Terser logo Terser

JavaScript parser, mangler, optimizer and beautifier toolkit for ES6+

esbuild logo esbuild

An extremely fast JavaScript bundler and minifier
  • Terser Landing page
    Landing page //
    2023-09-25
  • esbuild Landing page
    Landing page //
    2024-05-07

Terser videos

No Terser videos yet. You could help us improve this page by suggesting one.

+ Add video

esbuild videos

ESBuild and SWC: Worth your time?

More videos:

  • Review - Let's talk about esbuild
  • Tutorial - Introduction to ESBuild tutorial for React / JavaScript and Typescript bundling. Bye bye Webpack

Category Popularity

0-100% (relative to Terser and esbuild)
Web Application Bundler
43 43%
57% 57
JS Build Tools
0 0%
100% 100
Monitoring Tools
100 100%
0% 0
Developer Tools
16 16%
84% 84

User comments

Share your experience with using Terser and esbuild. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, esbuild should be more popular than Terser. It has been mentiond 124 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Terser mentions (13)

  • 10 Bad Habits That Can Slow Down Your JavaScript Applications 🐌
    Example: You've got a main.js file that's as long as a Tolstoy novel. Fix: Use tools like UglifyJS or Terser to minify your code. They'll squeeze out all the unnecessary bits and give you a sleeker, faster-loading file. - Source: dev.to / 7 months ago
  • Things you forgot because of React
    They can do it, it is just turned off by default and require more advanced configuration. https://github.com/terser/terser#cli-mangling-property-names.... - Source: Hacker News / 10 months ago
  • Understanding Source Maps: Simplifying Debugging
    Minifying is a common practice for optimizing production code. (for example, using Terser to minify and mangle JavaScript). - Source: dev.to / 11 months ago
  • Minify private methods in a TypeScript class
    Terser is JavaScript compressor that can minified specific method names. - Source: dev.to / over 1 year ago
  • React Native CI/CD build speed improved by 22% with one line of code
    Every release build of React Native uses terser to reduce the size of your JavaScript. And it operation can be omitted for Staging/Beta builds. - Source: dev.to / over 1 year ago
View more

esbuild mentions (124)

  • How to Start & Setup a React project in 2024 (7 Different Ways Based on Use Cases)
    Vite is currently the best build tool for bundling Front-end applications. It's so fast because it uses esbuild under the hood. Vite hot reload is the fastest among other development tools I have used. - Source: dev.to / 6 days ago
  • Rustify your JavaScript tooling
    A big part of my work revolves around JavaScript tooling, and as such it's important to keep an eye on the ecosystem and see where things are going. It's no secret that recently lots of projects are native-ying (??) parts of their codebase, or even rewriting them to native languages altogether. Esbuild is one of the first popular and successful examples of this, which was written in Go. Other examples are Rspack... - Source: dev.to / 7 days ago
  • Exploring Angular 17 and Beyond: Major Enhancements, Latest Updates, Migration Strategies, and Future Outlook
    Angular 17 introduces a significant performance boost by harnessing the capabilities of esbuild, a swift JavaScript bundler. This integration optimizes the build process, reducing build times and enhancing the overall performance of web applications developed with Angular. Developers can now expedite the application development cycle and deployment, leading to a more seamless development experience. - Source: dev.to / 10 days ago
  • How and why do we bundle zx?
    At first we wanted to just get rid of all the helper utilities. Keep only the kernel, but this would mean a loss of backward compatibility. We needed some efficient code processing instead with recomposition and tree-shaking. We needed a bundler. But which one? Our testing approach relies on targets, not sources. We rebuilt the project frequently, speed was critical requirement. In essence, we chose a solution... - Source: dev.to / 23 days ago
  • Use Notion as your CMS along with Next.js
    During my search for deploying Lambdas via GitHub actions, I came across a tutorial that utilized ncc for converting TypeScript and bundling. While ncc is effective, I discovered esbuild, which proved to be significantly faster and perfectly suited to my requirements. - Source: dev.to / about 2 months ago
View more

What are some alternatives?

When comparing Terser and esbuild, you can also consider the following products

JavaScript Obfuscator - JavaScript Obfuscator is a free online tool that obfuscates your source code, preventing it from being stolen and used without permission.

Vite - Next Generation Frontend Tooling

UglifyJS - JavaScript minifier, beautifier, mangler and parser toolkit.

Webpack - Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.

YUI Compressor - Yahoo JS/CSS Compressor

rollup.js - Rollup is a module bundler for JavaScript which compiles small pieces of code into a larger piece such as application.