Skip to content
David Reed edited this page Nov 20, 2026 · 6 revisions

estrogen is a post-build web obfuscator. It takes a directory a bundler already produced and rewrites the JS, HTML and SVG in place: string and template literals into an encrypted per-file pool, proxy and store names into per-build substitutes, and embedded wasm names to match. It leaves no sensitive plaintext from the canary list, and it does not change what the code does.

It is written in Rust on OXC and published to npm as @sysce/estrogen. The binary is estrogen.

estrogen raises the cost of reading a build. It does not make the build secret. A decoder key ships in each file, and anyone with devtools can run the code. See Security and limits.

Try it in your browser at estro.help: the real engine compiled to WebAssembly, running locally on what you paste. Nothing is uploaded, and the same limit holds, the output is not secret.

Pages

  • Install: the npm package and the per-target binaries.
  • CLI: every flag, exit codes, the fail-closed rule.
  • Node API: obfuscate(), the esbuild, rsbuild, Vite and Rollup plugins, the Astro integration, the options object, the Report shape.
  • Rust API: the estrogen-core public surface.
  • Configuration: the TOML config file.
  • esbuild, rsbuild, Vite, Rollup, Astro: wiring estrogen into a build.
  • Source maps: the default-off behavior and the edge backstop.
  • Security and limits: what estrogen does and does not do.
  • Contributing: build from source, run tests, the milestone approach.

Clone this wiki locally