home / ethereum / rlp-encoder-decoderlocal
RLP Encoder and Decoder
Decode Ethereum RLP hex into a readable tree, or encode JSON lists, numbers and strings as RLP.
rlp-encoder-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
RLP is how Ethereum packs transactions, blocks and other data into bytes. Decode shows each item as hex with the text or number it may stand for. Encode takes JSON: numbers become whole numbers, "0x..." strings raw bytes, other strings text, and arrays lists.
02 // how to use it
- Choose decode or encode.
- Paste RLP hex, or JSON such as ["cat","dog"].
- Press Run.
03 // faq
How do I encode a big number?
Write it as a hex string, for example "0x0de0b6b3a7640000" for 10^18.
Can I decode a signed transaction?
Yes, but the raw transaction decoder labels the fields for you.