Self-hosted service
decompiler-explorer/decompiler-explorer avatar
decompiler-explorer/decompiler-explorer

Decompiler Explorer: comparing decompilers in the browser

Decompiler Explorer! Compare tools on the forefront of static analysis, now in your web browser!

2,733 stars233 forksPythonMIT

At a glance

What is it?
Decompiler Explorer is a self-hosted web front end that runs several decompilers on the same small executable so you can compare their output side by side. Here is how it is put together, how to start it, and where it stops being the right tool.
Who is it for?
Decompiler Explorer is for reverse engineers, malware analysts and compiler or security researchers who already have Docker and want to see several decompilers' output for the same small executable without installing each tool. It is not for someone who wants to decompile a large binary in a browser tab with no setup: the README points at dogbolt.org for that, and the project expects you to build the decompiler runners yourself.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 6 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • decompiler-explorer/decompiler-explorer2,733 ★ · +43
Star history
Repository2026-09-292026-11-24
decompiler-explorer/decompiler-explorer2.7k2.7k

43 Stars in the last 56 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What problem does Decompiler Explorer solve?

Decompilers disagree. Give Ghidra, angr and RetDec the same small binary and you get three different reconstructions of the original source, each with its own wrong guesses about types, variable names and control flow. The usual way to find out which one is closest is to install each tool, run it, and copy the output into a text file for comparison. Decompiler Explorer removes that loop. The README describes it as a web front end to a number of decompilers, and says the service lets you compare the output of different decompilers on small executables. The project itself frames the idea as Compiler Explorer in reverse: Matt Godbolt's site shows what many compilers do with one piece of source, and this one shows what many decompilers do with one binary.

The audience follows from the constraint. The README says small executables, and the docker-compose file sets a default decompiler timeout of 120 seconds with an extended timeout of 900 seconds and a memory limit of 10000000000 bytes. That is a real ceiling. A statically linked 200 MB binary is not what this is built for. Reverse engineers triaging a suspicious sample, researchers comparing how two decompilers handle a compiler optimisation, and students who want to see the same function recovered by several tools are the people this fits.

How the front end and the decompiler runners fit together

The repository splits into a Django application (decompiler_explorer/, explorer/, templates/, static/) and a runners/ directory that holds one container per decompiler. The top-level docker-compose.yml defines a shared decompiler configuration block: each runner gets an init process, the environment variables SERVER and DEBUG, membership in backend_net, and a command line carrying the timeout, extended timeout, memory limits and a worker_auth_token secret. The SERVER variable defaults to http://explorer:8000, which is how a runner knows where to send results back.

Traefik sits in front on ports 80 and 443, watching Docker Swarm for services and terminating TLS. The README's production commands pass an ACME email and a replica count, so certificate issuance is handled by the proxy rather than by the Django application. The application image itself is small: the Dockerfile installs libpq-dev, gcc, libc6-dev and curl on python:3.12-slim, syncs dependencies from Pipfile.lock with pipenv, and starts gunicorn with four workers bound to 0.0.0.0:8000. There is also a docker-compose.s3.yml, and the README shows production commands with --s3, --s3-bucket, --s3-endpoint and --s3-region, so artefacts can be stored in an S3 compatible backend instead of on the local disk.

The important architectural point is that the front end does not decompile anything. It queues work, and separate containers with their own toolchains do the analysis. That is why the README can tell you the plain dev server will not start any decompilers, just the frontend.

Installing Decompiler Explorer with pipenv and Docker

The README lists four prerequisites: python >= 3.8, pipenv, docker and docker-compose. Installation is two commands, and the second one initialises the project state.

bash
pipenv install
python scripts/dce.py init

The scripts/dce.py helper drives everything else. The README's development flow builds the decompilers, optionally excluding one, then starts the stack.

bash
python scripts/dce.py build
# If you want to exclude certain decompilers
# python scripts/dce.py --without-reko build

python scripts/dce.py start

The README states that the UI is then accessible on port 80/443. Note the comment attached to build: it says all decompilers with valid keys are built. Several of the supported tools are commercial, so a runner without a key will not come up, and the README does not enumerate which ones those are. For production the command grows a replica count and an ACME email address.

bash
python scripts/dce.py start --prod --replicas 2 --acme-email=<your email>

If you only want the Django front end, the README gives a Docker-free path: run the migrations, then the development server on port 8000. It explicitly warns that this starts no decompilers.

bash
pipenv run python manage.py migrate
pipenv run python manage.py runserver 0.0.0.0:8000

To attach one decompiler to that dev server, the README exports EXPLORER_URL and brings up a single service by name, using binja as the example.

bash
export EXPLORER_URL=http://172.17.0.1:8000

docker-compose up binja --build --force-recreate --remove-orphans

What you should see after a successful full start is the comparison UI on port 80 or 443, with a list of the decompilers whose runners actually started. If a tool is missing from that list, the runner failed to build or lacks credentials, not the front end.

The limits you hit once real binaries arrive

The default configuration is built around small inputs. The compose file caps each decompiler run at 120 seconds, with a 900 second extended timeout, and a hard and soft memory limit of 10000000000 bytes. Those numbers are defaults and the compose file exposes them as environment variables (DECOMPILER_TIMEOUT, DECOMPILER_EXTENDED_TIMEOUT, DECOMPILER_MEM_LIMIT_HARD, DECOMPILER_MEM_LIMIT_SOFT), so you can raise them, but you are then paying for it in host memory per concurrent run.

Licensing is the second wall. The README's build step builds decompilers with valid keys, which means the commercial tools in the runner set need credentials you have to supply. The README does not say how to provide them; it defers to runners/decompiler/tools/README.md, which is the document you have to read before you can predict what your build will contain.

Finally, this is a comparison tool, not an interactive reverse engineering environment. There is no debugger, no cross-reference graph, no patching, and no live disassembly view described anywhere in the README. If your goal is to understand one binary deeply, a full disassembler is the better instrument. Decompiler Explorer is for the narrower question of which decompiler handles this code best.

Decompiler Explorer compared with hosted decompiler sites

The obvious alternative is a hosted decompilation service: upload a binary, get source back. The difference is not the decompiler, it is who runs it and what you are allowed to see. A hosted service typically gives you one engine and hides the configuration. Decompiler Explorer gives you several engines on the same input, side by side, and the README names the set it wraps: angr, Binary Ninja, Boomerang, Ghidra, IDA Pro, RecStudio, Reko, Relyze, RetDec and Snowman, which are also the repository's topics.

That combination has a cost. You supply Docker, disk space and the commercial licences, and you keep the binary on your own hardware, which for malware or client code is often the entire point. The public instance at dogbolt.org exists, and the README links it, but the project's own instructions are for running the stack yourself. If you want a single answer with no setup, a hosted site is less work. If you want to know why two tools disagree, or you cannot upload the sample, the self-hosted comparison is the one that answers the question.

Maintenance, licensing and upgrade cost

The repository is not archived and the last push was on 2026-09-22, so the codebase is being touched, but the README does not describe a release process, a versioning scheme, or a supported upgrade path between commits. The dependency situation is the part that ages: Pipfile.lock pins the Python side, while the decompiler runners pull their own toolchains, and each upstream decompiler moves on its own schedule. Expect a build to break when an upstream image or package changes, and expect to fix it in runners/ rather than in the Django app.

The project is MIT licensed, and LICENSE.txt is at the top level. That covers the code in this repository. It does not cover the decompilers, and several of the tools in the runner list are commercial products with their own terms. The README points to runners/decompiler/tools/README.md for setup, which is where the licence and credential questions for each backend actually live. Nothing here is legal advice; read that file and each vendor's terms before you build a runner.

Editorial conclusion

Decompiler Explorer is for reverse engineers, malware analysts and compiler or security researchers who already have Docker and want to see several decompilers' output for the same small executable without installing each tool. It is not for someone who wants to decompile a large binary in a browser tab with no setup: the README points at dogbolt.org for that, and the project expects you to build the decompiler runners yourself. Before adopting it, verify that the runner for the decompiler you care about has a valid key, because the README says only those are built by default, and check the runner README for the licence terms of the tool you enable. The practical first move is to run the init command, then build a single runner you actually need and watch it execute before you build the rest.

Frequently asked questions

Is it illegal to decompile software?

The README does not discuss the legality of decompilation, and nothing in the repository addresses it. What the README does say is that several of the supported decompilers are commercial tools that require valid keys before their runner is built.

What is a decompiler used for?

Decompiler Explorer is built around the answer to this: a decompiler reconstructs source-like output from a compiled executable, and the README's premise is that different decompilers produce different output for the same small binary, which is why the site shows them side by side.

What is the best decompiler?

The project does not rank them. It wraps angr, Binary Ninja, Boomerang, Ghidra, IDA Pro, RecStudio, Reko, Relyze, RetDec and Snowman and lets you compare their output on the same executable, which is the judgement the README leaves to you.

Official sources

  1. decompiler-explorer/decompiler-explorer on GitHub
  2. Issues
  3. License: MIT
  4. Project website
  5. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/decompiler-explorer-decompiler-explorer.svg)](https://hysenlabs.com/projects/decompiler-explorer-decompiler-explorer)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/decompiler-explorer-decompiler-explorer.svg)](https://hysenlabs.com/projects/decompiler-explorer-decompiler-explorer)

Was this useful?