Ripple Base58 is the address encoding of the XRP Ledger. It shares Base58’s human-friendly 58-character set but uses a unique ordering, and real addresses are wrapped in Base58Check, which adds a four-byte checksum for typo protection. This tool encodes hex payloads to Ripple Base58 and decodes them back, verifying the checksum, entirely in your browser.
How it works
The encoder combines big-integer base conversion with an optional integrity check:
- The hex payload is parsed into raw bytes.
- In Base58Check mode, the payload is hashed with SHA-256, that digest is hashed with SHA-256 again, and the first four bytes of the result are appended as a checksum.
- The bytes are treated as one big-endian integer and converted to base 58 against Ripple’s dictionary
rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz, with leading zero bytes encoded as the leading symbolr.
Decoding reverses the conversion, then — in Base58Check mode — splits off the last four bytes, recomputes the double-SHA-256 checksum over the remaining payload, and confirms they match before returning the payload.
Tips and example
The double SHA-256 is what guards against transcription errors: change one character of a valid address and the recomputed checksum will almost certainly differ, so the tool reports a mismatch instead of handing back corrupt bytes. Use Raw mode when you only want the underlying base-58 conversion without a checksum — for example to inspect how a specific byte sequence maps into Ripple’s alphabet. Note that you supply the version-prefixed payload yourself; this tool encodes exactly the bytes you give it.