Polkadot Utilities
This page provides interactive utilities for common Polkadot-SDK-based development tasks. Tools are powered by the @polkadot/util, @polkadot/util-crypto, and @polkadot/keyring libraries and run entirely in your browser.
Encoding & Decoding
Section titled “Encoding & Decoding”Convert between strings, numbers, byte arrays, and their hexadecimal representations. Bidirectional tools update both fields in real time as you type.
Hashing
Section titled “Hashing”Hash arbitrary inputs using Blake2 and XXHash — the two hashing algorithms used throughout the Polkadot SDK for storage key derivation and other primitives. The concat variants append the original input to the hash output, matching the Blake2_128Concat and Twox64Concat storage hashers.
Address Utilities
Section titled “Address Utilities”Derive, convert, and re-encode Polkadot addresses. These tools cover the full range of address types used in the Polkadot ecosystem — from standard SS58 addresses and Ethereum-compatible addresses to pallet module accounts, sovereign accounts for parachains, and derived sub-accounts.
Convert addresses between Ethereum (EVM) and Polkadot (SS58) formats. Use the network selector to target a specific chain's SS58 prefix. When converting SS58 → ETH, check the box to confirm the account was originally mapped from an Ethereum key.
Asset ID to ERC20 Address
Section titled “Asset ID to ERC20 Address”Derive the ERC20 precompile address for a given asset ID. This is the address your smart contract uses to interact with Polkadot Hub assets via the standard ERC20 interface.