Is there a decompiler that will convert Solidity byte code back into source code? I am wondering how to verify code of contracts that are published to the blockchain.

  • Please also take care to ask a single question :) 2nd question is answered here
    – eth
    May 19, 2016 at 20:36

1 Answer 1


There is no decompiler to Solidity. This is in principle possible to some degree, but for example variable names will be lost and great effort will be necessary to make it look similar to the original source code.

Bytecode can be decompiled to opcodes, a service that is provided by several blockchain explorers.

Contracts on the blockchain should have their original source code published if they are to be used by third parties.

Retrieved from: http://solidity.readthedocs.io/en/latest/frequently-asked-questions.html

  • This is no longer accurate, please refer to duplicate question link in comment on original question above.
    – pfrank
    Aug 28, 2017 at 1:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.