loading prices...
prices by coingecko
onchain.search tools/local · 0 uploads/links/about

home / ethereum / revert-reason-decoderlocal

Revert Reason and Custom Error Decoder

Decode why a transaction reverted: Error(string) messages, Panic codes like 0x11 overflow, and custom error selectors.

revert-reason-decoderready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

ethereum tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

When a call reverts, the node returns data explaining why. It is either a string message, a numbered Panic from Solidity's checks, or a custom error identified by a 4-byte selector. This decodes all three.

02 // how to use it

  1. Paste the revert data from the error, your wallet or a trace.
  2. For custom errors, paste the error signatures from the contract's source or ABI.
  3. Press Run.

03 // faq

What does Panic 0x11 mean?

An arithmetic overflow or underflow, checked automatically since Solidity 0.8.

Why is my revert data empty?

The code reverted with no message, or the call ran out of gas.

04 // related tools

all 43 ethereum tools →