loading prices...
prices by coingecko
onchain.search tools/free · no sign-up/links/about

home / ethereum / contract-size-checkerlocal

Smart Contract Size Checker (24 KB Limit)

Check bytecode against the 24,576-byte contract size limit (EIP-170) and the 49,152-byte initcode limit (EIP-3860).

contract-size-checkerready · 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

Ethereum refuses to deploy runtime code over 24,576 bytes, and creation code over 49,152 bytes. Paste bytecode from your build output or from a block explorer to see how close you are.

02 // how to use it

  1. Paste the bytecode, with or without 0x.
  2. Press Run.
  3. If you are over the limit, split logic into libraries or separate contracts.

03 // faq

Runtime or creation code?

The 24 KB limit is on the deployed (runtime) code. The 48 KB limit is on the creation code sent in the deploy transaction.

Do other chains use the same limit?

Most EVM chains do, but some raise it. Check the chain's docs.

04 // related tools

all 43 ethereum tools →