Hex to Decimal Converter
EVM JSON-RPC returns integers hex-encoded with a 0x prefix. This converter turns those hex strings into base-10 decimals so you can read block numbers, gas amounts and wei balances at a glance. It runs entirely in your browser with no API key and no network call.
Enter a non-negative integer. Hex is prefixed 0x; parsing accepts values of any size.
すべてブラウザ内で実行されます。API キー不要、データはこのページから出ません。
Why RPC responses are hex
Ethereum and other EVM chains encode quantities as hexadecimal strings prefixed with 0x. A block number like 0x11a4c78, a gas value like 0x5208, or a wei balance are all returned this way. Hex to decimal conversion is the first step to making these values human-readable. Because balances in wei can exceed 2^53, treat them as big integers rather than JavaScript numbers to avoid precision loss.
Reading 0x5208
The canonical example is 0x5208, which converts to 21000, the exact gas cost of a plain ETH transfer. Seeing 0x5208 in a transaction's gas field tells you it is a simple value transfer with no contract call.
よくある質問
Do I need to strip the 0x prefix first?
No. Paste the value with or without the leading 0x; the converter handles both. The 0x is just a marker that the digits are hexadecimal.
Is my data sent anywhere?
No. The conversion happens entirely in your browser using local arithmetic. Nothing is uploaded and no API key is required.
関連ツール
チャージして、キーを取得し、リリース。
セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。
APIキーを取得